[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:11:53 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:11 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
====================================================================== 

---------------------------------------------------------------------- 
 (0091426) pkempgen (reporter) - 2008-08-14 17:11
 http://bugs.digium.com/view.php?id=13306#c91426 
---------------------------------------------------------------------- 
I don't think the patch provides the behavior I had in mind. I mean: what
if somebody sets their terminal's default color to a dark red? or a light
blue? While int opposite(int color) looks like a good thing, ls or vim
don't do that. They just leave the background color as is and do not try
to find the opposite foreground color. I don't have to tell ls/dircolors
that whitebackground=yes - it works out of the box with the terminal set
to white background, black foreground. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-14 17:11 pkempgen       Note Added: 0091426                          
======================================================================




More information about the asterisk-bugs mailing list