Bell 32V development
[unix-history] / usr / man / man1 / stty.1
CommitLineData
75c5d196
TL
1.TH STTY 1
2.SH NAME
3stty \- set terminal options
4.SH SYNOPSIS
5.B stty
6[ option ... ]
7.SH DESCRIPTION
8.I Stty
9sets certain I/O options on the current output terminal.
10With no argument, it reports the current settings of the options.
11The option strings are
12selected from the following set:
13.TP 8n
14.B even
15allow even parity
16.br
17.ns
18.TP
19.B \-even
20disallow even parity
21.br
22.ns
23.TP
24.B odd
25allow odd parity
26.br
27.ns
28.TP
29.B \-odd
30disallow odd parity
31.br
32.ns
33.TP
34.B raw
35raw mode input
36(no erase, kill, interrupt, quit, EOT; parity bit passed back)
37.br
38.ns
39.TP
40.B \-raw
41negate raw mode
42.br
43.ns
44.TP
45.B cooked
46same as `\-raw'
47.br
48.ns
49.TP
50.B cbreak
51make each character available to
52.IR read (2)
53as received; no erase and kill
54.br
55.ns
56.TP
57.B \-cbreak
58make characters available to
59.I read
60only when newline is received
61.br
62.ns
63.TP
64.B \-nl
65allow carriage return for new-line,
66and output CR-LF for carriage return or new-line
67.br
68.ns
69.TP
70.B nl
71accept only new-line to end lines
72.br
73.ns
74.TP
75.B echo
76echo back every character typed
77.br
78.ns
79.TP
80.B \-echo
81do not echo characters
82.br
83.ns
84.TP
85.B lcase
86map upper case to lower case
87.br
88.ns
89.TP
90.B \-lcase
91do not map case
92.br
93.ns
94.TP
95.B \-tabs
96replace tabs by spaces when printing
97.br
98.ns
99.TP
100.B tabs
101preserve tabs
102.br
103.ns
104.TP
105.B ek
106reset erase and kill characters back to normal # and @
107.br
108.ns
109.TP
110.BI erase \ c\fR
111set erase character to
112.IR c .
113.br
114.ns
115.TP
116.BI kill \ c\fR
117set kill character to
118.IR c .
119.br
120.ns
121.TP
122.B cr0 cr1 cr2 cr3
123.br
124select style of delay for carriage return (see
125.IR ioctl (2))
126.br
127.ns
128.TP
129.B nl0 nl1 nl2 nl3
130.br
131select style of delay for linefeed
132.br
133.ns
134.TP
135.B tab0 tab1 tab2 tab3
136.br
137select style of delay for tab
138.br
139.ns
140.TP
141.B ff0 ff1
142select style of delay for form feed
143.br
144.ns
145.TP
146.B bs0 bs1
147select style of delay for backspace
148.br
149.ns
150.TP
151.B tty33
152set all modes suitable for the
153Teletype Corporation Model 33 terminal.
154.br
155.ns
156.TP
157.B tty37
158set all modes suitable for the
159Teletype Corporation Model 37 terminal.
160.br
161.ns
162.TP
163.B vt05
164set all modes suitable for Digital Equipment Corp. VT05 terminal
165.br
166.ns
167.TP
168.B tn300
169set all modes suitable for a General Electric TermiNet 300
170.br
171.ns
172.TP
173.B ti700
174set all modes suitable for Texas Instruments 700 series terminal
175.br
176.ns
177.TP
178.B tek
179set all modes suitable for Tektronix 4014 terminal
180.br
181.ns
182.TP
183.B hup
184hang up dataphone on last close.
185.br
186.ns
187.TP
188.B \-hup
189do not hang up dataphone on last close.
190.br
191.ns
192.TP
193.B 0
194hang up phone line immediately
195.br
196.ns
197.TP
198.B "50 75 110 134 150 200 300 600 1200 1800 2400 4800 9600 exta extb"
199.br
200Set terminal baud rate to the number given, if possible.
201(These are the speeds supported by the DH-11 interface).
202.dt
203.SH "SEE ALSO"
204ioctl(2), tabs(1)