[Asterisk-Dev] 'remote' console color

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Oct 6 22:27:07 MST 2005


On Thu, Oct 06, 2005 at 03:23:44PM -0500, Tilghman Lesher wrote:
> On Thursday 06 October 2005 12:42, 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.
> 
> Check the contents of your TERM variable.  It should indicate a terminal
> type for which color is available.  If it is not (e.g. xterm, instead of
> xterm-color), then Asterisk does not generate the color codes.

In the init script that runs the asterisk daemon? Why should it matter
to remote asterisk -r-s?

> 
> Note that this takes effect when you start Asterisk, not when you
> connect to it from a remote console.

What then?

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the asterisk-dev mailing list