From owner-freebsd-questions@FreeBSD.ORG Thu May 17 13:17:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA82F106566B for ; Thu, 17 May 2012 13:17:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 84D2F8FC1D for ; Thu, 17 May 2012 13:17:14 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 995973D4BC; Thu, 17 May 2012 15:17:13 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q4HDHDs2002232; Thu, 17 May 2012 15:17:13 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 17 May 2012 15:17:13 +0200 From: Polytropon To: fake fake Message-Id: <20120517151713.2503552d.freebsd@edvax.de> In-Reply-To: References: <4FB4DEC1.8020704@bananmonarki.se> <20120517145437.03dd4cdf.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Bernt Hansson Subject: Re: ls-F tcsh built-in command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 13:17:14 -0000 On Thu, 17 May 2012 21:59:52 +0900, fake fake wrote: > Oh, dear. I didn't notice it. > So, is there no way to color directory in ISO 6429 codes with using tcsh? Judging from "man csh": File names can also be colorized based on filename extension. This is specified in the LS_COLORS variable using the syntax "*ext=string". For example, using ISO 6429 codes, to color all C-language source files blue you would specify "*.c=34". This would color all files ending in .c in blue (34) color. [...] If your terminal does use ISO 6429 color codes, you can compose [...] Not all commands will work on all systems or display devices. It seems that the terminal emulator in use also plays an important role. Search for "LS_COLORS" in the environment variables section of "man csh". However, I've always been satisfied with using $LSCOLORS as "ExGxdxdxCxDxDxBxBxegeg". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...