установить параметры для терминала (set the options for a terminal)
Стандартный вывод (Stdout)
If operands are specified, no output shall be produced.
If the -g
option is specified, stty shall write to standard
output the current settings in a form that can be used as
arguments to another instance of stty on the same system.
If the -a
option is specified, all of the information as
described in the OPERANDS section shall be written to standard
output. Unless otherwise specified, this information shall be
written as <space>-separated tokens in an unspecified format, on
one or more lines, with an unspecified number of tokens per line.
Additional information may be written.
If no options or operands are specified, an unspecified subset of
the information written for the -a
option shall be written.
If speed information is written as part of the default output, or
if the -a
option is specified and if the terminal input speed and
output speed are the same, the speed information shall be written
as follows:
"speed %d baud;", <speed>
Otherwise, speeds shall be written as:
"ispeed %d baud; ospeed %d baud;", <ispeed>, <ospeed>
In locales other than the POSIX locale, the word baud
may be
changed to something more appropriate in those locales.
If control characters are written as part of the default output,
or if the -a
option is specified, control characters shall be
written as:
"%s = %s;", <control-character name>, <value>
where <value> is either the character, or some visual
representation of the character if it is non-printable, or the
string undef if the character is disabled.