### Setting TTY Device Options with stty-ncxa and chdev

With the stty-ncxa command, display attributes such as flow control settings, speed and transparent print settings can be configured for your Digi TTY devices. The stty-ncxa program is placed into the directory /usr/lbin/tty when RealPort is installed. This directory is not commonly set as a PATH variable. This means that the entire path has to be entered when using the command, or the directory has to be added to the PATH variable so the command can be entered without the path.

For information about stty-ncxa, see Setting TTY Options.

Note: Many of the same attributes that can be configured with stty-ncxa can be configured with smit. See Configuring a Device with smit.

The stty-ncxa command configures device attributes until the system is rebooted. Use a chdev command to permanently set device attributes.

chdev -l [tty#/lp#] -a [attribute]=[value]

where:

> [tty#/lp#] | is the name of the device to change
> [attribute] | is the attribute or option to set. This can be any stty-ncxa option.
> [value] | is the value assigned to the attribute