Advanced Programming in the UNIX® Environment

(lily) #1
ptg10805159

Section 18.5 Te rminal Option Flags 689


IUTF8 (c_iflag,Linux, Mac OS X) Allow character erase processing to work
with UTF-8multibyte characters.
IXANY (c_iflag,POSIX.1, FreeBSD, Linux, Mac OS X, Solaris) Enable any
characters to restart output.
IXOFF (c_iflag,POSIX.1, FreeBSD, Linux, Mac OS X, Solaris) If set,
start–stop input control is enabled. When it notices that the input queue
is getting full, the terminal driver outputs a STOP character.This
character should be recognized by the device that is sending the data
and cause the device to stop. Later,when the characters on the input
queue have been processed, the terminal driver will output a START
character.This should cause the device to resume sending data.
IXON (c_iflag,POSIX.1, FreeBSD, Linux, Mac OS X, Solaris) If set,
start–stop output control is enabled. When the terminal driver receives
aSTOPcharacter,output stops. While the output is stopped, the next
STARTcharacter resumes the output. If this flag is not set, the START
and STOP characters areread by the process as normal characters.
MDMBUF (c_cflag,FreeBSD, Mac OS X) Flow control the output according to
the modem carrier flag. This is the old name for theCCAR_OFLOWflag.
NLDLY (c_oflag,XSI, Linux, Solaris) Newline delay mask. The values for the
mask areNL0orNL1.
NOFLSH (c_lflag,POSIX.1, FreeBSD, Linux, Mac OS X, Solaris) By default,
when the terminal driver generates theSIGINTandSIGQUITsignals,
both the input and output queues areflushed. Also, when it generates
theSIGSUSPsignal, the input queue is flushed. If theNOFLSHflag is
set, this normal flushing of the queues does not occur when these
signals aregenerated.
NOKERNINFO (c_lflag,FreeBSD, Mac OS X) When set, this flag prevents the
STATUS character from printing information on the foreground process
group. Regardless of whether this flag is set, however,the STATUS
character still causes theSIGINFOsignal to be sent to the foreground
process group.
OCRNL (c_oflag,XSI, FreeBSD, Linux, Solaris) If set, map CR to NL on
output.
OFDEL (c_oflag,XSI, Linux, Solaris) If set, the output fill character is ASCII
DEL; otherwise, it’s ASCII NUL. See theOFILLflag.
OFILL (c_oflag,XSI, Linux, Solaris) If set, fill characters (either ASCII DEL or
ASCII NUL; see theOFDELflag) aretransmitted for a delay,instead of
using a timed delay.See the six delay masks:BSDLY,CRDLY,FFDLY,
NLDLY,TABDLY,andVTDLY.
OLCUC (c_oflag,Linux, Solaris) If set, map lowercase characters to uppercase
characters on output.
Free download pdf