-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
-.TH STTY "1" "April 2010" "GNU coreutils 8.5" "User Commands"
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
+.TH STTY "1" "January 2016" "GNU coreutils 8.25" "User Commands"
.SH NAME
stty \- change and print terminal line settings
.SH SYNOPSIS
.B stty
-[\fI-F DEVICE | --file=DEVICE\fR] [\fISETTING\fR]...
+[\fI\,-F DEVICE | --file=DEVICE\/\fR] [\fI\,SETTING\/\fR]...
.br
.B stty
-[\fI-F DEVICE | --file=DEVICE\fR] [\fI-a|--all\fR]
+[\fI\,-F DEVICE | --file=DEVICE\/\fR] [\fI\,-a|--all\/\fR]
.br
.B stty
-[\fI-F DEVICE | --file=DEVICE\fR] [\fI-g|--save\fR]
+[\fI\,-F DEVICE | --file=DEVICE\/\fR] [\fI\,-g|--save\/\fR]
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print or change terminal characteristics.
+.PP
+Mandatory arguments to long options are mandatory for short options too.
.TP
\fB\-a\fR, \fB\-\-all\fR
print all current settings in human\-readable form
\fB\-g\fR, \fB\-\-save\fR
print all current settings in a stty\-readable form
.TP
-\fB\-F\fR, \fB\-\-file\fR=\fIDEVICE\fR
+\fB\-F\fR, \fB\-\-file\fR=\fI\,DEVICE\/\fR
open and use the specified DEVICE instead of stdin
.TP
\fB\-\-help\fR
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
+* discard CHAR
+CHAR will toggle discarding of output
.TP
eof CHAR
CHAR will send an end of file (terminate the input)
* columns N
same as cols N
.TP
+* [\-]drain
+wait for transmission before applying settings (on by default)
+.TP
ispeed N
set the input speed to N
.TP
set character size to N bits, N in [5..8]
.TP
[\-]cstopb
-use two stop bits per character (one with `\-')
+use two stop bits per character (one with '\-')
.TP
[\-]hup
send a hangup signal when the last process closes the tty
generate parity bit in output and expect parity bit in input
.TP
[\-]parodd
-set odd parity (even with `\-')
+set odd parity (or even parity with '\-')
+.TP
+* [\-]cmspar
+use "stick" (mark/space) parity
.SS "Input settings:"
.TP
[\-]brkint
translate carriage return to newline
.TP
* [\-]ofdel
-use delete characters for fill instead of null characters
+use delete characters for fill instead of NUL characters
.TP
* [\-]ofill
use fill (padding) characters instead of timing for delays
kill all line by obeying the echoctl and echok settings
.TP
* [\-]ctlecho
-echo control characters in hat notation (`^c')
+echo control characters in hat notation ('^c')
.TP
[\-]echo
echo input characters
echo newline even if not echoing other characters
.TP
* [\-]echoprt
-echo erased characters backward, between `\e' and '/'
+echo erased characters backward, between '\e' and '/'
+.TP
+* [\-]extproc
+enable "LINEMODE"; useful with high latency links
+.TP
+* [\-]flusho
+discard output
.TP
[\-]icanon
-enable erase, kill, werase, and rprnt special characters
+enable special characters: erase, kill, werase, rprnt
.TP
[\-]iexten
enable non\-POSIX special characters
stop background jobs that try to write to the terminal
.TP
* [\-]xcase
-with icanon, escape with `\e' for uppercase characters
+with icanon, escape with '\e' for uppercase characters
.SS "Combination settings:"
.TP
* [\-]LCASE
.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
+\fB\-inlcr\fR \fB\-igncr\fR \fB\-icrnl\fR \fB\-ixon\fR \fB\-ixoff\fR \fB\-icanon\fR \fB\-opost\fR
+\fB\-isig\fR \fB\-iuclc\fR \fB\-ixany\fR \fB\-imaxbel\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
+same as cread \fB\-ignbrk\fR brkint \fB\-inlcr\fR \fB\-igncr\fR icrnl
+icanon iexten echo echoe echok \fB\-echonl\fR \fB\-noflsh\fR
+\fB\-ixoff\fR \fB\-iutf8\fR \fB\-iuclc\fR \fB\-ixany\fR imaxbel \fB\-xcase\fR \fB\-olcuc\fR \fB\-ocrnl\fR
+opost \fB\-ofill\fR onlcr \fB\-onocr\fR \fB\-onlret\fR nl0 cr0 tab0 bs0 vt0 ff0
+isig \fB\-tostop\fR \fB\-ofdel\fR \fB\-echoprt\fR echoctl echoke \fB\-extproc\fR \fB\-flusho\fR,
+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
.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/>
+GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
.br
Report stty translation bugs to <http://translationproject.org/team/>
.SH COPYRIGHT
-Copyright \(co 2010 Free Software Foundation, Inc.
+Copyright \(co 2016 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.
+Full documentation at: <http://www.gnu.org/software/coreutils/stty>
+.br
+or available locally via: info \(aq(coreutils) stty invocation\(aq