diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2000-07-07 14:46:13 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2000-07-07 14:46:13 +0000 |
commit | 8830f654bad42b34f66296467c03b689f2ea34ee (patch) | |
tree | 41b91914d6530a8b1c3d057be04f8b28fb3588d5 /bin | |
parent | 9f59f2175ab076dbd4cab78cb3e6291be843d462 (diff) | |
download | FreeBSD-src-8830f654bad42b34f66296467c03b689f2ea34ee.zip FreeBSD-src-8830f654bad42b34f66296467c03b689f2ea34ee.tar.gz |
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>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ls/ls.1 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 4bbf620..fd0a2db 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -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 |