Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2012 15:17:13 +0200
From:      Polytropon <freebsd@edvax.de>
To:        fake fake <four.troublesome.heads@gmail.com>
Cc:        freebsd-questions@freebsd.org, Bernt Hansson <bah@bananmonarki.se>
Subject:   Re: ls-F tcsh built-in command
Message-ID:  <20120517151713.2503552d.freebsd@edvax.de>
In-Reply-To: <CA%2BrxiGAGayqgoUaf%2BDsDZhMLbz2juH_AO_NT-6vAtvk3Rp2VaA@mail.gmail.com>
References:  <CA%2BrxiGCyQhMuVex3M1QdqEeQp_pMyf%2BcbEskahdNoO4C%2BmqoEw@mail.gmail.com> <4FB4DEC1.8020704@bananmonarki.se> <CA%2BrxiGBETBvdjhGUF73OSYO6xEbbgjRsxPcbs9sntB49wRyo9w@mail.gmail.com> <20120517145437.03dd4cdf.freebsd@edvax.de> <CA%2BrxiGAGayqgoUaf%2BDsDZhMLbz2juH_AO_NT-6vAtvk3Rp2VaA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120517151713.2503552d.freebsd>