John Siracusa wrote:
> On 4/8/02 2:41 AM, Stas Bekman wrote:
> 
>>I've searched google, but didn't find any info regarding Term::ANSIColor
>>and suggesting good cross-platform, cross-terminal colors.
> 
> 
> Maybe I didn't understand the earlier part of your message, but can't you
> specify both the foreground and the background color of text?  It'd be ugly,
> but if you specified both you could be (relatively) sure the colors would
> show up.

Try it. The results are ugly.

> If you really want to be safe, you can use an old-style attention-grabbing
> technique like this:
> 
> ********** ################## **********
>               WARNING!!!!!!!
> ********** ################## **********
> 
>     blah blah blah
> 
> ********** ################## **********
>               WARNING!!!!!!!
> ********** ################## **********

well, yes, if we don't figure out how to keep the color and have people 
happy, we will need to do something like that. But it'll make the output 
even longer :(

Also there is an alternative way, try runnning with
APACHE_TEST_NO_COLOR=1 perl Makefile.PL

this is a poor man's version of non-coloured, but still distinguishable 
printing.

> People will see stuff like that :)  Or you could take the high road and just
> print it normally.  As long as it's the last thing printed (i.e. It doesn't
> scroll by while they're away or in another window), people will probably
> read it :)  And if not, it could be argued that they get what they deserve
> ;)

Sure, but those people end up asking questions here :). And it takes a 
few emails before you figure out that they had a warning and ignored it. 
So if we can make these stand out, that would save a lot of time to 
everybody.

Hmm, should we beep on every error? :)
beep; beep; beep; ...; beep() x 100;

;)

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to