1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH STTY "1" "April 2010" "GNU coreutils 8.5" "User Commands"
.SH NAME
stty \- change and print terminal line settings
.SH SYNOPSIS
.B stty
[\fI-F DEVICE | --file=DEVICE\fR] [\fISETTING\fR]...
.br
.B stty
[\fI-F DEVICE | --file=DEVICE\fR] [\fI-a|--all\fR]
.br
.B stty
[\fI-F DEVICE | --file=DEVICE\fR] [\fI-g|--save\fR]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print or change terminal characteristics.
.TP
\fB\-a\fR, \fB\-\-all\fR
print all current settings in human\-readable form
.TP
\fB\-g\fR, \fB\-\-save\fR
print all current settings in a stty\-readable form
.TP
\fB\-F\fR, \fB\-\-file\fR=\fIDEVICE\fR
open and use the specified DEVICE instead of stdin
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
Optional \- before SETTING indicates negation. An * marks non\-POSIX
settings. The underlying system defines which settings are available.
.SS "Special characters:"
.TP
* dsusp CHAR
CHAR will send a terminal stop signal once input flushed
.TP
eof CHAR
CHAR will send an end of file (terminate the input)
.TP
eol CHAR
CHAR will end the line
.TP
* eol2 CHAR
alternate CHAR for ending the line
.TP
erase CHAR
CHAR will erase the last character typed
.TP
intr CHAR
CHAR will send an interrupt signal
.TP
kill CHAR
CHAR will erase the current line
.TP
* lnext CHAR
CHAR will enter the next character quoted
.TP
quit CHAR
CHAR will send a quit signal
.TP
* rprnt CHAR
CHAR will redraw the current line
.TP
start CHAR
CHAR will restart the output after stopping it
.TP
stop CHAR
CHAR will stop the output
.TP
susp CHAR
CHAR will send a terminal stop signal
.TP
* swtch CHAR
CHAR will switch to a different shell layer
.TP
* werase CHAR
CHAR will erase the last word typed
.SS "Special settings:"
.TP
N
set the input and output speeds to N bauds
.TP
* cols N
tell the kernel that the terminal has N columns
.TP
* columns N
same as cols N
.TP
ispeed N
set the input speed to N
.TP
* line N
use line discipline N
.TP
min N
with \fB\-icanon\fR, set N characters minimum for a completed read
.TP
ospeed N
set the output speed to N
.TP
* rows N
tell the kernel that the terminal has N rows
.TP
* size
print the number of rows and columns according to the kernel
.TP
speed
print the terminal speed
.TP
time N
with \fB\-icanon\fR, set read timeout of N tenths of a second
.SS "Control settings:"
.TP
[\-]clocal
disable modem control signals
.TP
[\-]cread
allow input to be received
.TP
* [\-]crtscts
enable RTS/CTS handshaking
.TP
csN
set character size to N bits, N in [5..8]
.TP
[\-]cstopb
use two stop bits per character (one with `\-')
.TP
[\-]hup
send a hangup signal when the last process closes the tty
.TP
[\-]hupcl
same as [\-]hup
.TP
[\-]parenb
generate parity bit in output and expect parity bit in input
.TP
[\-]parodd
set odd parity (even with `\-')
.SS "Input settings:"
.TP
[\-]brkint
breaks cause an interrupt signal
.TP
[\-]icrnl
translate carriage return to newline
.TP
[\-]ignbrk
ignore break characters
.TP
[\-]igncr
ignore carriage return
.TP
[\-]ignpar
ignore characters with parity errors
.TP
* [\-]imaxbel
beep and do not flush a full input buffer on a character
.TP
[\-]inlcr
translate newline to carriage return
.TP
[\-]inpck
enable input parity checking
.TP
[\-]istrip
clear high (8th) bit of input characters
.TP
* [\-]iutf8
assume input characters are UTF\-8 encoded
.TP
* [\-]iuclc
translate uppercase characters to lowercase
.TP
* [\-]ixany
let any character restart output, not only start character
.TP
[\-]ixoff
enable sending of start/stop characters
.TP
[\-]ixon
enable XON/XOFF flow control
.TP
[\-]parmrk
mark parity errors (with a 255\-0\-character sequence)
.TP
[\-]tandem
same as [\-]ixoff
.SS "Output settings:"
.TP
* bsN
backspace delay style, N in [0..1]
.TP
* crN
carriage return delay style, N in [0..3]
.TP
* ffN
form feed delay style, N in [0..1]
.TP
* nlN
newline delay style, N in [0..1]
.TP
* [\-]ocrnl
translate carriage return to newline
.TP
* [\-]ofdel
use delete characters for fill instead of null characters
.TP
* [\-]ofill
use fill (padding) characters instead of timing for delays
.TP
* [\-]olcuc
translate lowercase characters to uppercase
.TP
* [\-]onlcr
translate newline to carriage return\-newline
.TP
* [\-]onlret
newline performs a carriage return
.TP
* [\-]onocr
do not print carriage returns in the first column
.TP
[\-]opost
postprocess output
.TP
* tabN
horizontal tab delay style, N in [0..3]
.TP
* tabs
same as tab0
.TP
* \fB\-tabs\fR
same as tab3
.TP
* vtN
vertical tab delay style, N in [0..1]
.SS "Local settings:"
.TP
[\-]crterase
echo erase characters as backspace\-space\-backspace
.TP
* crtkill
kill all line by obeying the echoprt and echoe settings
.TP
* \fB\-crtkill\fR
kill all line by obeying the echoctl and echok settings
.TP
* [\-]ctlecho
echo control characters in hat notation (`^c')
.TP
[\-]echo
echo input characters
.TP
* [\-]echoctl
same as [\-]ctlecho
.TP
[\-]echoe
same as [\-]crterase
.TP
[\-]echok
echo a newline after a kill character
.TP
* [\-]echoke
same as [\-]crtkill
.TP
[\-]echonl
echo newline even if not echoing other characters
.TP
* [\-]echoprt
echo erased characters backward, between `\e' and '/'
.TP
[\-]icanon
enable erase, kill, werase, and rprnt special characters
.TP
[\-]iexten
enable non\-POSIX special characters
.TP
[\-]isig
enable interrupt, quit, and suspend special characters
.TP
[\-]noflsh
disable flushing after interrupt and quit special characters
.TP
* [\-]prterase
same as [\-]echoprt
.TP
* [\-]tostop
stop background jobs that try to write to the terminal
.TP
* [\-]xcase
with icanon, escape with `\e' for uppercase characters
.SS "Combination settings:"
.TP
* [\-]LCASE
same as [\-]lcase
.TP
cbreak
same as \fB\-icanon\fR
.TP
\fB\-cbreak\fR
same as icanon
.TP
cooked
same as brkint ignpar istrip icrnl ixon opost isig
icanon, eof and eol characters to their default values
.TP
\fB\-cooked\fR
same as raw
.TP
crt
same as echoe echoctl echoke
.TP
dec
same as echoe echoctl echoke \fB\-ixany\fR intr ^c erase 0177
kill ^u
.TP
* [\-]decctlq
same as [\-]ixany
.TP
ek
erase and kill characters to their default values
.TP
evenp
same as parenb \fB\-parodd\fR cs7
.TP
\fB\-evenp\fR
same as \fB\-parenb\fR cs8
.TP
* [\-]lcase
same as xcase iuclc olcuc
.TP
litout
same as \fB\-parenb\fR \fB\-istrip\fR \fB\-opost\fR cs8
.TP
\fB\-litout\fR
same as parenb istrip opost cs7
.TP
nl
same as \fB\-icrnl\fR \fB\-onlcr\fR
.TP
\fB\-nl\fR
same as icrnl \fB\-inlcr\fR \fB\-igncr\fR onlcr \fB\-ocrnl\fR \fB\-onlret\fR
.TP
oddp
same as parenb parodd cs7
.TP
\fB\-oddp\fR
same as \fB\-parenb\fR cs8
.TP
[\-]parity
same as [\-]evenp
.TP
pass8
same as \fB\-parenb\fR \fB\-istrip\fR cs8
.TP
\fB\-pass8\fR
same as parenb istrip cs7
.TP
raw
same as \fB\-ignbrk\fR \fB\-brkint\fR \fB\-ignpar\fR \fB\-parmrk\fR \fB\-inpck\fR \fB\-istrip\fR
\fB\-inlcr\fR \fB\-igncr\fR \fB\-icrnl\fR \fB\-ixon\fR \fB\-ixoff\fR \fB\-iuclc\fR \fB\-ixany\fR
\fB\-imaxbel\fR \fB\-opost\fR \fB\-isig\fR \fB\-icanon\fR \fB\-xcase\fR min 1 time 0
.TP
\fB\-raw\fR
same as cooked
.TP
sane
same as cread \fB\-ignbrk\fR brkint \fB\-inlcr\fR \fB\-igncr\fR icrnl \fB\-iutf8\fR
\fB\-ixoff\fR \fB\-iuclc\fR \fB\-ixany\fR imaxbel opost \fB\-olcuc\fR \fB\-ocrnl\fR onlcr
\fB\-onocr\fR \fB\-onlret\fR \fB\-ofill\fR \fB\-ofdel\fR nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok \fB\-echonl\fR \fB\-noflsh\fR
\fB\-xcase\fR \fB\-tostop\fR \fB\-echoprt\fR echoctl echoke, all special
characters to their default values
.PP
Handle the tty line connected to standard input. Without arguments,
prints baud rate, line discipline, and deviations from stty sane. In
settings, CHAR is taken literally, or coded as in ^c, 0x37, 0177 or
127; special values ^\- or undef used to disable special characters.
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
Report stty bugs to bug\-coreutils@gnu.org
.br
GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
.br
General help using GNU software: <http://www.gnu.org/gethelp/>
.br
Report stty translation bugs to <http://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B stty
is maintained as a Texinfo manual. If the
.B info
and
.B stty
programs are properly installed at your site, the command
.IP
.B info coreutils \(aqstty invocation\(aq
.PP
should give you access to the complete manual.
|