Gentoo Archives: gentoo-dev

From: Collins Richey <erichey2@××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] use of color
Date: Sun, 15 Jul 2001 10:24:03
Message-Id: 20010715103334.0a7d067a.erichey2@home.com
In Reply to: Re: [gentoo-dev] use of color by Gontran
1 [ snips ]
2
3 On Sat, 14 Jul 2001 11:12:55 -0700 Gontran <gontran@×××××××.net> wrote:
4
5 > * Collins Richey (erichey2@××××.com) wrote:
6 > > The shell and many of the tools on Gentoo use color which choice I
7 > find to
8 > > be absolutely worthless however popular this bit of eye candy may be
9 > for
10 > > others. On XFCE the default background for Terminal makes the color
11 > > displays almost illegible.
12 > >
13 > > Could someone post instructions to find and kill the color settings,
14 > ie
15 > > shell prompt, man, and any other tools that use color setting.
16 >
17
18 > Now if you're using sh for your shell, you may want to look at
19 > /etc/profile
20 > and hack about in those conditions at the 'export PS1' lines.
21 >
22
23 > Or you could just change your default environment variable PAGER from
24 > 'most' to 'less' (sounds like a bad idea doesn't it?).
25 >
26
27 > Now to add a counter opinion: I find the use of color in all aspects of
28 > Gentoo
29 > not only tremendously refreshing but valuable.
30
31 Thanks, Gontran, this is just what I needed.
32
33 I agree with you wholeheartedly. For the vast majority of users,
34 colorization adds a really spiffy, professional touch. For me -
35 colorblind and less than 20-20 eyesight - the color is an irritant, and it
36 renders illegible certain essential bits of info. Therefor, a plain
37 vanilla screen is a very good thing (tm).
38
39 So now I have
40 export PS1='\u@\h \W #' for root
41 export PS1='\u@\h \W $' for others
42 export PAGER='/usr/bin/less'
43 And I am overjoyed with the results.
44
45 BTW, this also corrects a Gentooism that is IMHO in very poor taste - the
46 standard Gentoo setup does not differentiate the root/other prompt with
47 #/$ as does every other distro in the known universe.
48
49 Thanks again for your help,
50 --
51 Collins Richey
52 Denver Area
53 Gentoo_rc5 XFCE