1 |
Hi, |
2 |
|
3 |
Am Sonntag, 10. Jun 2007, 15:06:03 -0500 schrieb Karl Haines: |
4 |
> Color is pretty ;) lol. It makes things interesting! I agree however |
5 |
> that there might need to be some way to turn it off easily. |
6 |
|
7 |
As far as I see, most e* tools respond on an appended "|cat" |
8 |
or have at least a non-color option. Ok, still there are |
9 |
cursor positioning sequences. |
10 |
|
11 |
I tried to switch them off; I managed to do this only by |
12 |
modifing </sbin/functions.sh>. Further, when I give the |
13 |
--nocolor option to an init script only the second line of |
14 |
those below will lose its colour, the first one still |
15 |
appears in green and blue. |
16 |
|
17 |
* Caching service dependencies ... * [ ok ] |
18 |
* Setting clock via the NTP client 'ntpdate' ... * [ ok ] |
19 |
|
20 |
Some time ago I happened to write an equery redesign in |
21 |
Ruby, just for fun. It's far from perfect but it definitely |
22 |
won't output any colors if you don't want them. Of course, |
23 |
init scripts are more difficult to handle because they are |
24 |
written in Bash. In case anyone finds the project is worth |
25 |
being pursued, here's the code: |
26 |
|
27 |
http://www.bertram-scharpf.de/tmp/equery.rb |
28 |
|
29 |
Bertram |
30 |
|
31 |
|
32 |
-- |
33 |
Bertram Scharpf |
34 |
Stuttgart, Deutschland/Germany |
35 |
http://www.bertram-scharpf.de |
36 |
-- |
37 |
gentoo-user@g.o mailing list |