Technical data
SunOS 5.5 Ioctl Requests termio(7I)
for: use:
`\´
\!
˜\ˆ
{\(
}\)
\\\
For example, A is input as \a, \n as \\n, and \N as \\\n.
If ECHO is set, characters are echoed as received.
When ICANON is set, the following echo functions are possible.
1. If ECHO and ECHOE are set, and ECHOPRT is not set, theERASE andWERASE
characters are echoed as one or more ASCII BS SP BS, which clears the last
character(s) from a CRT screen.
2. If ECHO, ECHOPRT, and IEXTEN are set, the first ERASE and WERASE character
in a sequence echoes as a backslash (\), followed by the characters being erased.
SubsequentERASE and WERASE characters echo the characters being erased, in
reverse order. The next non-erase character causes a slash (/) to be typed before
it is echoed. ECHOPRT should be used for hard copy terminals.
3. If ECHOKE and IEXTEN are set, the kill character is echoed by erasing each
character on the line from the screen (using the mechanism selected by ECHOE
and ECHOPRT).
4. If ECHOK is set, and ECHOKE is not set, the NL character is echoed after the kill
character to emphasize that the lineis deleted. Note that an escape character (\)
or an LNEXT character preceding the erase or kill character removes any special
function.
5. If ECHONL is set, the NL character is echoed even if ECHO is not set. This is use-
ful for terminals set to local echo (so called half-duplex).
If ECHOCTL and IEXTEN are set, all control characters (characters with codes between 0
and 37 octal) other thanASCII TAB, ASCII NL, the START character, and theSTOP charac-
ter, ASCII CR, and ASCII BS are echoed as ˆX, where X is the character given by adding 100
octal to the code of the control character (so that the character with octal code 1 is echoed
as ˆA), and the ASCII DEL character, with code 177 octal, is echoed as ˆ?.
If NOFLSH is set, the normal flush of the input and output queues associated with the
INTR, QUIT, and SUSP characters is not done. This bit should be set when restarting sys-
tem calls that read from or write to a terminal (see sigaction(2)).
If TOSTOP and IEXTEN are set, the signalSIGTTOU is sent to a process that tries to
write to its controlling terminal if it is not in the foreground process group for that termi-
nal. This signal normally stops the process. Otherwise, the output generated by that pro-
cess is output to the current output stream. Processes that are blocking or ignoring
SIGTTOU signals are excepted and allowed to produce output, if any.
modified 30 May 1995 7I-359










