Subject: Re: odd bash wrapping due to ansi codes
From: "Robert Praetorius" <[email-masked]>
To: Chris Abbey <[email-masked]>
Cc: [email-masked]
Date: Wed, 20 Sep 2000 00:08:45 +1000

> '<0x1b>]0;\w<0x07><0x1b>[1m<0x1b>[34m\w<0x1b>[0m $ '

     I've found that bash is happier when I wrap ANSI (or ANSIesque) 
escape and control sequences inside \[ . . . \].  To quote from the 
bash man page:

          \[   begin a sequence of non-printing characters, which
               could be used to embed a terminal control sequence
               into the prompt
          \]   end a sequence of non-printing characters

--
Want to unsubscribe from this list?
Send a message to [email-masked]