Re: Cursor positioning in prompt is sometimes wrong, depending on locale and PS1

2009-06-17 Thread Jim Paris
Chet Ramey wrote: > Jim Paris wrote: > > The cursor positioning in the prompt is sometimes wrong, > > depending on the contents of PS1 and the locale. > > > > Repeat-By: > > > > With this command, the cursor is positioned after the '5', as expected: > > > > env -i LC_CTYPE=en_US PS1=

Re: Cursor positioning in prompt is sometimes wrong, depending on locale and PS1

2009-06-12 Thread Chet Ramey
Jim Paris 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-pc-linux-gnu' > -DCONF_VENDOR='pc' -DLOCALE

Cursor positioning in prompt is sometimes wrong, depending on locale and PS1

2009-06-09 Thread Jim Paris
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-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA