|
|
The serial device nodes are provided as a shortcut to assist applications in using the serial ports. They are equivalent to opening a port with open(2), and then calling ioctl(2) with the TCGET and TCSET (see termio(7)) commands to set the node behavior.
The behavior of serial device nodes in both SCO OpenServer and UnixWare are supported. The ttyna and ttynA nodes behave identically to the SCO OpenServer nodes.
Equivalent device nodes | Behavior and use |
---|---|
/dev/term/0n
/dev/term/0ns /dev/tty0ns /dev/tty0n | Software flow control (XON/XOFF) enabled. Use when data integrity is not crucial, for example, with mice. The modem control line, Data Carrier Detect (DCD), is required to be asserted |
/dev/term/0nh
/dev/tty0nh | Hardware flow control (RTS/CTS) enabled. DCD is required to be asserted |
/dev/term/0nm
/dev/tty0nm /dev/tty(n+1)A | Modem node. No flow control initially when opened. DCD is required to be asserted |
/dev/term/0nt
/dev/tty0nt /dev/tty(n+1)a | Terminal node. No flow control initially when opened. Allows ports to be opened without a DCD line. Used with 3-wire serial connections (TD, RD and SG) |