1STTY(1) General Commands Manual STTY(1)
2
3
4
6 stty - set terminal options
7
9 stty [ option ... ]
10
12 Stty sets certain I/O options on the current output terminal. With no
13 argument, it reports the current settings of the options. The option
14 strings are selected from the following set:
15
16 even allow even parity
17 -even disallow even parity
18 odd allow odd parity
19 -odd disallow odd parity
20 raw raw mode input (no erase, kill, interrupt, quit, EOT; parity
21 bit passed back)
22 -raw negate raw mode
23 cooked same as `-raw'
24 cbreak make each character available to read(2) as received; no erase
25 and kill
26 -cbreak make characters available to read only when newline is received
27 -nl allow carriage return for new-line, and output CR-LF for car‐
28 riage return or new-line
29 nl accept only new-line to end lines
30 echo echo back every character typed
31 -echo do not echo characters
32 lcase map upper case to lower case
33 -lcase do not map case
34 -tabs replace tabs by spaces when printing
35 tabs preserve tabs
36 ek reset erase and kill characters back to normal # and @
37 erase c set erase character to c. C can be of the form `^X' which is
38 interpreted as a `control X'.
39 kill c set kill character to c. `^X' works here also.
40 cr0 cr1 cr2 cr3
41 select style of delay for carriage return (see ioctl(2))
42 nl0 nl1 nl2 nl3
43 select style of delay for linefeed
44 tab0 tab1 tab2 tab3
45 select style of delay for tab
46 ff0 ff1 select style of delay for form feed
47 bs0 bs1 select style of delay for backspace
48 tty33 set all modes suitable for the Teletype Corporation Model 33
49 terminal.
50 tty37 set all modes suitable for the Teletype Corporation Model 37
51 terminal.
52 vt05 set all modes suitable for Digital Equipment Corp. VT05 termi‐
53 nal
54 tn300 set all modes suitable for a General Electric TermiNet 300
55 ti700 set all modes suitable for Texas Instruments 700 series termi‐
56 nal
57 tek set all modes suitable for Tektronix 4014 terminal
58 hup hang up dataphone on last close.
59 -hup do not hang up dataphone on last close.
60 0 hang up phone line immediately
61 50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb
62 Set terminal baud rate to the number given, if possible.
63 (These are the speeds supported by the DH-11 interface).
64
66 ioctl(2), tabs(1)
67
68
69
70 STTY(1)