[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
Hello,
how can I change the color of the asterisk prompt to red ?
I read in the wiki that I can use %Cn[;n]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+CLI+Configuration
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 ?
thanks,
--
_____________________________________________________________________
-- 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
More information about the asterisk-users
mailing list