Date: Tue, 12 Oct 2004 13:53:27 +0300 From: Nikos Vassiliadis <nvass@teledome.gr> To: freebsd-questions@freebsd.org Cc: FreeBSD questions mailing list <FreeBSD@amadeus.demon.nl> Subject: Re: colourization in ls command Message-ID: <200410121353.28001.nvass@teledome.gr> In-Reply-To: <D51A767A-1C3A-11D9-B5AA-0003939726F0@amadeus.demon.nl> References: <208449C5-1C32-11D9-B5AA-0003939726F0@amadeus.demon.nl> <20041012101328.GW45436@caffreys.strugglers.net> <D51A767A-1C3A-11D9-B5AA-0003939726F0@amadeus.demon.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410121353.28001.nvass>