Technical data
termio(7I) Ioctl Requests SunOS 5.5
EOL,orEOL2 character.
REPRINT (CTRL-R or ASCII DC2) reprints all characters, preceded by a newline,
that have not been read.
EOF (CTRL-D or ASCII EOT) may be used to generate an end-of-file from a ter-
minal. When received, all the characters waiting to be read are immedi-
ately passed to the program, without waiting for a newline, and theEOF
is discarded. Thus, if no characters are waiting (that is, theEOF occurred
at the beginning of a line) zero characters are passed back, which is the
standard end-of-file indication. Unless escaped, theEOF character is not
echoed. Because EOT is the defaultEOF character, this prevents termi-
nals that respond toEOT from hanging up.
NL (ASCII LF) is the normal linedelimiter. It cannot be changed or escaped.
EOL (ASCII NULL) is an additional line delimiter, like NL. It is not normally
used.
EOL2 is another additional line delimiter.
SWTCH (CTRL-Z or ASCII EM) is used only when shl layers is invoked.
SUSP (CTRL-Z or ASCII SUB) generates aSIGTSTP signal. SIGTSTP stops all
processes in the foreground process group for that terminal.
DSUSP (CTRL-Y or ASCII EM) It generates a SIGTSTP signal asSUSP does, but the
signal is sent when a process in the foreground process group attempts
to read the DSUSP character, rather than when it is typed.
STOP (CTRL-S orASCII DC3) can be used to suspend output temporarily. It is
useful withCRT terminals to prevent output from disappearing before it
can be read. While output is suspended, STOP characters are ignored
and not read.
START (CTRL-Q or ASCII DC1) is used to resume output. Output has been
suspended by aSTOP character. While output is not suspended, START
characters are ignored and not read.
DISCARD (CTRL-O or ASCII SI) causes subsequent output to be discarded. Output
is discarded until anotherDISCARD character is typed, more input
arrives, or the condition is cleared by a program.
LNEXT (CTRL-V or ASCII SYN) causes the special meaning of the next character
to be ignored. This works for all the special characters mentioned above.
It allows characters to be input that would otherwise be interpreted by
the system (for example KILL, QUIT).
The character values for INTR, QUIT, ERASE, WERASE, KILL, REPRINT, EOF, EOL, EOL2,
SWTCH, SUSP, DSUSP, STOP, START, DISCARD
, and LNEXT may be changed to suit indivi-
dual tastes. If the value of a special control character is _POSIX_VDISABLE (0), the func-
tion of that special control character is disabled. TheERASE, KILL, and EOF characters
may be escaped by a preceding \ character, in which case no special function is done.
Any of the special characters may be preceded by the LNEXT character, in which case no
7I-350 modified 30 May 1995










