colourization in ls command

FreeBSD questions mailing list FreeBSD at amadeus.demon.nl
Tue Oct 12 04:03:25 PDT 2004


wow, that did the trick :)
thanks
Arno

On 12 okt 2004, at 12:53, Nikos Vassiliadis wrote:

> you can "export CLICOLOR_FORCE=1" and have the terminal
> sequences redirected too. Something like that(I am using bourne
> again shell):
> export CLICOLOR_FORCE=1
> ls -lG / | less -r
>
> The -r option must be used, because less's default behavior is
> not to display control characters.
>
> Cheers, NikV
>
> On Tuesday 12 October 2004 13:38, FreeBSD questions mailing list wrote:
>> On 12 okt 2004, at 12:13, Andy Smith wrote:
>>> On Tue, Oct 12, 2004 at 12:12:14PM +0200, FreeBSD questions mailing
>>>
>>> list wrote:
>>>> hmm, of course...
>>>> is there a way to preserve it and still have it display page after
>>>> page?
>>>
>>> I find this often works with "less" instead.
>>
>> I tried less but that seems to loose colours too
>>
>>> (please don't top post)
>>
>> huh?
>>
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"
>



More information about the freebsd-questions mailing list