[asterisk-users] asterisk prompt

2014-11-25 Thread Martin Vegter
Hello, I am trying to set up color prompt. In the documentation I have found this: %Cn[;n] Change terminal foreground (and optional background) color to specified. A full list of colors may be found in include/asterisk/term.h* But nowhere could I find what format the color code should be. I

Re: [asterisk-users] Asterisk Prompt

2007-08-24 Thread Tzafrir Cohen
On Thu, Aug 23, 2007 at 03:13:40PM -0700, bilal ghayyad wrote: Dear Mojo; Thanks for your help. Why you said export ASTERISK_PROMPT=new prompt ? To make that a new value for the environment variable. An alternative method is: ASTERISK_PROMPT=new prompt asterisk -r There are actually

Re: [asterisk-users] Asterisk Prompt

2007-08-24 Thread Mojo with Horan Company, LLC
(sent to the list because it's pertinent) Bilal, anything can be a unix variable, it doesn't matter what it's called. #!/bin/bash export THREE=3 export FIVE=5 ((EIGHT=$THREE+$FIVE)) echo $EIGHT THREE, FIVE, and EIGHT are all just

[asterisk-users] Asterisk Prompt

2007-08-23 Thread bilal ghayyad
Hi List; I read the following sentence: The CLI prompt is set with the ASTERISK_PROMPT UNIX environment variable In the following link: http://www.voip-info.org/wiki/index.php page=Asterisk+CLI+prompt The question is: what is the ASTERISK_PROMPT UNIX environment variable and where I can

Re: [asterisk-users] Asterisk Prompt

2007-08-23 Thread Mojo with Horan Company, LLC
I'm not sure what features/variables you can use, or where to find information about that, but what this basically means is you can change your CLI prompt by this: export ASTERISK_PROMPT=new prompt then, what you access the CLI, instead of: hostname*CLI you get new prompt Moj bilal

Re: [asterisk-users] Asterisk Prompt

2007-08-23 Thread bilal ghayyad
Dear Mojo; Thanks for your help. Why you said export ASTERISK_PROMPT=new prompt ? Regards Bilal I'm not sure what features/variables you can use, or where to find information about that, but what this basically means is you can change your CLI prompt by this: export ASTERISK_PROMPT=new