Open System Services System Calls Reference Manual (G06.25+, H06.03+)
Files termios(4)
CSTOPB Specifies the number of stop bits. If set, two stop bits are sent; if
not set, only one stop bit is sent. Higher baud rates require two
stop bits. (At 110 baud, for example, 2 stop bits are required.)
CS5 Specifies a data byte of 5 bits. This value is ignored in the
current release.
CS6 Specifies a data byte of 6 bits. This value is ignored in the
current release.
CS7 Specifies a data byte of 7 bits.
CS8 Specifies a data byte of 8 bits.
HUPCL Hangs up on last close. If set, the line is disconnected when the
last process closes the line or when the process terminates (when
the "data terminal ready" signal drops).
PARENB Enable parity detection. Not supported in the current release.
PARODD Specifies odd parity if set or even parity if not set. Not sup-
ported in the current release.
The initial hardware control value after an open is CS8, CREAD, and HUPCL.
c_lflag Controls various terminal functions. The initial value after an open is all bits
clear. In addition to the basic modes, this field uses the following mask name
symbols:
ECHO Enables echo. If set, characters are displayed on the terminal
screen as they are received.
ECHOE Echoes erase character as BS-SP-BS.IfECHOE is set but
ECHO is not set, the erase character is implemented as ASCII
SP-BS.
ECHOK Echoes NL after kill.
ECHONL Echoes NL.IfECHONL is set, the line is cleared when a new-
line function is performed whether or not ECHO is set. This is
useful for terminals that are set to local echo (also referred to as
half-duplex). Unless an escape character precedes an EOF, the
EOF character is not displayed. Because the ASCII EOT char-
acter is the default End-of-File character, this prevents terminals
that respond to the EOT character from hanging up.
ICANON Enables canonical input. If set, canonical processing is enabled,
which enables the erase and kill edit functions as well as the
assembly of input characters into lines delimited by NL, EOF,
and EOL.
If ICANON is not set, read requests are satisfied directly from
the input queue. In this case, a read request is not satisfied until
one of the following conditions is met: either the minimum
number of characters specified by MIN are received, or the
time-out value specified by TIME has expired since the last
character was received. This allows bursts of input to be read,
while still allowing single-character input. The MIN and TIME
values are stored in the positions for the EOF and EOL
527186-003 Hewlett-Packard Company 11−53