bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs' list-colors-display functionality, but for the shell/terminal


From: Dan Jacobson
Subject: emacs' list-colors-display functionality, but for the shell/terminal
Date: 16 Apr 2001 09:45:07 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Suggestion: emacs has the command "list-colors-display": "Display
names of defined colors, and show what they look like."  But how about
for the shell terminal?  The closest GNU utility one finds is
dircolors -p, but I want to see all the colors and what they look like
in person.  Therefore perhaps add list-colors-display style
functionality to a new command line switch to dircolors, or something.

The idea is there should be a GNU standard tool to show this [not just
someone posting something like the following and then "case closed".

# show colors samples on ascii terminal.  jidanni 4/2001
i=${1-30} stop=${2-50}
while [ $i -le $stop ]
do
        echo -e "\e[01;${i}m" This is color \# $i "\e[00m"
        #didn't try foreground background combinations though
        i=`expr $i + 1`
done
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]