Configuring serial ports

Serial device node naming conventions

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(TM) and SCO 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)

 --------------------------------------------------------------------
| Equivalent device nodes|  Behavior and use                        |
|------------------------|------------------------------------------|
| /dev/term/0n           |  Software flow control (XON/XOFF)        |
| /dev/term/0ns          |  enabled.  Use when data integrity is not|
| /dev/tty0ns            |  crucial, for example, with mice.  The   |
| /dev/tty0n             |  modem control line, Data Carrier Detect |
|                        |  (DCD), is required to be asserted       |
|------------------------|------------------------------------------|
| /dev/term/0nh          |  Hardware flow control (RTS/CTS) enabled.|
| /dev/tty0nh            |  DCD is required to be asserted          |
|------------------------|------------------------------------------|
| /dev/term/0nm          |  Modem node. No flow control initially   |
| /dev/tty0nm            |  when opened.  DCD is required to be     |
| /dev/tty(n+1)A         |  asserted                                |
|------------------------|------------------------------------------|
| /dev/term/0nt          |  Terminal node. No flow control initially|
| /dev/tty0nt            |  when opened.  Allows ports to be opened |
| /dev/tty(n+1)a         |  without a DCD line.  Used with 3-wire   |
|                        |  serial connections (TD, RD and SG)      |
|------------------------|------------------------------------------|

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999