TERMINAL−COLORS.D - Online Linux Manual PageSection : 5
Updated : 2022-05-11
Source : util−linux 2.38.1
Note : File formats
ß.nh . am URL . . . am MTO . . . LINKSTYLE blue R < >
NAMEterminal-colors.d − configure output colorization for various utilities

SYNOPSIS/etc/terminal−colors.d/[[name][@term].][type]

DESCRIPTIONFiles in this directory determine the default behavior for utilities when coloring output. The name is a utility name. The name is optional and when none is specified then the file is used for all unspecified utilities. The term is a terminal identifier (the TERM environment variable). The terminal identifier is optional and when none is specified then the file is used for all unspecified terminals. The type is a file type. Supported file types are: disable Turns off output colorization for all compatible utilities. enable Turns on output colorization; any matching disable files are ignored. scheme Specifies colors used for output. The file format may be specific to the utility, the default format is described below. If there are more files that match for a utility, then the file with the more specific filename wins. For example, the filename "@xterm.scheme" has less priority than "dmesg@xterm.scheme". The lowest priority are those files without a utility name and terminal identifier (e.g., "disable"). The user−specific $XDG_CONFIG_HOME/terminal−colors.d or $HOME/.config/terminal−colors.d overrides the global setting.

DEFAULT SCHEME FILES FORMATThe following statement is recognized: name color−sequence
The name is a logical name of color sequence (for example "error"). The names are specific to the utilities. For more details always see the COLORS section in the man page for the utility. The color−sequence is a color name, ASCII color sequences or escape sequences.

Color namesblack, blink, blue, bold, brown, cyan, darkgray, gray, green, halfbright, lightblue, lightcyan, lightgray, lightgreen, lightmagenta, lightred, magenta, red, reset, reverse, and yellow.

ANSI color sequencesThe color sequences are composed of sequences of numbers separated by semicolons. The most common codes are: 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

Escape sequencesTo specify control or blank characters in the color sequences, C−style \−escaped notation can be used: \a Bell (ASCII 7) \b Backspace (ASCII 8) \e Escape (ASCII 27) \f Form feed (ASCII 12) \n Newline (ASCII 10) \r Carriage Return (ASCII 13) \t Tab (ASCII 9) \v Vertical Tab (ASCII 11) \? Delete (ASCII 127) \_ Space \\ Backslash (\) \^ Caret (^) \# Hash mark (#)
Please 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. For example, to use a red background for alert messages in the output of dmesg(1), use: echo 'alert 37;41' >> /etc/terminal−colors.d/dmesg.scheme

CommentsLines where the first non−blank character is a # (hash) are ignored. Any other use of the hash character is not interpreted as introducing a comment.

ENVIRONMENTTERMINAL_COLORS_DEBUG=all enables debug output.

FILES$XDG_CONFIG_HOME/terminal−colors.d $HOME/.config/terminal−colors.d /etc/terminal−colors.d

EXAMPLEDisable colors for all compatible utilities: touch /etc/terminal−colors.d/disable
Disable colors for all compatible utils on a vt100 terminal: touch /etc/terminal−colors.d/@vt100.disable
Disable colors for all compatible utils except dmesg(1): touch /etc/terminal−colors.d/disable touch /etc/terminal−colors.d/dmesg.enable

COMPATIBILITYThe terminal−colors.d functionality is currently supported by all util−linux utilities which provides colorized output. For more details always see the COLORS section in the man page for the utility.

REPORTING BUGSFor bug reports, use the issue tracker at <https://github.com/util−linux/util−linux/issues>.

AVAILABILITYterminal−colors.d is part of the util−linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util−linux/>.
0
Johanes Gumabo
Data Size   :   27,197 byte
man-terminal-colors.d.5Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 237,809
Visitor ID   :     :  
Visitor IP   :   3.135.208.236   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (rof_nr_xxx|123|terminal-colors.d.5|13|\n[.ss] 0 |.ss \n[.ss] 0 )         (parse_manual_page_|249|terminal-colors.d.5|22|am|. am URL )         (parse_manual_page_|249|terminal-colors.d.5|24|.|. . )         (parse_manual_page_|249|terminal-colors.d.5|25|am|. am MTO )         (parse_manual_page_|249|terminal-colors.d.5|27|.|. . )         (parse_manual_page_|249|terminal-colors.d.5|28|LINKSTYLE|. LINKSTYLE blue R < > )