HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

s
stty(1) stty(1)
erase escaped characters, tabs, and backspaces.
echok (-echok) Echo (do not echo) a newline character after a KILL character.
lfkc (-lfkc) (obsolete) Same as echok
(-echok).
echonl (-echonl) Echo (do not echo) newline character.
noflsh (-noflsh) Disable (enable) flush after INTR or QUIT.
echoctl (-echoctl) Echo (do not echo) control characters as ˆchar, delete as ˆ?
echoprt (-echoprt) Echo (do not echo) erase character as character is erased.
echoke (-echoke) BS-SP-BS erase (do not BS-SP-BS erase) entire line on line kill.
flusho (-flusho) Output is (is not) being flushed.
pendin (-pendin) Retype (do not retype) pending output at next read or input character.
tostop (-tostop) Enable (disable) generation of SIGTTOU signals when background jobs attempt
output.
Hardware Flow Control Modes
The following options are reserved for use with those devices that support hardware flow control through
the termiox interface. If the functionality is supported, this interface must be used.
rtsxoff (-rtsxoff) enable (disable) RTS hardware flow control on input (see termiox(7))
ctsxon (-ctsxon) enable (disable) CTS hardware flow control on output (see termiox(7))
Control Assignments
control-character c Set control-character to c, where control-character is
erase, kill, intr,
quit, eof, eol, eol2, werase, lnext, min,or time (
min and time are
used with
-icanon; see termio(7)). For systems that support job control,
susp and dsusp characters can also be set. For systems that support shell
layers (see shl(1)) swtch can also be set. If c is preceded by an (escaped from
the shell) circumflex (ˆ), the value used is the corresponding control character
(for example, ˆd represents Ctrl-d); ˆ? is interpreted as DEL and ˆ- is inter-
preted as undefined.
line i Set line discipline to i where the value of i ranges from zero through 127 decimal
(See termio(7)).
Combination Modes
evenp or parity Enable parenb and cs7.
oddp Enable parenb, cs7, and parodd.
-parity, -evenp,or -oddp
Disable parenb and set cs8.
raw (-raw or cooked) Enable (disable) raw input and output (no ERASE, KILL, INTR, QUIT, EOT, or
output post processing). See WARNINGS.
nl (-nl) Unset (set) icrnl and onlcr . In addition -nl unsets inlcr, igncr,
ocrnl, and onlret.
lcase (-lcase) Set (unset) xcase, iuclc, and olcuc.
LCASE (-LCASE) Same as lcase (-lcase).
tabs (-tabs or tab3) Preserve (expand to spaces) tabs when printing.
ek Reset ERASE and KILL characters back to default # and @.
sane Reset all modes to some reasonable values.
term Set all modes suitable for the terminal type term, where term is one of tty33,
tty37, vt05, tn300, ti700, hp,ortek.
Reporting Functions
size Print terminal window size to standard output in a rows-and-columns format.
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 1945