<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>I had posted this a few hours ago, but got caught in moderation
      for size.  I trimmed down the pic and attached.</p>
    <p>I am on an Ubuntu 16 workstation, in an Ubuntu terminal window,
      ssh'ed to the PBX (amazon instance).  You can see my term type
      matches yours.</p>
    <p>I really don't know why yours doesn't work.  Perhaps you can tell
      us what your terminal emulator is, what you are running it on,
      etc.  Whatever it is, it isn't properly interpreting the escape
      codes for xterm-256color.  You could possibly try some different
      terminal types, but this is an odd situation if the remote shell
      (is it remote?) can't determine your termtype.  This is pretty
      ancient code.</p>
    <p>j<br>
    </p>
    <p><br>
    </p>
    <div class="moz-signature">
      <p style="FONT-SIZE: 10pt; MARGIN-BOTTOM: 5pt; FONT-FAMILY: ARIAL;
        MARGIN-TOP: 0pt">
      </p>
      <table style="width:480px" cellspacing="0" cellpadding="0"
        border="0">
        <tbody>
          <tr>
            <td style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; WIDTH:
              200px" rowspan="2" valign="top"> <img
                src="http://www.stratustalk.com/email/logojeff.gif"
                border="0"> </td>
            <td style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; WIDTH:
              280px; border-left: 1px solid #3d85c6; PADDING-LEFT: 20px"
              valign="top"> <strong style="FONT-SIZE: 18pt;
                FONT-FAMILY: Arial Black">Jeff LaCoursiere</strong><br>
              STRATUSTALK, INC. / CTO<br>
              <br>
              <table style="WIDTH: 255px" cellspacing="0"
                cellpadding="0" border="0">
                <tbody>
                  <tr>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 80px; COLOR: #000000" valign="top">Phone:</td>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 175px; COLOR: #000000" valign="top"><strong>+1
                        703.496.4990 x108</strong></td>
                  </tr>
                  <tr>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 80px; COLOR: #000000" valign="top">Mobile:</td>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 175px; COLOR: #000000" valign="top"><strong>+1
                        815.546.6599</strong></td>
                  </tr>
                  <tr>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 80px; COLOR: #000000" valign="top">Email:</td>
                    <td style="FONT-SIZE: 10pt; FONT-FAMILY: Arial;
                      WIDTH: 175px" valign="top"><a style="FONT-SIZE:
                        9pt; TEXT-DECORATION: none; COLOR: #000000"
                        href="mailto:jeff@stratustalk.com"><strong>jeff@stratustalk.com</strong></a>
                    </td>
                  </tr>
                  <tr>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 80px; COLOR: #000000" valign="top">Website:</td>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 175px; COLOR: #000000" valign="top"> <a
                        style="FONT-SIZE: 9pt; TEXT-DECORATION: none;
                        COLOR: #000000"
                        href="https://www.stratustalk.com"><strong>https://www.stratustalk.com</strong></a></td>
                  </tr>
                  <tr>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 80px; COLOR: #000000" valign="top">Address:</td>
                    <td style="FONT-SIZE: 9pt; FONT-FAMILY: Arial;
                      WIDTH: 175px; COLOR: #000000" valign="top"><strong>One
                        Freedom Square<br>
                        13th Floor<br>
                        Reston, VA 20190</strong></td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
          <tr>
            <td style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; WIDTH:
              280px; PADDING-LEFT: 20px" valign="bottom"> <a
                href="https://www.facebook.com/jeff.lacoursiere"><img
                  src="http://www.stratustalk.com/email/fb.png"
                  border="0"></a>  <a
                href="https://linkedin.com/in/jeff-lacoursiere-884361"><img
                  src="http://www.stratustalk.com/email/ln.png"
                  border="0"></a>  <a
                href="https://www.twitter.com/stratustalk"><img
                  src="http://www.stratustalk.com/email/tt.png"
                  border="0"></a>  </td>
          </tr>
        </tbody>
      </table>
    </div>
    <div class="moz-cite-prefix">On 5/31/20 11:42 AM, Fourhundred Thecat
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:0e86929e-b97e-99a8-190e-8c9f83bf9f2b@gmx.ch">
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">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?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
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.

</pre>
    </blockquote>
  </body>
</html>