bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls --color feature request: ordinary files uncoloured


From: Jim Meyering
Subject: Re: ls --color feature request: ordinary files uncoloured
Date: Thu, 15 Jan 2004 11:28:40 +0100

"Avis, Ed" <address@hidden> wrote:
> 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.

That's reasonable.
People who expect `ls --color' to reset terminal state will
just have to be sure to run it on files whose names are highlighted.




reply via email to

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