[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5

stty-cxma Command

Purpose

Sets and reports the terminal options for a TTY configuration of the 128-port asynchronous subsystem.

Syntax

stty-cxma-a ] [ -g ] [ Option(s) ] [ ttyName ]

Description

If no flags or options are specified, the stty-cxma command reports all 128-port special driver settings and modem signals, as well as all standard parameters reported by the stty command for the tty device that is the current standard input.

The ttyName parameter can be specified to set or report options for a tty device for other than the standard input. The ttyName parameter can be a simple tty name, such as tty0, or can be prefixed by /dev/, such as /dev/tty0. This option may be used on a modem control line when no carrier is present.

Further options can be specified to change flow control settings, set transparent print options, force modem control lines, and display all tty settings. Unrecognized options are passed to the stty command for interpretation.

Flags

-a Writes all the unique 128-port settings as well as all the standard tty settings reported by stty -a to standard output.

-g Writes option settings to standard output in a form usable by another stty command.

Options

The following options specify transient actions to be performed immediately:

break Sends a 250 MS break signal out on the tty line.
flush Discards tty input and output immediately.
flushin Discards tty input only.
flushout Discards tty output only.

The actions specified by the following options are in effect until the device is closed. The next time the device is opened, default values are used.

dtr Raises the DTR modem control line, unless DTR hardware flow control is selected.
-dtr Drops the DTR modem control line, unless DTR hardware flow control is selected.
rts Raises the RTS modem control line, unless RTS hardware flow control is selected.
-rts Drops the RTS modem control line, unless RTS hardware flow control is selected.
startin Releases flows control to resume stopped input.
startout Restarts stopped output exactly as if an XON character was received.
stopin Activates flow control to stop input.
stopout Stops output exactly as if an XOFF character was received.
2200flow Enables 2200 style flow control on the port. The 2200 terminals support an attached printer and use the following four flow control characters:
0xF8
terminal XON
0xF9
printer XON
0xFA
terminal XOFF
0xFB
printer XOFF
-2200flow Disables 2200 style flow control on the port.
2200print Runs flow control for the terminal and flow control for the transparent print device (as set by the 2200flow option) independently.
-2200print Runs terminal and printer flow control (as set by the 2200flow option) together. So if either the terminal or the printer XOFF character is received, all output is paused until the matching XON character is received.
altpin Switches the location of the DSR and DCD inputs on the modular connector, so that DCD is available when using an 8-pin RJ45 connector instead of the 10-pin RJ45 connector.
-altpin Restores the availability of DSR when using the 10-pin RJ45 connector.
aixon Enables auxiliary flow control, so that two unique characters are used for XON and XOFF. If both XOFF characters are received, transmission will not resume until both XON characters are received.
-aixon Disables auxiliary flow control.
astartc c Sets auxiliary XON flow control character. The character may be given as a decimal, octal, or hexadecimal number.
astopc c Sets auxiliary XOFF flow control character. The character may be given as a decimal, octal, or hexadecimal number.
bufsize n Sets the driver's estimate of the size of the transparent printer's input buffer. After a period of inactivity, the driver bursts this many characters to the transparent printer before reducing to the maximum CPS rate specified by the maxcps option rate selected above. The default value is 100 characters.
ctspace Enables CTS hardware output flow control, so local transmission pauses when CTS drops.
-ctspace Disables CTS hardware output flow control.
dcdpace Enables DCD hardware output flow control, so local transmission pauses when DCD drops.
-dcdpace Disables DCD hardware output flow control.
dsrpace Enables DSR hardware output flow control, so local transmission pauses when DSR drops.
-dsrpace Disables DSR hardware output flow control.
dtrpace Enables DTR hardware input flow control, so DTR drops to pause remote transmission.
-dtrpace Disables DTR hardware input flow control.
edelay n Sets the rate at which the128-port asynchronous adapter wakes up the driver on input. The adapter wakes the driver every n milliseconds. The default value is 100 milliseconds.
fastbaud Alters the baud rate table, so 50 baud becomes 57600 baud.
-fastbaud Restores the baud rate table, so 57500 baud becomes 50 baud.
fastcook Performs cooked output processing on the128-port asynchronous adapter to reduce host CPU usage and increase raw mode input performance.
-fastcook Disables cooked output processing.
forcedcd Disables carrier sense, so the tty may be opened and used even when the carrier is not present.
-forcedcd Reenables carrier sense.
maxchar n Sets the maximum number of transparent print characters the driver places in the output queue. Reducing this number increases system overhead; increasing this number delays operator keystroke echo times when the transparent printer is in use. The default value is 50 characters.
maxcps n Sets the maximum CPS (characters per second) rate at which characters are output to the transparent print device. The rate chosen should be just below the average print speed. If the number is too low, printer speed is reduced. If the number is too high, the printer resorts to flow control, and user entry on the CRT is impaired accordingly. The default value is 100 CPS.
offstr s Sets the CRT escape sequence to turn transparent print off. An arbitrary octal character xxx may be given as \xxx.
onstr s Sets the CRT escape sequence to turn transparent print on. An arbitrary octal character xxx may be given as \xxx.
rtspace Enables RTS hardware input flow control, so RTS drops to pause remote transmission.
-rtspace Disables RTS hardware input flow control.
startc c Sets the XON flow control character. The character may be given as a decimal, octal, or hexadecimal number.
stopc c Sets the XOFF flow control character. The character may be given as a decimal, octal, or hexadecimal number.
term t Sets the transparent printer on and off strings to values specified in the internal default table. Internal defaults are used for the following terminals:adm31, ansi, dg200, dg210, hz1500, mc5, microterm, multiterm, pcterm, tvi, vp-a2, vp-60, vt52, vt100, vt220, wyse30, wyse50, wyse60, or wyse75. If the terminal type is not found in the internal default table, the transparent print on and off strings are set to the values specified by the po and pf attributes in the termcap file.

Examples

  1. To display all the unique 128-port settings as well as all the standard tty settings for a tty port configured on a 128-port asynchronous controller as /dev/tty0, enter:

    stty-cxma -a tty0
  2. To make DCD available when using an 8-pin RJ45 connector for a tty port configured on a 128-port asynchronous controller as /dev/tty3, enter:

    stty-cxma altpin tty3

    This command interchanges the location of the DSR and DCD inputs on the modular connector.

Files

/usr/ebin/tty/stty-cxma Contains the stty-cxma command.

Related Information

The stty command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]