On Mon, Apr 13, 2009 at 05:50:52PM -0400, Chet Ramey wrote:
> > 
> > My PS1, which causes the issue, is:
> > 
> > PS1='[\[\033[01;32m\]\u \[\033[01;31m\]- \[\033[01;34m\]\w\[\033[00m\]]$ '
> 
> Sorry, I still can't reproduce it.  Can you send a series of steps that
> you use to reproduce the problem?  A terminal session log (e.g., that
> produced by `script') might also help.
> 
> Chet

Try to follow these exact instructions. First, set your PS1 to the
above. It should result in a colored prompt. Second, type "asdf" so many
times that it goes passed the width of the terminal and the words begin
to appear on the next line. (Open xterm at its default width to do
this.) At that point, keep hitting either Alt-Bksp or Ctrl-W until you
see bash not refreshing properly.

--Matt


Reply via email to