diff options
author | joe <joe@FreeBSD.org> | 2001-12-28 18:14:50 +0000 |
---|---|---|
committer | joe <joe@FreeBSD.org> | 2001-12-28 18:14:50 +0000 |
commit | dcc10c8b7bb3b7cde69a46f68456a1ed92d1c8fc (patch) | |
tree | 4e2f85c1a98554aef44294b6d1d825a9fbcea2f5 /bin/ls/ls.1 | |
parent | b0e8a2af1f722c2ac2c13de4daeec09b9891e402 (diff) | |
download | FreeBSD-src-dcc10c8b7bb3b7cde69a46f68456a1ed92d1c8fc.zip FreeBSD-src-dcc10c8b7bb3b7cde69a46f68456a1ed92d1c8fc.tar.gz |
Revamp the colour support to allow for bold characters. Colours
are now defined using the characters a-h and A-H for the bold
variants. The old way using 0-7 for the colours still works, but
prints a message asking the user to switch.
PR: bin/27374
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r-- | bin/ls/ls.1 | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 4aee305..be37844 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -461,22 +461,38 @@ is the background color. The color designators are as follows: .Pp .Bl -tag -width 4n -offset indent -compact -.It Sy 0 +.It Sy a black -.It Sy 1 +.It Sy b red -.It Sy 2 +.It Sy c green -.It Sy 3 +.It Sy d brown -.It Sy 4 +.It Sy e blue -.It Sy 5 +.It Sy f magenta -.It Sy 6 +.It Sy g cyan -.It Sy 7 +.It Sy h light grey +.It Sy A +bold black, usually shows up as dark grey +.It Sy B +bold red +.It Sy C +bold green +.It Sy D +bold brown, usually shows up as yellow +.It Sy E +bold blue +.It Sy F +bold magenta +.It Sy G +bold cyan +.It Sy H +bold light grey; looks like bright white .It Sy x default foreground or background .El @@ -514,7 +530,7 @@ directory writable to others, with sticky bit directory writable to others, without sticky bit .El .Pp -The default is "4x5x2x3x1x464301060203", i.e. blue foreground and +The default is "exfxcxdxbxegedabagacad", i.e. blue foreground and default background for regular directories, black foreground and red background for setuid executables, etc. .It Ev LS_COLWIDTHS |