bug#33915: ls / dircolors should support more than 8 colors
From:
Vincent Lefevre
Subject:
bug#33915: ls / dircolors should support more than 8 colors
Date:
Sun, 30 Dec 2018 02:21:15 +0100
User-agent:
Mutt/1.11.1+76 (a5b64f6c) vl-114418 (2018-12-29)
ls / dircolors should support more than 8 colors.
First, "dircolors -p" says:
# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
But one can get bright colors without bold by using 90, 91, etc.
This is useful with gnome-terminal.
I think that this should be documented.
Support for more than 16 colors could be nice...
--
Vincent Lefèvre <address@hidden> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)