Mail Archives: djgpp/1996/12/16/10:38:34
On Wed, 11 Dec 1996, Brian P. Mann wrote:
> archives because search words have to be 3 letters or more.:( How in the
> heck do you get the color option on the GNU ls that comes with the
> fileutils package to work in color?
Why, you say "ls --color", of course (isn't that obvious?).
> stupid that I'm missing, but I didn't have any problem getting it to work
> on my old version of Redhat Linux that I had to set up myself.
That's a different `ls'. Linux had a patched version of `ls' which
supported color display by default. `ls' from GNU Fileutils 3.13 which
also support colorization doesn't display in color unless explicitly told
to do so. Just define an alias or a keyboard macro which invokes `ls'
with the above switch in an interactive session.
IMHO, making the color be used by default will do trouble on MSDOS if and
when you use any of the programs that catch DOS output by installing an
Int 21h hook (like some editors which allow you to compile without
exiting the editing session). I'm sure though that this was NOT the
reason that the GNU people have chosen not to make the colors be used by
default.
- Raw text -