summaryrefslogtreecommitdiffstats
path: root/man5/dir_colors.5
diff options
context:
space:
mode:
Diffstat (limited to 'man5/dir_colors.5')
-rw-r--r--man5/dir_colors.550
1 files changed, 25 insertions, 25 deletions
diff --git a/man5/dir_colors.5 b/man5/dir_colors.5
index ccee252..7c49f31 100644
--- a/man5/dir_colors.5
+++ b/man5/dir_colors.5
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
-.TH dir_colors 5 2023-07-15 "Linux man-pages 6.05.01"
+.TH dir_colors 5 2024-01-28 "Linux man-pages 6.7"
.SH NAME
dir_colors \- configuration file for dircolors(1)
.SH DESCRIPTION
@@ -13,11 +13,11 @@ uses the environment variable
.B LS_COLORS
to determine the colors in which the filenames are to be displayed.
This environment variable is usually set by a command like
-.PP
+.P
.RS
eval \`dircolors some_path/dir_colors\`
.RE
-.PP
+.P
found in a system default shell initialization file, like
.I /etc/profile
or
@@ -29,13 +29,13 @@ Usually, the file used here is
and can be overridden by a
.I .dir_colors
file in one's home directory.
-.PP
+.P
This configuration file consists of several statements, one per line.
Anything right of a hash mark (#) is treated as a comment, if the
hash mark is at the beginning of a line or is preceded by at least one
whitespace.
Blank lines are ignored.
-.PP
+.P
The
.I global
section of the file consists of any statement before the first
@@ -53,7 +53,7 @@ statements which specify the terminal types (as given by the
environment variable) the following declarations apply to.
It is always possible to override a global declaration by a subsequent
terminal-specific one.
-.PP
+.P
The following statements are recognized; case is insignificant:
.TP
.B TERM \fIterminal-type\fR
@@ -75,7 +75,7 @@ The default is \fIno\fR.
.B EIGHTBIT yes|no
(Slackware only; ignored by GNU
.BR dircolors (1).)
-Specifies that eight-bit ISO 8859 characters should be enabled by
+Specifies that eight-bit ISO/IEC\~8859 characters should be enabled by
default.
For compatibility reasons, this can also be specified as 1 for
\fIyes\fR or 0 for \fIno\fR.
@@ -191,7 +191,7 @@ Synonym:
.B LEFTCODE \fIcolor-sequence\fR
Specifies the
.I "left code"
-for non-ISO\ 6429 terminals (see below).
+for non-ISO/IEC\~6429 terminals (see below).
.IP
Synonym:
.BR LEFT .
@@ -199,7 +199,7 @@ Synonym:
.B RIGHTCODE \fIcolor-sequence\fR
Specifies the
.I "right code"
-for non-ISO\ 6429 terminals (see below).
+for non-ISO/IEC\~6429 terminals (see below).
.IP
Synonym:
.BR RIGHT .
@@ -207,7 +207,7 @@ Synonym:
.B ENDCODE \fIcolor-sequence\fR
Specifies the
.I "end code"
-for non-ISO\ 6429 terminals (see below).
+for non-ISO/IEC\~6429 terminals (see below).
.IP
Synonym:
.BR END .
@@ -227,16 +227,16 @@ for
.B emacs
backup files.
This form should be considered obsolete.
-.SS ISO 6429 (ANSI) color sequences
-Most color-capable ASCII terminals today use ISO 6429 (ANSI) color sequences,
+.SS ISO/IEC\~6429 (ANSI) color sequences
+Most color-capable ASCII terminals today use ISO/IEC\~6429 (ANSI) color sequences,
and many common terminals without color capability, including
.B xterm
-and the widely used and cloned DEC VT100, will recognize ISO 6429 color
+and the widely used and cloned DEC VT100, will recognize ISO/IEC\~6429 color
codes and harmlessly eliminate them from the output or emulate them.
.B ls
-uses ISO 6429 codes by default, assuming colorization is enabled.
-.PP
-ISO 6429 color sequences are composed of sequences of numbers
+uses ISO/IEC\~6429 codes by default, assuming colorization is enabled.
+.P
+ISO/IEC\~6429 color sequences are composed of sequences of numbers
separated by semicolons.
The most common codes are:
.RS
@@ -264,9 +264,9 @@ l l.
47 for white (or gray) background
.TE
.RE
-.PP
+.P
Not all commands will work on all systems or display devices.
-.PP
+.P
.B ls
uses the following defaults:
.TS
@@ -283,7 +283,7 @@ BLK 44;37 Block device
CHR 44;37 Character device
EXEC 35 Executable file
.TE
-.PP
+.P
A few terminal programs do not recognize the default
properly.
If all text gets colorized after you do a directory
@@ -303,7 +303,7 @@ To do so, you will have to use the
and
.B ENDCODE
definitions.
-.PP
+.P
When writing out a filename,
.B ls
generates the following output sequence:
@@ -326,7 +326,7 @@ escape codes away from the user).
If they are not appropriate for
your terminal, you can eliminate them by specifying the respective
keyword on a line by itself.
-.PP
+.P
.B NOTE:
If the
.B ENDCODE
@@ -366,7 +366,7 @@ lb l.
\e# Hash mark (#)
.TE
.RE
-.PP
+.P
Note that escapes are necessary to enter a space, backslash,
caret, or any control character anywhere in the string, as well as a
hash mark as the first character.
@@ -377,7 +377,7 @@ System-wide configuration file.
.TP
.I \[ti]/.dir_colors
Per-user configuration file.
-.PP
+.P
This page describes the
.B dir_colors
file format as used in the fileutils-4.1 package;
@@ -387,7 +387,7 @@ The default
.B LEFTCODE
and
.B RIGHTCODE
-definitions, which are used by ISO 6429 terminals are:
+definitions, which are used by ISO/IEC\~6429 terminals are:
.RS
.TS
lb l.
@@ -395,7 +395,7 @@ LEFTCODE \ee[
RIGHTCODE m
.TE
.RE
-.PP
+.P
The default
.B ENDCODE
is undefined.