summaryrefslogtreecommitdiff
path: root/man5
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-06-12 12:54:36 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-12 15:00:53 +0200
commit7bc8e428c5104bbbb53922bab01fac61846064b8 (patch)
treebdd86d83f2f1fd19ab4a793860cf78a73775abcc /man5
parent34f2dcd07bd90c5b3bdfc1eac3217f5748b58b4e (diff)
dir_colors.5: Use table markup for better HTML rendering
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
-rw-r--r--man5/dir_colors.5128
1 files changed, 63 insertions, 65 deletions
diff --git a/man5/dir_colors.5 b/man5/dir_colors.5
index ea395577..b81dc4f6 100644
--- a/man5/dir_colors.5
+++ b/man5/dir_colors.5
@@ -192,30 +192,30 @@ ISO 6429 color sequences are composed of sequences of numbers
separated by semicolons.
The most common codes are:
.sp
-.RS +.2i
-.ta 1.0i
-.nf
- 0 to restore default color
- 1 for brighter colors
- 4 for underlined text
- 5 for flashing text
-30 for black foreground
-31 for red foreground
-32 for green foreground
-33 for yellow (or brown) foreground
-34 for blue foreground
-35 for purple foreground
-36 for cyan foreground
-37 for white (or gray) foreground
-40 for black background
-41 for red background
-42 for green background
-43 for yellow (or brown) background
-44 for blue background
-45 for purple background
-46 for cyan background
-47 for white (or gray) background
-.fi
+.RS
+.TS
+l l.
+ 0 to restore default color
+ 1 for brighter colors
+ 4 for underlined text
+ 5 for flashing text
+30 for black foreground
+31 for red foreground
+32 for green foreground
+33 for yellow (or brown) foreground
+34 for blue foreground
+35 for purple foreground
+36 for cyan foreground
+37 for white (or gray) foreground
+40 for black background
+41 for red background
+42 for green background
+43 for yellow (or brown) background
+44 for blue background
+45 for purple background
+46 for cyan background
+47 for white (or gray) background
+.TE
.RE
.sp
Not all commands will work on all systems or display devices.
@@ -223,22 +223,20 @@ Not all commands will work on all systems or display devices.
.B ls
uses the following defaults:
.sp
-.RS +.2i
-.ta 1.0i 2.5i
-.nf
-\fBNORMAL\fR 0 Normal (nonfilename) text
-\fBFILE\fR 0 Regular file
-\fBDIR\fR 32 Directory
-\fBLINK\fR 36 Symbolic link
-\fBORPHAN\fR undefined Orphaned symbolic link
-\fBMISSING\fR undefined Missing file
-\fBFIFO\fR 31 Named pipe (FIFO)
-\fBSOCK\fR 33 Socket
-\fBBLK\fR 44;37 Block device
-\fBCHR\fR 44;37 Character device
-\fBEXEC\fR 35 Executable file
-.fi
-.RE
+.TS
+lb l l.
+NORMAL 0 Normal (nonfilename) text
+FILE 0 Regular file
+DIR 32 Directory
+LINK 36 Symbolic link
+ORPHAN undefined Orphaned symbolic link
+MISSING undefined Missing file
+FIFO 31 Named pipe (FIFO)
+SOCK 33 Socket
+BLK 44;37 Block device
+CHR 44;37 Character device
+EXEC 35 Executable file
+.TE
.sp
A few terminal programs do not recognize the default
properly.
@@ -303,25 +301,25 @@ filename extensions, either C-style \e-escaped notation or
The C-style notation
includes the following characters:
.sp
-.RS +.2i
-.ta 1.0i
-.nf
-\fB\ea\fR Bell (ASCII 7)
-\fB\eb\fR Backspace (ASCII 8)
-\fB\ee\fR Escape (ASCII 27)
-\fB\ef\fR Form feed (ASCII 12)
-\fB\en\fR Newline (ASCII 10)
-\fB\er\fR Carriage Return (ASCII 13)
-\fB\et\fR Tab (ASCII 9)
-\fB\ev\fR Vertical Tab (ASCII 11)
-\fB\e?\fR Delete (ASCII 127)
-\fB\e\fInnn\fR Any character (octal notation)
-\fB\ex\fInnn\fR Any character (hexadecimal notation)
-\fB\e_\fR Space
-\fB\e\e\fR Backslash (\e)
-\fB\e^\fR Caret (^)
-\fB\e#\fR Hash mark (#)
-.fi
+.RS
+.TS
+lb l.
+\ea Bell (ASCII 7)
+\eb Backspace (ASCII 8)
+\ee Escape (ASCII 27)
+\ef Form feed (ASCII 12)
+\en Newline (ASCII 10)
+\er Carriage Return (ASCII 13)
+\et Tab (ASCII 9)
+\ev Vertical Tab (ASCII 11)
+\e? Delete (ASCII 127)
+\e\fInnn Any character (octal notation)
+\ex\fInnn Any character (hexadecimal notation)
+\e_ Space
+\e\e Backslash (\e)
+\e^ Caret (^)
+\e# Hash mark (#)
+.TE
.RE
.sp
Please note that escapes are necessary to enter a space, backslash,
@@ -346,12 +344,12 @@ and
.B RIGHTCODE
definitions, which are used by ISO 6429 terminals are:
.sp
-.RS +.2i
-.ta 1.0i
-.nf
-\fBLEFTCODE\fR \ee[
-\fBRIGHTCODE\fR m
-.fi
+.RS
+.TS
+lb l.
+LEFTCODE \ee[
+RIGHTCODE m
+.TE
.RE
.sp
The default