|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 11110 (0x2b66)
Types: TextFile
Notes: UNIX file
Names: »stty.1«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/cat1/stty.1«
1
STTY(1) UNIX Programmer's Manual STTY(1)
NAME
stty - set terminal options
SYNOPSIS
stty [ option ... ]
DESCRIPTION
_▶08◀S_▶08◀t_▶08◀t_▶08◀y sets certain I/O options on the current output termi-
nal, placing its output on the diagnostic output. With no
argument, it reports the speed of the terminal and the
settings of the options which are different from their
defaults. With the argument ``all'', all normally used
option settings are reported. With the argument ``every-
thing'', everything _▶08◀s_▶08◀t_▶08◀t_▶08◀y knows about is printed. The
option strings are selected from the following set:
even allow even parity input
-even disallow even parity input
odd allow odd parity input
-odd disallow odd parity input
raw raw mode input (no input processing (erase,
kill, interrupt, ...); parity bit passed back)
-raw negate raw mode
cooked same as `-raw'
cbreak make each character available to _▶08◀r_▶08◀e_▶08◀a_▶08◀d(2) as
received; no erase and kill processing, but all
other processing (interrupt, suspend, ...) is
performed
-cbreak make characters available to _▶08◀r_▶08◀e_▶08◀a_▶08◀d only when new-
line is received
-nl allow carriage return for new-line, and output
CR-LF for carriage return or new-line
nl accept only new-line to end lines
echo echo back every character typed
-echo do not echo characters
lcase map upper case to lower case
-lcase do not map case
tandem enable flow control, so that the system sends
out the stop character when its internal queue
is in danger of overflowing on input, and sends
the start character when it is ready to accept
further input
-tandem disable flow control
-tabs replace tabs by spaces when printing
tabs preserve tabs
ek set erase and kill characters to # and @
For the following commands which take a character argument
_▶08◀c, you may also specify _▶08◀c as the ``u'' or ``undef'', to
set the value to be undefined. A value of ``^x'', a 2
character sequence, is also interpreted as a control char-
acter, with ``^?'' representing delete.
erase _▶08◀c set erase character to _▶08◀c (default `#', but often
reset to ^H.)
kill _▶08◀c set kill character to _▶08◀c (default `@', but often
reset to ^U.)
intr _▶08◀c set interrupt character to _▶08◀c (default DEL or ^?
(delete), but often reset to ^C.)
1
STTY(1) UNIX Programmer's Manual STTY(1)
quit _▶08◀c set quit character to _▶08◀c (default control \.)
start _▶08◀c set start character to _▶08◀c (default control Q.)
stop _▶08◀c set stop character to _▶08◀c (default control S.)
eof _▶08◀c set end of file character to _▶08◀c (default control
D.)
brk _▶08◀c set break character to _▶08◀c (default undefined.)
This character is an extra wakeup causing char-
acter.
cr0 cr1 cr2 cr3
select style of delay for carriage return (see
_▶08◀i_▶08◀o_▶08◀c_▶08◀t_▶08◀l(2))
nl0 nl1 nl2 nl3
select style of delay for linefeed
tab0 tab1 tab2 tab3
select style of delay for tab
ff0 ff1 select style of delay for form feed
bs0 bs1 select style of delay for backspace
tty33 set all modes suitable for the Teletype Corpora-
tion Model 33 terminal.
tty37 set all modes suitable for the Teletype Corpora-
tion Model 37 terminal.
vt05 set all modes suitable for Digital Equipment
Corp. VT05 terminal
dec set all modes suitable for Digital Equipment
Corp. operating systems users; (erase, kill,
interrupt, and end of file characters to ^?, ^U,
^C, ^Z, decctlq and ``newcrt''. Due to conflict
the suspend character is changed to ^X.)
tn300 set all modes suitable for a General Electric
TermiNet 300
ti700 set all modes suitable for Texas Instruments 700
series terminal
tek set all modes suitable for Tektronix 4014 termi-
nal
0 hang up phone line immediately
extb
50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta
Set terminal baud rate to the number given, if
possible. (These are the speeds supported by
the DH-11 interface).
A teletype driver which supports the job control process-
ing of _▶08◀c_▶08◀s_▶08◀h(1) as introduced in _▶08◀n_▶08◀e_▶08◀w_▶08◀c_▶08◀s_▶08◀h(1) and more func-
tionality that the basic driver is introduced in _▶08◀n_▶08◀e_▶08◀w_▶08◀t_▶08◀t_▶08◀y(4)
and fully described in _▶08◀t_▶08◀t_▶08◀y(4). The following options
apply only to it.
new Use new driver (switching flushes typeahead).
crt Set options for a CRT (crtbs, ctlecho and, if >=
1200 baud, crterase and crtkill.)
crtbs Echo backspaces on erase characters.
prterase For printing terminal echo erased characters
backwards within ``\'' and ``/''.
crterase Wipe out erased characters with ``backspace-
space-backspace.''
-crterase Leave erased characters visible; just backspace.
2
STTY(1) UNIX Programmer's Manual STTY(1)
crtkill Wipe out input on like kill ala crterase.
-crtkill Just echo line kill character and a newline on
line kill.
ctlecho Echo control characters as ``^_▶08◀x'' (and delete as
``^?''.) Print two backspaces following the EOT
character (control D).
-ctlecho Control characters echo as themselves; in cooked
mode EOT (control-D) is not echoed.
decctlq After output is suspended (normally by ^S), only
a start character (normally ^Q) will restart it.
This is compatible with DEC's vendor supplied
systems.
-decctlq After output is suspended, any character typed
will restart it; the start character will res-
tart output without providing any input. (This
is the default.)
tostop Background jobs stop if they attempt terminal
output.
-tostop Output from background jobs to the terminal is
allowed.
flusho Output is being discarded usually because user
hit control O (internal state bit).
-flusho Output is not being discarded.
pendin Input is pending after a switch from cbreak to
cooked and will be re-input when a read becomes
pending or more input arrives (internal state
bit).
-pendin Input is not pending.
intrup Send a signal (SIGTINT) to the terminal control
process group whenever an input record (line in
cooked mode, character in cbreak or raw mode) is
available for reading.
-intrup Don't send input available interrupts.
litout Send output characters without any processing.
-litout Do normal output processing, inserting delays,
etc.
nohang Don't send hangup signal if carrier drops.
-nohang Send hangup signal to control process group when
carrier drops.
etxack Diablo style etx/ack handshaking (not imple-
mented).
The following special characters are applicable only to
the new teletype driver and are not normally changed.
susp _▶08◀c set suspend process character to _▶08◀c (default con-
trol Z.)
dsusp _▶08◀c set delayed suspend process character to _▶08◀c
(default control Y.)
rprnt _▶08◀c set reprint line character to _▶08◀c (default control
R.)
flush _▶08◀c set flush output character to _▶08◀c (default control
O.)
werase _▶08◀c set word erase character to _▶08◀c (default control
W.)
lnext _▶08◀c set literal next character to _▶08◀c (default control
3
STTY(1) UNIX Programmer's Manual STTY(1)
V.)
info _▶08◀c set information typeout character to _▶08◀c (default
control T.)
SEE ALSO
ioctl(2), tabs(1), tset(1), newtty(4), tty(4)
4