> On 2020-05-31 16:24, Antony Stone wrote:
On Sunday 31 May 2020 at 16:03:07, Fourhundred Thecat wrote:

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

I get this prompt (voip is my hostname):

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

In that case I suspect you're using a terminal which doesn't support colours.

If "echo $TERM" tells you any sort of "xterm", "vt100", "crt" or "dumb" then
you won't get colour.

my terminal definitely supports colors. I am using colored prompt in
bash/zsh.

echo $TERM gives me:
xterm-256color


--
_____________________________________________________________________
-- 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