[asterisk-bugs] [Asterisk 0014130]: [patch] CLI shows colorization code incorrectly sometimes

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 10:54:59 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14130 
====================================================================== 
Reported By:                coolmig
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14130
Category:                   Core/General
Reproducibility:            sometimes
Severity:                   trivial
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-12-23 08:02 CST
Last Modified:              2009-01-21 10:54 CST
====================================================================== 
Summary:                    [patch] CLI shows colorization code incorrectly
sometimes
Description: 
When the CLI displays colored characters, sometimes looks like the
colorization code fails to display, showing the underlying code of the
color. See the examples.
====================================================================== 

---------------------------------------------------------------------- 
 (0098322) Corydon76 (administrator) - 2009-01-21 10:54
 http://bugs.digium.com/view.php?id=14130#c98322 
---------------------------------------------------------------------- 
jamesgolovich: No, it was extra NULL characters being inserted into the
stream.  For some reason, though, my terminal is not treating the inserted
NULLs as injurious to the color codes, while the reporter's terminal is.  I
had the right idea before, though the wrong fix.

coolmig:  New patch uploaded, tested on my system with tee, and it seems
to eliminate the NULLs properly.  Please test this patch and report back. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 10:54 Corydon76      Note Added: 0098322                          
======================================================================




More information about the asterisk-bugs mailing list