HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
t
termio(7) termio(7)
If ECHOCTL and ECHO are set, all control characters (characters with codes between 0 and 37 octal) other
than ASCII TAB, ASCII NL, the START and STOP characters, ASCII CR, and ASCII BS are echoed as ˆchar,
where char is the character given by adding 100 octal to the control character’s code.
If ECHOK is set and ECHOKE is not set, the NL character is echoed after the kill character to emphasize
that the line is being deleted.
If ECHONL is set, the NL character is echoed even if ECHO is clear. This is useful for terminals set to local
echo (that is, half duplex).
Unless escaped, the EOF character is not echoed. Because ASCII EOT is the default EOF character, this
prevents terminals that respond to EOT from hanging up.
If NOFLSH is set, the normal flush of the input and output queues associated with quit, interrupt, and
suspend characters is not done. However, NOFLSH does not affect the flushing of data upon receipt of a
break when BRKINT is set.
If the TOSTOP bit is set, an attempt by a process that is not in the foreground process group to write to its
controlling terminal will be denied when the process is not ignoring and not blocking the SIGTTOU signal.
If the write is denied and the process is a member of an orphaned process group write() returns 1 and
sets errno to EIO and no signal is sent. If the write is denied and the process is a not a member of an
orphaned process group, the SIGTTOU signal is sent to that process group.
If FLUSHO is set, data written to the terminal device is discarded. This bit is set by a program. A pro-
gram can cancel the FLUSHO effect by clearing FLUSHO.
If PENDIN is set, any input that has not been read is reprocessed and possibly re-echoed when the next
character arrives as input.
If ICANON is set, the ERASE, KILL, and EOF characters can be escaped by a preceding \
character, in
which case no special function is done.
IEXTEN must be set before the ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, and PENDIN functions are
allowed. In addition, the special characters
WERASE and LNEXT are allowed only if IEXTEN is set.
IEXTEN does not affect any other functions.
The initial local control value is all-bits-clear.
Special Control Characters
Special control characters are defined in the array c_cc. All of these special characters can be changed.
The subscript name and description for each element in both canonical and non-canonical mode are shown
in the following table.
Subscript Usage
Canonical Non-Canonical Description
VEOF EOF character
VEOL EOL character
VEOL2 EOL2 character
VERASE ERASE character
VWERASE WERASE character
VINTR VINTR INTR character
VKILL KILL character
VMIN MIN value
VQUIT VQUIT QUIT character
VSTART VSTART START
character
VSTOP VSTOP STOP character
VSUSP VSUSP SUSP character
VDSUSP VDSUSP DSUSP character
VTIME TIME value
VLNEXT VLNEXT LNEXT character
termios Structure-Related Functions
The following functions are provided when using the termios structure. Note that the effects on the termi-
nal device of the cfsetispeed() and cfsetospeed() functions do not become effective until the
tcsetattr() function is successfully called. Refer to the appropriate manual entries for details.
termios Structure Functions
HP-UX Release 11i: December 2000 12 Section 7171
___
___