www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/16/10:38:34

Date: Mon, 16 Dec 1996 17:17:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Brian P. Mann" <bpmann AT jasar DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: color ls
In-Reply-To: <3.0.32.19961211143635.00a00190@199.179.162.84>
Message-ID: <Pine.SUN.3.91.961216171106.18715C-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019