
stty | 447
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-V, --version
Print version and exit.
-v, --verbose
Verbose mode.
-X, --discard-locals
Strip local symbols that were generated by the compiler.
-x, --discard-all
Strip nonglobal symbols.
stty
stty [options] [modes]
Set terminal I/O options for the current standard input device.
Without options, stty reports the terminal settings that differ from
those set by running stty sane, where ^ indicates the Ctrl key and
^` indicates a null value. Most modes can be negated using an
optional - (shown in brackets). The corresponding description is
also shown in brackets. Some arguments use non-POSIX exten-
sions; these are marked with *.
Options
-a, --all
Report all option settings.
-F dev, --device=dev
Open the specified device and use it instead of standard input.
-g, --save
Report settings in stty-readable form (i.e., hex).
--help
Print help message and exit.
--version
Print version information and exit.
Control modes
[-]clocal
[Enable] disable modem control.
[-]cread
[Disable] enable the receiver.
[-]crtscts*
[Disable] enable RTS/CTS handshaking.
csbits
Set character size to bits, which must be 5, 6, 7, or 8.
[-]cstopb
[1] 2 stop bits per character.
[-]hup
[Do not] hang up connection on last close.
[-]hupcl
Same as previous.