Jim Meyering wrote:

>>If for some reason my terminal gets into a strange mode where the
>>color of the text is changed and difficult to read, all I need to do
>>is run an 'ls' command, and the colors will be restored to normal.
>
>Ed suggested eliminating the 00-escape sequence around each
>dircolors-NORMAL file.  I expect that his change will not
>affect the independent, term-color-restoring escape sequence
>at the end of `ls --color' output.

I think that if no escape sequences were used during the directory
listing then there's no need to restore anything afterwards.

If you do like the side-effect of ls restoring your terminal, you could
set LS_COLORS so that ordinary files are white.

-- 
Ed Avis <[EMAIL PROTECTED]>


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to