beautypg.com

Comtrol SCO OpenServer User Manual

Page 17

background image

Configuring Ports

17

SCO OpenServer

Enabling Ports

To enable a port, enter this command:

enable portname

Where portname is the device name as shown in the Device Names
table. For example, to enable Board 1, Port 0 for direct
communications, enter:

enable ttyr0a

For more information, see the online manual page for enable.

Disabling Ports

To disable a port, enter this command:

disable portname

Where portname is the device name as shown in the Device Names
table. For example, to disable Board 1, Port 0, enter:

disable ttyr0a

For more information, see the online manual page for disable.

Viewing Settings

To view the current tty settings for a port, enter this command:

stty -a < /dev/portname

For more information see the Troubleshooting beginning on page 32.

Hardware Flow Control

To enable hardware flow control for a port that has already been
enabled, cd to the /comtrol/rckt directory and enter this command:

rtscts -y /dev/portname

To disable hardware flow control, enter this command:

rtscts -n /dev/portname