Re: [Asterisk-Users] Color in console [SOLVED]

2004-08-18 Thread Dan Mahoney, System Admin
On Wed, 4 Aug 2004, Steven Critchfield wrote:
Asterisk apparently decides whether or not to display color to users based 
on the TERM variable under which asterisk was launched, not under which 
it's being connected to, so if you start it under screen, but later 
connect from linux you won't see colors.

The fact that the lines in term.c don't consider screen to be 
vt100-compatible is an interesting thing that I don't consider a bug but 
merely an oversight.

-Dan Mahoney

On Wed, 2004-08-04 at 17:56, Dan Mahoney, System Admin wrote:
Hey all.  I have a color-capable console (color ls works, and I can run
any color-smart program like naim and bitchX), but for some reason the
color in the console for asterisk, whether started with -c or
safe_asterisk, isn't working for me.
Any ideas as to why?
check your TERM variable. I've seen apps just not like certain term
values.
--
Steven Critchfield [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
--
Of course she's gonna be upset!  You're dealing with a woman here Dan, 
what the hell's wrong with you?

-S. Kennedy, 11/11/01
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Color in console

2004-08-05 Thread Dan Mahoney, System Admin
On Wed, 4 Aug 2004, Steven Critchfield wrote:
On Wed, 2004-08-04 at 17:56, Dan Mahoney, System Admin wrote:
Hey all.  I have a color-capable console (color ls works, and I can run
any color-smart program like naim and bitchX), but for some reason the
color in the console for asterisk, whether started with -c or
safe_asterisk, isn't working for me.
Any ideas as to why?
check your TERM variable. I've seen apps just not like certain term
values.
screen in both.  That's not it.
Although I wonder if installing screen will insert the correct values into 
the termcap file on the remote system.

-Dan
--
there is no loyalty in the business, so we stay away from things that piss people off
-The Boss, November 12, 2002
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Color in console

2004-08-05 Thread Kevin Walsh
Dan Mahoney, System Admin [EMAIL PROTECTED] wrote:
 Hey all.  I have a color-capable console (color ls works, and I can run
 any color-smart program like naim and bitchX), but for some reason the
 color in the console for asterisk, whether started with -c or
 safe_asterisk, isn't working for me.
 
I don't have naim or bitchX here, but I suspect that they use terminfo,
rather than the legacy termcap system.  If I'm right about those two
applications then you can't the results with what you see from Asterisk.

I always switch colour support off anyway, using the -n switch, if
I need to start Asterisk manually to test something.  I generally
connect to a running Asterisk in remote mode, and don't get colours in
that mode.  If it's a bug then it's not one that bothers me in the
slightest. :-)

-- 
   _/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
  _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
 _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
_/   _/  _/_/_/_/  _/_/_/_/  _/_/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Color in console

2004-08-04 Thread Dan Mahoney, System Admin
Hey all.  I have a color-capable console (color ls works, and I can run 
any color-smart program like naim and bitchX), but for some reason the 
color in the console for asterisk, whether started with -c or 
safe_asterisk, isn't working for me.

Any ideas as to why?
I don't think it's my termcap, although I could post that if y'all really 
wanted it.

Asterisk was built, and is used:
From CVS on a fedora core 1 system while logged in via ssh from a machine 
running FreeBSD 4.9, under Screen version 3.09.13 (FAU) 5-Sep-02 (screen 
on the BSD machine, not the core 1), and that BSD system is connected to 
with SecureCRT 3.2

That all SHOULDN'T matter, but I'm posting it because I've known odd 
things to show up in places (like phpinfo() shows the termcap I compiled 
php with).

This is prolly a low priority, not even something I'd open as a bug, but 
it makes debugging quite a bit easier, so if anyone has anything, it's 
appreciated.

-Dan
--
Of course she's gonna be upset!  You're dealing with a woman here Dan, 
what the hell's wrong with you?

-S. Kennedy, 11/11/01
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Color in console

2004-08-04 Thread Steven Critchfield
On Wed, 2004-08-04 at 17:56, Dan Mahoney, System Admin wrote:
 Hey all.  I have a color-capable console (color ls works, and I can run 
 any color-smart program like naim and bitchX), but for some reason the 
 color in the console for asterisk, whether started with -c or 
 safe_asterisk, isn't working for me.
 
 Any ideas as to why?

check your TERM variable. I've seen apps just not like certain term
values.
-- 
Steven Critchfield [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users