-.Tp Cm tty
-Set the line discipline to the standard terminal line discipline TTYDISC.
-.Tp
-.Pp
-If the
-.Fl g
-option is specified, stty writes to standard output
-the current settings in a form that can be used as arguments
-to another instance of stty on the same system.
-.Pp
-If the
-.Fl a
-option is specified, all of the information about the current setting
-is written to standard output
-in the same format described for the arguments above.
-Unless otherwise specified, this information is displayed as
-<space>-separated tokens, on one or
-more lines, with one or more tokens per line.
-.Pp
-If no options are specified, a subset of the
-information displayed for the
-.Fl a
-option is displayed.
-.Pp
-If the terminal input speed and output speed are the same,
-the speed information is displayed as follows:
-.Pp
-.Ds I
-"speed %d baud;", <speed>
-.De
-.Pp
-Otherwise speeds are displayed as:
-.Pp
-.Ds I
-"ispeed %d baud; ospeed %d baud;", <ispeed>, <ospeed>
-.De
-.Pp
-Control characters are displayed as:
-.Pp
-.Ds I
-"%s = %s;", <control-character name>, <value>
-.De
-.Pp
-where value is either the character, or some visual
-representation of the character if it is non-printing, or
-the string "<undef>" if the character is disabled.