Re: backward-kill-word is not refreshing correctly

2009-04-13 Thread Matt Zyzik
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 proble

Re: BUG: bash-4.0.17 and SIGWINCH during initialization

2009-04-13 Thread Nicolai Lissner
On Mon, Apr 13, 2009 at 17:48:57 -0400, Chet Ramey wrote: > Try the attached patch and let me know how it works. Works perfectly here, too :) Thanks a lot for the quick fix.

Re: backward-kill-word is not refreshing correctly

2009-04-13 Thread Chet Ramey
Matt Zyzik wrote: >> If, as seems likely, this is a problem with the calculation of the physical >> cursor position, a good place to start would be your PS1 and PROMPT_COMMAND >> (if any). The locale you're using would be good, too. >> >> Chet > > My PS1, which causes the issue, is: > > PS1='[\[

Re: BUG: bash-4.0.17 and SIGWINCH during initialization

2009-04-13 Thread Chet Ramey
Nicolai Lissner wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' > -DCONF_VENDOR='u