From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 17:45:35 2005 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 6F11216A4CE for ; Tue, 12 Apr 2005 17:45:35 +0000 (GMT) Received: from royk.itea.ntnu.no (royk.itea.ntnu.no [129.241.190.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDBD143D5C for ; Tue, 12 Apr 2005 17:45:34 +0000 (GMT) (envelope-from svein-freebsd-questions@theloosingend.net) Received: from localhost (localhost [127.0.0.1]) by royk.itea.ntnu.no (Postfix) with ESMTP id C394566D09 for ; Tue, 12 Apr 2005 19:45:33 +0200 (CEST) Received: from maren.thelosingend.net (maren.math.ntnu.no [129.241.211.48]) by royk.itea.ntnu.no (Postfix) with SMTP for ; Tue, 12 Apr 2005 19:45:31 +0200 (CEST) Received: (qmail 4483 invoked by uid 1001); 12 Apr 2005 17:45:14 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Apr 2005 17:45:14 -0000 Date: Tue, 12 Apr 2005 19:45:14 +0200 (CEST) From: Svein Halvor Halvorsen X-X-Sender: sveinhal@maren.thelosingend.net To: sergei@gnezdov.net In-Reply-To: Message-ID: <20050412193729.S4310@maren.thelosingend.net> References: <20050409201530.8A6B8937AB@mailweb02.ibest.com.br> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. cc: freebsd-questions@freebsd.org Subject: Re: ls colorized in freebsd csh?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 17:45:35 -0000 * Sergei Gnezdov [2005-04-12 00:00 -0700] > The man page says that colors are set in the form of > > "exfxcxdxbxegedabagacad" > > This is very different from bd=3d40;33;01: style. These are two different ls's and two different man pages. The one you are talking about is the ls(1) program in FreeBSD, while the other one is the ls-F builtin in tcsh, documented in the tcsh(1) man page. The poster suggested to setup ls as an alias for ls-F when using tcsh as the latter supports a wide range of colour-option while being faster than ls(1). ls(1) uses $LSCOLOR while ls-F uses $LS_COLOR. These have different syntax. It is also possible to use the GNU ls(1) which has a third way of defining its colorization.