Explain the dependence of colour support on the capabilities of the

terminal emulator.

As pointed out by jhb, a more scalable solution would be preferable
when multiple applications in the base system begin linking against
libh.

Submitted by:	Doug Barton <DougB@gorean.org>
This commit is contained in:
Sheldon Hearn 2000-07-07 14:46:13 +00:00
parent 9825166754
commit 16481ad9d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62779

View File

@ -100,6 +100,20 @@ below.
In addition to those mentioned above in
.Fl F ,
some extra attributes (setuid bit set, etc.) are also displayed.
The colorization is dependent on a terminal type with the proper
.Xr termcap 5
capabilities.
The default
.Dq cons25
console has the proper capabilities,
however if you want to display the colors in an
.Xr xterm 1
for example,
you need to set your
.Ev TERM
variable to
.Dq xterm-color .
Other terminal types may require similar adjustments.
.It Fl H
Symbolic links on the command line are followed. This option is assumed if
none of the
@ -478,6 +492,10 @@ a dynamically sized column). Not all
columns have changeable widths. The fields are,
in order: inode, block count, number of links, user name,
group name, flags, file size, file name.
.It Ev TERM
The
.Fl G
option depends on a terminal type with color capabilities.
.It Ev TZ
The timezone to use when displaying dates.
See
@ -492,6 +510,8 @@ specification.
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr chmod 1 ,
.Xr xterm 1 ,
.Xr termcap 5 ,
.Xr symlink 7 ,
.Xr sticky 8
.Sh HISTORY