[asterisk-users] CLI color prompt

Telium Technical Support support at telium.io
Sun May 31 08:56:52 CDT 2020

Have you tried adding ANSI color escape codes?

There's lots of documentation for BASH prompt color using escape codes.  Give those a try.

(I haven't tried it, but would make sense)

-----Original Message-----
From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Fourhundred Thecat
Sent: Sunday, May 31, 2020 9:45 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] CLI color prompt


how can I change the color of the asterisk prompt to red ?

I read in the wiki that I can use %Cn[;n]


But what does this mean ?
There is no example how to actually use it.
where do I put it?
What syntax is that anyway?
How do I specify red ?

I currently have this in my environment:

export ASTERISK_PROMPT="[%H]: "

which changes the prompt to hostname

Ho can I make this prompt red ?


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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-users mailing list