[PLUG] display options

Karl M. Hegbloom karlheg at pdxlinux.org
Sat May 18 19:07:24 UTC 2002


On Sat, 2002-05-18 at 11:09, Wil Cooley wrote:

> For some reason on my system, the color escape codes aren't turned off
> when ls is piped to less, so I have to add '-r' to less to make it
> interpret the escape codes.  'ls -l|less -r'

Look for an "alias" for "ls" that sets it up to use the "--color"
option, and see that it's using "--color=auto" so that it detects
whether or not it's running on a TTY, and if the TERM supports color.






More information about the PLUG mailing list