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

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: 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: backward-kill-word is not refreshing correctly

2009-04-12 Thread Matt Zyzik
> 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='[\[\033[01;32m\]\u \[\033[01;31m\]

Re: backward-kill-word is not refreshing correctly

2009-04-11 Thread Chet Ramey
> Machine Type: i686-pc-linux-gnu > > Bash Version: 4.0 > Patch Level: 10 > Release Status: release > > Description: > When I type a long string of text and start pressing ctrl-W to > backwards-kill words, bash deletes the words but doesn't visually refresh > (the words still appear on th

Re: backward-kill-word is not refreshing correctly

2009-04-11 Thread Jay Freeman (saurik)
erely, Jay Freeman (saurik) sau...@saurik.com http://www.saurik.com/ - Original Message - From: "Chet Ramey" To: "Jay Freeman (saurik)" Cc: ; ; Sent: Saturday, April 11, 2009 9:14 AM Subject: Re: backward-kill-word is not refreshing correctly ... I can't reproduce the pr

Re: backward-kill-word is not refreshing correctly

2009-04-11 Thread Chet Ramey
Jay Freeman (saurik) wrote: >>> When I type a long string of text and start pressing ctrl-W to >>> backwards-kill words, bash deletes the words but doesn't visually refresh >>> (the words still appear on the command line). This was not occurring for me >>> in the 3.x series of Bash. > >> I havi

Re: backward-kill-word is not refreshing correctly

2009-04-10 Thread Jay Freeman (saurik)
> > When I type a long string of text and start pressing ctrl-W to > > backwards-kill words, bash deletes the words but doesn't visually refresh > > (the words still appear on the command line). This was not occurring for me > > in the 3.x series of Bash. > I having a problem similar to this. F

Re: backward-kill-word is not refreshing correctly

2009-04-10 Thread Jay Freeman (saurik)
On Mar 18, 6:55 pm, m...@ice.filescope.com, zy...@ice.filescope.com wrote: ... >         When I type a long string of text and start pressing ctrl-W to > backwards-kill words, bash deletes the words but doesn't visually refresh > (the words still appear on the command line). This was not occurrin

Re: backward-kill-word is not refreshing correctly

2009-03-19 Thread Chet Ramey
m...@ice.filescope.com wrote: > Configuration Information [Automatically generated, do not change]: > Machine: i686 > OS: linux-gnu > Compiler: i686-pc-linux-gnu-gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' > -D

backward-kill-word is not refreshing correctly

2009-03-18 Thread Matt
Configuration Information [Automatically generated, do not change]: Machine: i686 OS: linux-gnu Compiler: i686-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/loc