From owner-freebsd-stable Sun Dec 31 17:50:48 2000 From owner-freebsd-stable@FreeBSD.ORG Sun Dec 31 17:50:47 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from andira.wanadoo.fr (smtp-abo-3.wanadoo.fr [193.252.19.152]) by hub.freebsd.org (Postfix) with ESMTP id C40C537B400 for ; Sun, 31 Dec 2000 17:50:46 -0800 (PST) Received: from [192.168.0.2] (193.251.38.240) by andira.wanadoo.fr; 1 Jan 2001 02:50:45 +0100 Mime-Version: 1.0 Message-Id: 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> Date: Mon, 1 Jan 2001 02:50:44 +0100 To: Kal Torak From: Jean-Sebastien ROY Subject: Re: ls -G though pipes... Cc: FreeBSD-stable Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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