Open System Services System Calls Reference Manual (G06.25+, H06.03+)

termios(4) OSS System Calls Reference Manual
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 ow
control functions, but they are not read. This ag 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 ag is initially not
set by default.
c_oflag Species 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 ag 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
ag 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 ag 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 ag is initially not set by default.
OPOST If set, the remaining ag masks are interpreted as described; oth-
erwise, characters are transmitted without change. This ag 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 ags are effectively not sup-
ported.
c_cflag Describes the hardware control of the terminal. In addition to the basic control
modes, this eld uses the following control characters:
CLOCAL Species 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 Species the number of bits per character byte. The values of
CS7 and CS8 are recognized. The values of CS5 and CS6 are
ignored.
1152 Hewlett-Packard Company 527186-003