I'm pretty sure that means your are using a non-color capable terminal, or your termtype variable is incorrect.  What are you using for a terminal emulator?

        *Jeff LaCoursiere*
STRATUSTALK, INC. / CTO

Phone:  *+1 703.496.4990 x108*
Mobile:         *+1 815.546.6599*
Email:  *j...@stratustalk.com* <mailto:j...@stratustalk.com>
Website:        *https://www.stratustalk.com*
Address:        *One Freedom Square
13th Floor
Reston, VA 20190*

<https://www.facebook.com/jeff.lacoursiere> <https://linkedin.com/in/jeff-lacoursiere-884361> <https://www.twitter.com/stratustalk>

On 5/31/20 9:03 AM, Fourhundred Thecat wrote:
> On 2020-05-31 15:59, Antony Stone wrote:
On Sunday 31 May 2020 at 15:44:46, Fourhundred Thecat wrote:

"%Cn[;n] - Change terminal foreground (and optional background) color to
specified A full list of colors may be found in include/asterisk/term.h"

So, try:

export ASTERISK_PROMPT="%C31[%H]: "

(I got 31 from reading the term.h file.)

thanks, but that does not work for me. When I use your example:

export ASTERISK_PROMPT="%C31[%H]: "

I get this prompt (voip is my hostname):

[1;31m[voip]: [1;0m

<<attachment: jeff.vcf>>

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

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

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

Reply via email to