[Asterisk-Dev] 'remote' console color

Martin Vit vit at lam.cz
Fri Oct 7 16:04:54 MST 2005


start asterisk TERM=linux asterisk ....

Chris Wade wrote:

> 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
>




More information about the asterisk-dev mailing list