Re: [asterisk-users] Asterisk Console color

2008-10-22 Thread Ivar Dahl


 -Opprinnelig melding-
 Fra: [EMAIL PROTECTED] [mailto:asterisk-users-
 [EMAIL PROTECTED] På vegne av Dwayne Hubbard
 Sendt: 21. oktober 2008 19:04
 Til: Asterisk Users Mailing List - Non-Commercial Discussion
 Emne: Re: [asterisk-users] Asterisk Console color
 
 
 - Armand Fumal [EMAIL PROTECTED] wrote:
 
  Since I'm using ubuntu 8.04.1 and asterisk 1.4.22 I cannot have color
  in console.
  Do I miss a package or compilation option ?
 
 
 Edit your terminal foreground and background color scheme to white on
 black
 
 -Dwayne.
 



And also change Built-In-Schemes to XTerm. That worked for me...

-- Ivar

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Console color

2008-10-22 Thread Tzafrir Cohen
On Tue, Oct 21, 2008 at 06:43:31PM +0200, Armand Fumal wrote:
 Hi,
 
 Since I'm using ubuntu 8.04.1 and asterisk 1.4.22 I cannot have color in 
 console.
 Do I miss a package or compilation option ?

http://bugs.digium.com/9048

The fix for this issue is to tell Asterisk to pretend it has a valid
terminal if it is daemonized. It doesn't matter for the daemon either
way, and it does matter for remote terminals.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Console color

2008-10-21 Thread Dwayne Hubbard

- Armand Fumal [EMAIL PROTECTED] wrote:

 Since I'm using ubuntu 8.04.1 and asterisk 1.4.22 I cannot have color
 in console.
 Do I miss a package or compilation option ?


Edit your terminal foreground and background color scheme to white on black

-Dwayne.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Console color

2008-10-21 Thread Tilghman Lesher
On Tuesday 21 October 2008 11:43:31 Armand Fumal wrote:
 Since I'm using ubuntu 8.04.1 and asterisk 1.4.22 I cannot have color in
 console. Do I miss a package or compilation option ?

Neither.  The startup scripts changed slightly, such that they no longer
output to a terminal.  Because there is no console, Asterisk cannot detect
which control codes to send (hence, no color).  Note that if you startup
Asterisk with safe_asterisk, this isn't a problem, as safe_asterisk attaches
the process to a terminal (typically, pty8).

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Console color

2008-10-21 Thread Armand Fumal
The problem is in asterisk -r

My terminal (ssh client) handle color correctly but with asterisk in verbose 
level 3 for debug, I have not color, it is difficult to read.

Does is the startup script also ?


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Tilghman Lesher
Envoyé : mardi 21 octobre 2008 19:16
À : Asterisk Users Mailing List - Non-Commercial Discussion
Objet : Re: [asterisk-users] Asterisk Console color

On Tuesday 21 October 2008 11:43:31 Armand Fumal wrote:
 Since I'm using ubuntu 8.04.1 and asterisk 1.4.22 I cannot have color in
 console. Do I miss a package or compilation option ?

Neither.  The startup scripts changed slightly, such that they no longer
output to a terminal.  Because there is no console, Asterisk cannot detect
which control codes to send (hence, no color).  Note that if you startup
Asterisk with safe_asterisk, this isn't a problem, as safe_asterisk attaches
the process to a terminal (typically, pty8).

--
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Asterisk Console color

2008-10-21 Thread Tilghman Lesher
On Tuesday 21 October 2008 13:33:42 Armand Fumal wrote:
 The problem is in asterisk -r

There is no such problem.  All 'asterisk -r' does is to take output from
a pipe and sends it to your terminal.  It is the core Asterisk process which
is failing to generate terminal color codes.

 My terminal (ssh client) handle color correctly but with asterisk in
 verbose level 3 for debug, I have not color, it is difficult to read.

 Does is the startup script also ?

Yes, it's still the startup script which is at fault.

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users