Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
Hi, Am Sonntag, 10. Jun 2007, 15:06:03 -0500 schrieb Karl Haines: Color is pretty ;) lol. It makes things interesting! I agree however that there might need to be some way to turn it off easily. As far as I see, most e* tools respond on an appended |cat or have at least a non-color option. Ok, still there are cursor positioning sequences. I tried to switch them off; I managed to do this only by modifing /sbin/functions.sh. Further, when I give the --nocolor option to an init script only the second line of those below will lose its colour, the first one still appears in green and blue. * Caching service dependencies ... * [ ok ] * Setting clock via the NTP client 'ntpdate' ... * [ ok ] Some time ago I happened to write an equery redesign in Ruby, just for fun. It's far from perfect but it definitely won't output any colors if you don't want them. Of course, init scripts are more difficult to handle because they are written in Bash. In case anyone finds the project is worth being pursued, here's the code: http://www.bertram-scharpf.de/tmp/equery.rb Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de -- [EMAIL PROTECTED] mailing list
FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
Am 04.04.2007 um 06:17 schrieb [EMAIL PROTECTED]: Why do --nocolor and --color=n not work (sys-apps/portage-2.1.2.3)? Why does the damned thing default to thinking I want blaring bizarre colors scattered all over my screen? I fully agree! But not only for portage (emerge) but for the whole system. Today I fought with a shell script: #! /bin/bash restart_result=`/etc/init.d/boinc restart /usr/bin/echo -e $restart_result | /root/bin/mail check chroots cron-Oberon and no simpe way to switch color and other ANSI Sequences to off exept by a regular expression. bash color can sometimes be evil ;) Robert ;););) -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Color is pretty ;) lol. It makes things interesting! I agree however that there might need to be some way to turn it off easily. Robert Welz wrote: Am 04.04.2007 um 06:17 schrieb [EMAIL PROTECTED]: Why do --nocolor and --color=n not work (sys-apps/portage-2.1.2.3)? Why does the damned thing default to thinking I want blaring bizarre colors scattered all over my screen? I fully agree! But not only for portage (emerge) but for the whole system. Today I fought with a shell script: #! /bin/bash restart_result=`/etc/init.d/boinc restart /usr/bin/echo -e $restart_result | /root/bin/mail check chroots cron-Oberon and no simpe way to switch color and other ANSI Sequences to off exept by a regular expression. bash color can sometimes be evil ;) Robert ;););) - -- Karl Haines (615)686-5043 [EMAIL PROTECTED] http://karlhaines.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbFmrU1ENKPO6eeYRAtECAJ9fqfpnSaTCY5CislJpBSC8M31i7ACgucVS WqCGl3iSS/dCskM2CuKzX1I= =GEtM -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
On Sunday 10 June 2007, Karl Haines [EMAIL PROTECTED] wrote about 'Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?': Color is pretty ;) lol. It makes things interesting! I agree however that there might need to be some way to turn it off easily. It should also be turned off by default for anything that's not a terminal. or a terminal whose termcap/terminfo/etc. doesn't support the ANSI color feature. One of the most annoying things I've ever seen is ANSI escape codes in emails and/or log files. Gentoo is fairly good about that now, but I'm still having problem with RoR misbehaving in this way. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
On 6/10/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Sunday 10 June 2007, Karl Haines [EMAIL PROTECTED] wrote about 'Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?': Color is pretty ;) lol. It makes things interesting! I agree however that there might need to be some way to turn it off easily. It should also be turned off by default for anything that's not a terminal. or a terminal whose termcap/terminfo/etc. doesn't support the ANSI color feature. One of the most annoying things I've ever seen is ANSI escape codes in emails and/or log files. Gentoo is fairly good about that now, but I'm still having problem with RoR misbehaving in this way. I also dislike the colorization, but for a more specific reason. Gentoo seems to assume one is using white on black rather than the default black on white in terminal windows. This makes yellow lettering entirely unreadable to me. If I could just change all occurrences of yellow to orange (otherwise not much used) I'd probably not mind so much, but the entire scheme seems to be hard-coded. And I don't like white-on-black even though it's labelled Linux console in Konsole. ++ kevin -- Kevin O'Gorman, PhD -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
I also dislike the colorization, but for a more specific reason. Gentoo seems to assume one is using white on black rather than the default black on white in terminal windows. This makes yellow lettering entirely unreadable to me. If I could just change all occurrences of yellow to orange (otherwise not much used) I'd probably not mind so much, but the entire scheme seems to be hard-coded. And I don't like white-on-black even though it's labelled Linux console in Konsole. I don't know if this was mentioned before and if it will fit your needs, but you can change the default colors of portage-output with /etc/portage/color.map. Take a look here: http://www.gentoo.org/news/en/gwn/20060918-newsletter.xml http://gentoo-wiki.com/TIP_Remap_Portage_Colors -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
Kevin O'Gorman [EMAIL PROTECTED] writes: I also dislike the colorization, but for a more specific reason. Gentoo seems to assume one is using white on black rather than the default black on white in terminal windows. This makes yellow lettering entirely unreadable to me. If I could just change all occurrences of yellow to orange (otherwise not much used) I'd probably not mind so much, but the entire scheme seems to be hard-coded. And I don't like white-on-black even though it's labelled Linux console in Konsole. Maybe it should do something similar to emacs and automatically use a different colour scheme depending on whether the terminal is 'dark on light' or 'light on dark'. -- [EMAIL PROTECTED] mailing list
Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin O'Gorman wrote: On 6/10/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Sunday 10 June 2007, Karl Haines [EMAIL PROTECTED] wrote about 'Re: FeatureRequest Was: Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?': Color is pretty ;) lol. It makes things interesting! I agree however that there might need to be some way to turn it off easily. It should also be turned off by default for anything that's not a terminal. or a terminal whose termcap/terminfo/etc. doesn't support the ANSI color feature. One of the most annoying things I've ever seen is ANSI escape codes in emails and/or log files. Gentoo is fairly good about that now, but I'm still having problem with RoR misbehaving in this way. I also dislike the colorization, but for a more specific reason. Gentoo seems to assume one is using white on black rather than the default black on white in terminal windows. This makes yellow lettering entirely unreadable to me. If I could just change all occurrences of yellow to orange (otherwise not much used) I'd probably not mind so much, but the entire scheme seems to be hard-coded. And I don't like white-on-black even though it's labelled Linux console in Konsole. ++ kevin I agree with this also, when using a term window in gnome, kde, etc, the default is always black on white. I always go and change that right off the bat. Ah, well. Gentoo is still the best, lets make it better! - -- Karl Haines (615)686-5043 [EMAIL PROTECTED] http://karlhaines.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbMQZU1ENKPO6eeYRAjykAJ4wPk9GNe1v1BV+qLuZl6I/AtAVcQCg2+zm LUneF8QmlVqRtYRxYg9CvlY= =k57c -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list