From owner-freebsd-questions@FreeBSD.ORG Tue Oct 12 10:49:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C079816A4CE for ; Tue, 12 Oct 2004 10:49:51 +0000 (GMT) Received: from mailgate.teledome.gr (mailgate.teledome.gr [213.142.128.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DEC43D5C for ; Tue, 12 Oct 2004 10:49:50 +0000 (GMT) (envelope-from nvass@teledome.gr) Received: from [192.168.1.71] (helo=[192.168.1.71]) by mailgate.teledome.gr with esmtp (Exim 4.34) id 1CHKcY-0002P8-NG; Tue, 12 Oct 2004 14:15:10 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Tue, 12 Oct 2004 13:53:27 +0300 User-Agent: KMail/1.6.2 References: <208449C5-1C32-11D9-B5AA-0003939726F0@amadeus.demon.nl> <20041012101328.GW45436@caffreys.strugglers.net> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410121353.28001.nvass@teledome.gr> cc: FreeBSD questions mailing list Subject: Re: colourization in ls command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2004 10:49:51 -0000 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"