> On 2020-05-31 15:59, Antony Stone wrote: > On Sunday 31 May 2020 at 15:44:46, Fourhundred Thecat wrote: > > So, try: > > export ASTERISK_PROMPT="%C31[%H]: "does this work for you? Did you test it on your side? It color prompt works for anybody, could you please post a working example? Or is this a fictional functionality that actually does not work ?
Hello Fourhundred, Sunday, May 31, 2020, 9:04:10 AM, you wrote: Fourhundred> Did you test it on your side? Fourhundred> It color prompt works for anybody, could you please post a working example? Fourhundred> Or is this a fictional functionality that actually does not work ? I typed this at the terminal prompt: export ASTERISK_PROMPT="%C31[%H]: " Typing at the same place: echo $TERM returns xterm And now I have colored prompts at the Asterisk command line, so I can assure you it can work. Kind of cool, 14 years using Asterisk and because of your question, I now have colored prompts. Do I have to do something to make sure that ASTERISK_PROMPT lives through a reboot? -- Ira
> On 2020-05-31 18:39, Ira wrote: > > I typed this at the terminal prompt: export ASTERISK_PROMPT="%C31[%H]: " > > Typing at the same place: echo $TERM returns xterm > > And now I have colored prompts at the Asterisk command line, so I can > assure you it can work. Kind of cool, 14 years using Asterisk and > because of your question, I now have colored prompts. > > Do I have to do something to make sure that ASTERISK_PROMPT lives > through a reboot?I would add the export to .bashrc/.zshrc or whatever shell you are using why does it not work for me? My terminal clearly supports 256 colors.