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