Volkov Peter wrote: > In bash-3.2: > ~/tmp/bash/bash-3.2 $ mkdir тест/ > ~/tmp/bash/bash-3.2 $ cd тест/ > ~/tmp/bash/bash-3.2/тест $ l s > ~/tmp/bash/bash-3.2/тест $ #
Same problem here (# is position of cursor): [EMAIL PROTECTED] ~ $ mkdir ĉĉ [EMAIL PROTECTED] ~ $ cd ĉĉ [EMAIL PROTECTED] ~/ĉĉ $ # Then typing "ls ." show this: [EMAIL PROTECTED] ~/ĉĉ $ s .# l Then typing ^U results in this: [EMAIL PROTECTED] ~/ĉĉ $ s . # This is with a utf8 locale. The problem does not occur when the current dir contains just one non-ascii character, only with two or more does the cursor get misplaced. Setting LC_ALL=C makes the problem fully disappear. [EMAIL PROTECTED] ~ $ echo $PS1 \[\e[001;[EMAIL PROTECTED] \[\e[001;034m\]\w \$\[\e[000m\] 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/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -march=athlon-xp -O2 -pipe -fomit-frame-pointer uname output: Linux ordesa 2.6.19 #149 PREEMPT Thu Feb 22 11:19:16 CET 2007 i686 AMD Athlon(tm) XP 2800+ AuthenticAMD GNU/Linux Machine Type: i686-pc-linux-gnu Bash Version: 3.2 Patch Level: 9 Release Status: release Benno _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash