Re: BUG: bash-4.0.17 and SIGWINCH during initialization

2009-04-14 Thread Aron Griffis
Chet Ramey wrote: [Mon Apr 13 2009, 05:48:57PM EDT] > Try the attached patch and let me know how it works. Works for me on bash-4.0.17. Thanks Chet! Aron

Re: backward-kill-word is not refreshing correctly

2009-04-14 Thread Matt Zyzik
On Tue, Apr 14, 2009 at 02:07:32PM -0400, Chet Ramey wrote: > Chet Ramey wrote: > > > OK, I figured out why I couldn't reproduce it. My locale is always set > > to en_US.UTF-8 (multibyte), and the problem only manifests itself when > > in non-multibyte mode. This is why I originally asked for yo

Re: backward-kill-word is not refreshing correctly

2009-04-14 Thread Chet Ramey
Chet Ramey wrote: > OK, I figured out why I couldn't reproduce it. My locale is always set > to en_US.UTF-8 (multibyte), and the problem only manifests itself when > in non-multibyte mode. This is why I originally asked for your locale -- > that was the missing piece. It should be pretty easy t

Re: backward-kill-word is not refreshing correctly

2009-04-14 Thread Chet Ramey
Matt Zyzik wrote: > 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

Re: backward-kill-word is not refreshing correctly

2009-04-14 Thread Greg Wooledge
On Mon, Apr 13, 2009 at 11:45:33PM -0400, Matt Zyzik wrote: > > > PS1='[\[\033[01;32m\]\u \[\033[01;31m\]- \[\033[01;34m\]\w\[\033[00m\]]$ ' > 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

Re: backward-kill-word is not refreshing correctly

2009-04-14 Thread Andreas Schwab
Matt Zyzik writes: > 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 >> y