Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (s) stty(1)
Control Assignments
special_character string
Sets special_character to string. The special character is set to the first character in
string and subsequent characters are ignored, with the following exceptions:
• The strings undef and ˆ- set the special character to {_POSIX_VDISABLE} if
it is in effect for the device.
• The string ˆ? sets the special character to <Delete>.
• Any other string beginning with the character ˆ sets the special character to the
control character corresponding to the second character of
string (subsequent
characters are ignored). For example, the string ˆc sets the special character to
^C; the string ˆzq sets the special character to ˆZ.
Note that you can set a special character to a control character in two ways: by
entering the control character itself or by entering ˆ and another character.
This allows you to enter a control character that is already assigned to a special
character without entering that special character; for example, you can enter
^C, even if it is already assigned to the intr special character, by entering ˆ and
then c.
Recognized special_characters include dsusp, eof, eol, eol2, erase, discard,
status, intr, kill, lnext, quit, reprint, start, stop, susp, and werase.
min number
time number
Sets the value of min or time to number. MIN and TIME are used in Noncanonical
mode input processing (-icanon).
Combination Modes
saved settings
Sets the current terminal characteristics to the saved settings produced by -g.
evenp or parity
Enables parenb and cs7; disables parodd.
oddp Enables parenb, cs7, and parodd.
-parity, -evenp, -oddp
-parity enables parodd, -evenp sets odd parity (that is, disables parenb), and -oddp
sets even parity (that is, sets cs8).
nl (-nl) Enables (disables) icrnl and onlcr. -nl also unsets inlcr, igncr ocrnl, and onlret.
sane Resets all modes to some reasonable values.
Compatibility Mode
ek Resets Erase and Kill characters back to system defaults.
lfkc (-lfkc)
Same as echok.
flow (-flow)
Same as ixon (-ixon).
tandem (-tandem)
Same as ixoff (-ixoff).
527188-003 Hewlett-Packard Company 8−59