From owner-freebsd-questions Thu Nov 8 14:17:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id D4BDC37B420 for ; Thu, 8 Nov 2001 14:16:50 -0800 (PST) Received: from hades.hell.gr (patr530-b234.otenet.gr [212.205.244.242]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id fA8MGkB25907; Fri, 9 Nov 2001 00:16:47 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id fA8Hr3u00956; Thu, 8 Nov 2001 19:53:03 +0200 (EET) (envelope-from charon@labs.gr) Date: Thu, 8 Nov 2001 19:53:02 +0200 From: Giorgos Keramidas To: Andre` Niel Cameron Cc: free bsd Subject: Re: Color help;) Message-ID: <20011108195302.A775@hades.hell.gr> References: <00a801c163d2$60ce0140$a50410ac@olmct.net> <20011102205328.E6967@raggedclown.net> <00f501c163d9$150cad90$a50410ac@olmct.net> <20011102211414.B7554@raggedclown.net> <012e01c163de$a056fef0$a50410ac@olmct.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <012e01c163de$a056fef0$a50410ac@olmct.net> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Nov 02, 2001 at 03:40:34PM -0500, Andre` Niel Cameron wrote: > Nope, The script looks like this: > > ls -alc > > thats it... From the manpage of ls(1), you can read: CLICOLOR Use ANSI color sequences to distinguish file types. See LSCOLORS below. In addition to the file types mentioned in the -F option some extra attributes (setuid bit set, etc.) are also displayed. The colorization is dependent on a terminal type with the proper termcap(5) capabilities. The default ``cons25'' console has the proper capabilities, but to display the colors in an xterm(1), for example, the TERM variable must be set to ``xterm-color''. Other terminal types may require similar adjustments. Colorization is silently disabled if the output isn't directed to a terminal unless the CLICOLOR_FORCE variable is defined. Pay attention to those last three lines. Then read the description of the -C option of FreeBSD's ls(1) command. You could probably have found what you needed with a bit of research in the manpages :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message