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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 14 17:37:28 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-14 17:37 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
====================================================================== 

---------------------------------------------------------------------- 
 (0091428) Corydon76 (administrator) - 2008-08-14 17:37
 http://bugs.digium.com/view.php?id=13306#c91428 
---------------------------------------------------------------------- 
Well, the issue is that I couldn't find (in the 2 minutes that I looked)
how to determine the color code of the native background.  If you can find
that information, I'll be happy to see how I can make that work.

The issue that I'm dealing with on colors is that colors are embedded in
many places throughout the code, and I chose to make the colors work on the
two most common background colors.  In other words, the 'opposite' colors
are not true color opposites, but rather tuned to what is legible on the
screen.  If you pick another color, like red, for the background color,
it's difficult to know how to translate the various existing colors in a
way that makes them legible in a portable way, without hardcoding every
single possible combination. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-14 17:37 Corydon76      Note Added: 0091428                          
======================================================================




More information about the asterisk-bugs mailing list