HP-UX Reference (11i v3 07/02) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

t
termio(7) termio(7)
The initial input control value is all bits clear.
Output Modes
The c_oflag field specifies the system treatment of output:
OPOST Postprocess output.
OLCUC Map lowercase to uppercase on output.
ONLCR Map NL to CR-NL on output.
OCRNL Map CR to NL on output.
ONOCR No CR output at column 0.
ONLRET NL performs CR function.
OFILL Use fill characters for delay.
OFDEL Fill is DEL, else NUL.
NLDLY Select new-line delays:
NL0 No delay
NL1 Delay type 1
CRDLY Select carriage-return delays:
CR0 No delay
CR1 Delay type 1
CR2 Delay type 2
CR3 Delay type 3
TABDLY Select horizontal-tab delays:
TAB0 No delay
TAB1 Delay type 1
TAB2 Delay type 2
TAB3 Expand tabs to spaces.
XTABS Expand tabs to spaces.
BSDLY Select backspace delays:
BS0 No delay
BS1 Delay type 1
VTDLY Select vertical-tab delays:
VT0 No delay
VT1 Delay type 1
FFDLY Select form-feed delays:
FF0 No delay
FF1 Delay type 1
If OPOST is set, output characters are post-processed as indicated by the remaining flags; otherwise char-
acters are transmitted without change.
If OLCUC is set, a lowercase alphabetic character is transmitted as the corresponding uppercase character.
This function is often used in conjunction with IUCLC.
If ONLCR is set, the NL character is transmitted as the CR-NL character pair. If OCRNL
is set, the CR
character is transmitted as the NL character. If
ONOCR is set, no CR character is transmitted when at
column 0 (first position). If ONLRET is set, the NL character is assumed to do the carriage-return func-
tion; the column pointer will be set to 0, and the delays specified for CR will be used. If
ONLRET is clear,
the NL character is assumed to perform only the line-feed function; the delays specified for NL are used
and the column pointer remains unchanged. For all of these cases, the column pointer is always set to 0 if
the CR character is actually transmitted.
The delay bits specify how long transmission stops to allow for mechanical or other movement when certain
characters are sent to the terminal. The values of
NL0, CR0, TAB0, BS0, VT0, and FF0 indicate no delay.
If OFILL is set, fill characters are transmitted for delay instead of a timed delay. This is useful for high
baud rate terminals, that need only a minimal delay. If OFDEL is set, the fill character is DEL; otherwise
NUL.
If a form-feed or vertical-tab delay is specified, it lasts for about 2 seconds.
New-line delay lasts about 0.10 seconds. If ONLRET is set, carriage-return delays are used instead of the
new-line delays. If OFILL is set, two fill characters are transmitted.
Carriage-return delay type 1 depends on the current column position; type 2 is about 0.10 seconds; type 3
about 0.15 seconds. If OFILL is set, delay type 1 transmits two fill characters; type 2, four fill characters.
Horizontal-tab delay type 1 is depends on the current column position. Type 2 is about 0.10 seconds; type 3
specifies that tabs are to be expanded into spaces. If OFILL is set, two fill characters are transmitted for
HP-UX 11i Version 3: February 2007 9 Hewlett-Packard Company 217