ls(1) referring to xterm-color
Ulrich Spoerlein
uspoerlein at gmail.com
Mon Sep 3 12:14:53 PDT 2007
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.
More information about the freebsd-current
mailing list