Comments on the stty info page:

     `stty' prints or changes terminal characteristics, such as baud rate.
     Synopses:

          stty [OPTION] [SETTING]...
(Might as well say [LINE SETTING]...
to match how you talk below, or change the below.)
          stty [OPTION]

        If given no line settings, `stty' prints the baud rate, line
     discipline number (on systems that support it), and line settings that
     have been changed from the values set by `stty sane'.  By default, mode

No, stty sane changed columns from 86 to 88 and plain stty didn't report it.

     reading and setting are performed on the tty line connected to standard
     input, although this can be modified by the `--file' option.

P.S., one has to do
stty -a|perl -pwle 'if(/;/){s/; /\n/g;s/;//}else{s/ /\n/g}'
to get output suitable for diff(1)... perhaps add an option to print
one setting per line.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to