Gentoo Archives: gentoo-dev

From: splite-gentoo@××××××××××××××××.edu
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] more default DIR_COLORS
Date: Fri, 14 May 2004 15:28:07
Message-Id: 20040514152807.GA16819@sigint.cs.purdue.edu
In Reply to: Re: [gentoo-dev] more default DIR_COLORS by Daniel Armyr
1 On Fri, May 14, 2004 at 09:56:22AM +0100, Daniel Armyr wrote:
2 > > and maybe others have suggestions for a sweeter DIR_COLORS ?
3 >
4 > Just watch out for the dark blue (34) I got stuck with that before once on
5 > a black background and that was not fun in the long run.
6
7 Are there any published guidelines for developing colorized console apps?
8 Perhaps something like:
9
10 1. If you change the foreground color, you must change the background
11 to a contrasting color so the character is still visible. (i.e.
12 don't assume the default background color is constrasting)
13
14 2. Remember that 10% of men (and some women too) are color-blind when
15 chosing your colors.
16
17 3. Consider using bold, underline, and/or reverse video instead. (folks
18 with dumb terminals for consoles will thank you)
19
20 4. Only use color, reverse video, etc. when doing so conveys additional
21 information to the user. (i.e. don't make body text green just
22 because you like green)
23
24 5. Stick with plain text if you're not outputting to a tty.
25
26 6. There is NO rule six.
27
28
29 I use black text on white background (you know, the default colors for
30 xterm, gnome-terminal, konsole, etc.) and still have trouble reading
31 the output from certain Gentoo-specific commands, most notably java-config.
32 portage -v output looks like fruit salad (light green package names on
33 a white background? Why change the color of the package name at all?
34 I've never seen it be anything but green.)
35
36 Yes, I know about NOCOLOR and java-config -n. I don't want to get rid
37 of the colors, I'd just like to see them used with a bit more care and
38 subtlety.
39
40 --
41 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] more default DIR_COLORS Markus Nigbur <pyrania@g.o>