colourization in ls command
nvass at teledome.gr
Tue Oct 12 03:49:51 PDT 2004
you can "export CLICOLOR_FORCE=1" and have the terminal
sequences redirected too. Something like that(I am using bourne
ls -lG / | less -r
The -r option must be used, because less's default behavior is
not to display control characters.
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)
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions