Date: Mon, 3 Sep 2007 21:14:46 +0200 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: current@freebsd.org Subject: ls(1) referring to xterm-color Message-ID: <20070903191446.GA2609@roadrunner.spoerlein.net>
next in thread | raw e-mail | index | archive | help
Hi current, ls(1) contains the following passage under ENVIRONMENT about color output: 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) capabili- ties. 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 simi- lar adjustments. Colorization is silently disabled if the output is not directed to a terminal unless the CLICOLOR_FORCE variable is defined. But xterm grew color support some time ago, so the reference to 'xterm-color' should probably be removed or changed to 'xterm'. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070903191446.GA2609>