Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2001 02:50:44 +0100
From:      Jean-Sebastien ROY <jean-sebastien.roy@wanadoo.fr>
To:        Kal Torak <kaltorak@quake.com.au>
Cc:        FreeBSD-stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: ls -G though pipes...
Message-ID:  <p04330103b675927e9dfd@[192.168.0.2]>
In-Reply-To: <3A4FE066.79ED4B9D@quake.com.au>
References:  <3A4D9617.20610813@quake.com.au> <00123013585600.00836@crag.maze.za.net> <3A4DDFC7.CCA2FCC0@quake.com.au> <00123016125000.01444@crag.maze.za.net> <3A4FE066.79ED4B9D@quake.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:41 +1100 1/01/01, Kal Torak wrote:
> > from 'man ls':
>> CLICOLOR_FORCE
>>                 Color sequences are normally disabled if the output isn't
>> di- rected to a terminal.  This can be overridden by setting this flag.
>> The TERM variable still needs to reference a color ca- pable terminal
>> however otherwise it is not possible to deter- mine which color sequences
>> to use.
>
>That is all nice... But is there maybe a command line switch for this?
>Or a way to specifiy this on the command line? It would be much better
>to alias a command to that, since setting that envirnment variable
>breaks things... (eg. ./configure)

Maybe you can try :
env CLICOLOR_FORCE=1 ls -G | less -R

js


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p04330103b675927e9dfd>