[asterisk-bugs] [Asterisk 0013306]: [patch] Optionally use black on white for the terminal settings

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 25 15:07:26 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13306 
====================================================================== 
Reported By:                Corydon76
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13306
Category:                   Core/General
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-14 15:14 CDT
Last Modified:              2008-08-25 15:07 CDT
====================================================================== 
Summary:                    [patch] Optionally use black on white for the
terminal settings
Description: 
Jared Smith schrieb:
> On Thu, 2008-08-14 at 20:35 +0200, Philipp Kempgen wrote:
>> Whenever something spits out lines with a different background
>> color (of a varying runlength!) my eyes start to hurt.
> 
> You can turn of the ANSI color support completely by adding
> "nocolor=yes" to the [options] section of asterisk.conf and then
> restarting Asterisk.

Sure. But I want colored output on my default background color.
:-)

ls with dircolors works perfectly. So I was curious if there
is a reason for Asterisk to behave differently (forcing the
background color to black).

Grüße,
Philipp Kempgen
====================================================================== 

---------------------------------------------------------------------- 
 (0091712) pkempgen (reporter) - 2008-08-25 15:07
 http://bugs.digium.com/view.php?id=13306#c91712 
---------------------------------------------------------------------- 
The reason for not using opposite foreground colors on white background
is that other software (like ls or vim) doesn't do that either (except
for white->black of course). So currently that's the best thing to do.

I can confirm that my patch works in Apple's Terminal.app which defaults
to "xterm-color" emulation.
With Corydon's patch some "colored" text is rendered in black because the
terminal doesn't support the dim attribute (at least mine doesn't).

Any other testers? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-25 15:07 pkempgen       Note Added: 0091712                          
======================================================================




More information about the asterisk-bugs mailing list