[PLUG] remote Konsole colors mystery

Paul Heinlein heinlein at madboa.com
Thu Dec 21 19:38:39 UTC 2006


On Thu, 21 Dec 2006, Carla Schroder wrote:

> I'm running a test Asterisk server on CentOS 4.4. Mostly I 
> administer it remotely over SSH. A funny thing happens when I open 
> the Asterisk console:
> 
> [root at asterisk1 ~]# asterisk -r
> <snip>
> Connected to Asterisk 1.4.0-beta3 currently running on asterisk1 (pid = 3121)
> Verbosity is at least 3
> asterisk1*CLI>
> 
> I'm using Konsole on the remote PC. The colors are black fonts, 
> white background. As soon as I run a command on the Asterisk CLI, 
> the colors change to black background, colored fonts. It doesn't 
> happen with every Asterisk command, just most of them. It doesn't 
> change with opening the Asterisk CLI, I have to run a command.
> 
> Where is this configured? [...]

It sounds like there are some ANSI escape sequences embedded in 
Asterick. The TERM environment variable is key here. See, e.g.,

http://lists.digium.com/pipermail/asterisk-dev/2005-October/016029.html

-- 
Paul Heinlein <> heinlein at madboa.com <> www.madboa.com



More information about the PLUG mailing list