Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Files termios(4)
IXON Enables start and stop output control. If set, a received STOP
character suspends output and a received START character res-
tarts output. The START and STOP characters perform flow
control functions, but they are not read. This flag is initially set
by default.
PARMRK Marks parity errors. If set, a character with a framing or parity
error that is not ignored is read as the 3-character sequence
0377, 0, x, where the x variable is the data of the character
received in error. If the ISTRIP mode is not set, then a valid
character of 0377 is read as 0377, 0377 to avoid ambiguity. If
the PARMRK mode is not set, a framing or parity error that is
not ignored is read as the null character. This flag is initially not
set by default.
c_oflag Specifies how the system treats output. The possible output modes are as fol-
lows:
OCRNL Maps CR character to NL character during output. If set, map-
ping occurs; if not set, mapping does not occur. This flag is ini-
tially not set by default.
ONLCR Maps NL character to CR-NL character sequence during output.
If set, mapping occurs; if not set, mapping does not occur. This
flag is initially set by default.
ONLRET If set, the NL character performs the CR character function. If
not set, the NL character does not perform the CR character
function. This flag is initially not set by default.
ONOCR If set, no CR character is sent for the column 0 (zero) position.
If not set, the CR character is sent for the column 0 (zero) posi-
tion. This flag is initially not set by default.
OPOST If set, the remaining flag masks are interpreted as described; oth-
erwise, characters are transmitted without change. This flag is
initially set by default.
Setting ONLRET or ONLCR causes a terminal emulator to return the error
[EINVAL] for the tcsetattr() function call, so these flags are effectively not sup-
ported.
c_cflag Describes the hardware control of the terminal. In addition to the basic control
modes, this field uses the following control characters:
CLOCAL Specifies a local line. If set, the line is assumed to have a local,
direct connection with no modem control. If not set, modem con-
trol (dialup) is assumed.
CREAD Enables receiver. If set, the receiver is enabled. If not set, char-
acters are not received.
CSIZE Specifies the number of bits per character byte. The values of
CS7 and CS8 are recognized. The values of CS5 and CS6 are
ignored.
527186-023 Hewlett-Packard Company 1165