1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
2 .TH STTY "1" "October 2003" "GNU coreutils 5.0" FSF
4 stty \- change and print terminal line settings
7 [\fI-F DEVICE\fR] [\fI--file=DEVICE\fR] [\fISETTING\fR]...
10 [\fI-F DEVICE\fR] [\fI--file=DEVICE\fR] [\fI-a|--all\fR]
13 [\fI-F DEVICE\fR] [\fI--file=DEVICE\fR] [\fI-g|--save\fR]
15 .\" Add any additional description here
17 Print or change terminal characteristics.
19 \fB\-a\fR, \fB\-\-all\fR
20 print all current settings in human-readable form
22 \fB\-g\fR, \fB\-\-save\fR
23 print all current settings in a stty-readable form
25 \fB\-F\fR, \fB\-\-file\fR=\fIDEVICE\fR
26 open and use the specified DEVICE instead of stdin
29 display this help and exit
32 output version information and exit
34 Optional - before SETTING indicates negation. An * marks non-POSIX
35 settings. The underlying system defines which settings are available.
36 .SS "Special characters:"
39 CHAR will send a terminal stop signal once input flushed
42 CHAR will send an end of file (terminate the input)
45 CHAR will end the line
48 alternate CHAR for ending the line
51 CHAR will erase the last character typed
54 CHAR will send an interrupt signal
57 CHAR will erase the current line
60 CHAR will enter the next character quoted
63 CHAR will send a quit signal
66 CHAR will redraw the current line
69 CHAR will restart the output after stopping it
72 CHAR will stop the output
75 CHAR will send a terminal stop signal
78 CHAR will switch to a different shell layer
81 CHAR will erase the last word typed
82 .SS "Special settings:"
85 set the input and output speeds to N bauds
88 tell the kernel that the terminal has N columns
94 set the input speed to N
100 with \fB\-icanon\fR, set N characters minimum for a completed read
103 set the output speed to N
106 tell the kernel that the terminal has N rows
109 print the number of rows and columns according to the kernel
112 print the terminal speed
115 with \fB\-icanon\fR, set read timeout of N tenths of a second
116 .SS "Control settings:"
119 disable modem control signals
122 allow input to be received
125 enable RTS/CTS handshaking
128 set character size to N bits, N in [5..8]
131 use two stop bits per character (one with `-')
134 send a hangup signal when the last process closes the tty
140 generate parity bit in output and expect parity bit in input
143 set odd parity (even with `-')
144 .SS "Input settings:"
147 breaks cause an interrupt signal
150 translate carriage return to newline
153 ignore break characters
156 ignore carriage return
159 ignore characters with parity errors
162 beep and do not flush a full input buffer on a character
165 translate newline to carriage return
168 enable input parity checking
171 clear high (8th) bit of input characters
174 translate uppercase characters to lowercase
177 let any character restart output, not only start character
180 enable sending of start/stop characters
183 enable XON/XOFF flow control
186 mark parity errors (with a 255-0-character sequence)
190 .SS "Output settings:"
193 backspace delay style, N in [0..1]
196 carriage return delay style, N in [0..3]
199 form feed delay style, N in [0..1]
202 newline delay style, N in [0..1]
205 translate carriage return to newline
208 use delete characters for fill instead of null characters
211 use fill (padding) characters instead of timing for delays
214 translate lowercase characters to uppercase
217 translate newline to carriage return-newline
220 newline performs a carriage return
223 do not print carriage returns in the first column
229 horizontal tab delay style, N in [0..3]
238 vertical tab delay style, N in [0..1]
239 .SS "Local settings:"
242 echo erase characters as backspace-space-backspace
245 kill all line by obeying the echoprt and echoe settings
248 kill all line by obeying the echoctl and echok settings
251 echo control characters in hat notation (`^c')
254 echo input characters
263 echo a newline after a kill character
269 echo newline even if not echoing other characters
272 echo erased characters backward, between `\e' and '/'
275 enable erase, kill, werase, and rprnt special characters
278 enable non-POSIX special characters
281 enable interrupt, quit, and suspend special characters
284 disable flushing after interrupt and quit special characters
290 stop background jobs that try to write to the terminal
293 with icanon, escape with `\e' for uppercase characters
294 .SS "Combination settings:"
300 same as \fB\-icanon\fR
306 same as brkint ignpar istrip icrnl ixon opost isig
307 icanon, eof and eol characters to their default values
313 same as echoe echoctl echoke
316 same as echoe echoctl echoke \fB\-ixany\fR intr ^c erase 0177
323 erase and kill characters to their default values
326 same as parenb \fB\-parodd\fR cs7
329 same as \fB\-parenb\fR cs8
332 same as xcase iuclc olcuc
335 same as \fB\-parenb\fR \fB\-istrip\fR \fB\-opost\fR cs8
338 same as parenb istrip opost cs7
341 same as \fB\-icrnl\fR \fB\-onlcr\fR
344 same as icrnl \fB\-inlcr\fR \fB\-igncr\fR onlcr \fB\-ocrnl\fR \fB\-onlret\fR
347 same as parenb parodd cs7
350 same as \fB\-parenb\fR cs8
356 same as \fB\-parenb\fR \fB\-istrip\fR cs8
359 same as parenb istrip cs7
362 same as \fB\-ignbrk\fR \fB\-brkint\fR \fB\-ignpar\fR \fB\-parmrk\fR \fB\-inpck\fR \fB\-istrip\fR
363 \fB\-inlcr\fR \fB\-igncr\fR \fB\-icrnl\fR \fB\-ixon\fR \fB\-ixoff\fR \fB\-iuclc\fR \fB\-ixany\fR
364 \fB\-imaxbel\fR \fB\-opost\fR \fB\-isig\fR \fB\-icanon\fR \fB\-xcase\fR min 1 time 0
370 same as cread \fB\-ignbrk\fR brkint \fB\-inlcr\fR \fB\-igncr\fR icrnl
371 \fB\-ixoff\fR \fB\-iuclc\fR \fB\-ixany\fR imaxbel opost \fB\-olcuc\fR \fB\-ocrnl\fR onlcr
372 \fB\-onocr\fR \fB\-onlret\fR \fB\-ofill\fR \fB\-ofdel\fR nl0 cr0 tab0 bs0 vt0 ff0
373 isig icanon iexten echo echoe echok \fB\-echonl\fR \fB\-noflsh\fR
374 \fB\-xcase\fR \fB\-tostop\fR \fB\-echoprt\fR echoctl echoke, all special
375 characters to their default values.
377 Handle the tty line connected to standard input. Without arguments,
378 prints baud rate, line discipline, and deviations from stty sane. In
379 settings, CHAR is taken literally, or coded as in ^c, 0x37, 0177 or
380 127; special values ^- or undef used to disable special characters.
382 Written by David MacKenzie.
384 Report bugs to <bug-coreutils@gnu.org>.
386 Copyright \(co 2003 Free Software Foundation, Inc.
388 This is free software; see the source for copying conditions. There is NO
389 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
391 The full documentation for
393 is maintained as a Texinfo manual. If the
397 programs are properly installed at your site, the command
401 should give you access to the complete manual.