bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reporting changes from stty sane


From: Dan Jacobson
Subject: reporting changes from stty sane
Date: Mon, 12 Mar 2007 01:54:24 +0800

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]