terminal-colors.d - Configure output colorization for various utilities




   Files  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:

          Turns off output colorization for all compatible utilities.

   enable Turns  on  output  colorization;  any matching disable files are

   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.


   Disable 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


   The 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

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

   ANSI color sequences
   The  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 sequences
   To specify control or blank characters in the color sequences,  C-style
   \-escaped notation can be used:

   Bell (ASCII 7)
          	   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

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




          enables debug output.


   The 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.


   terminal-colors.d is part of the util-linux package  and  is  available
   from  Linux  Kernel Archive ftp://ftp.kernel.org/pub/linux/utils/util-


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.

Free Software

Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.

Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.

Free Books

The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.

Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.

Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.