[Asterisk-Dev] 'remote' console color

Chris Wade clwade at sparco.com
Thu Oct 6 10:42:15 MST 2005


I recently upgraded to head for some testing in a production environment 
(very forgiving user group :) and noticed that there is no color on the 
'remote' console.  If I start asterisk with 'asterisk -c' I get color, 
but any other way, no color!  I've 'fixed' this below, but I don't think 
this fix is right as the line I've changed hasn't been touched since 
2002.  Could someone please comment on this as I remember seeing 
something about color output in the last two or three months of cvs updates.

diff -u -r1.14 term.c
--- term.c      14 Sep 2005 20:46:49 -0000      1.14
+++ term.c      6 Oct 2005 17:41:04 -0000
@@ -80,7 +80,7 @@

         if (!term)
                 return 0;
-       if (!option_console || option_nocolor || !option_nofork)
+       if (option_nocolor || !option_nofork)
                 return 0;

         for (i=0 ;; i++) {


Thanks,
Chris

-- 
Christopher L. Wade, CCNA, CCDA, CQS-CIPTES, CQS-CWLSS




More information about the asterisk-dev mailing list