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 -O2 -mtune=athlon-xp -march=athlon-xp -fomit-frame-pointer
uname output: Linux green 2.6.11-gentoo-r6 #1 Thu Apr 14 14:27:36 MSD 2005 i686 AMD Athlon(tm) XP 2200+ AuthenticAMD GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 3.0 Patch Level: 16 Release Status: release
Description: Cursor position handled incorrectly when editing in utf8 locale. In my case I've russian keymap and editing string only of russian letters for example. Adding to the end or deleting last symbol is OK, but in the middle cursor and string have strange behavior.
Repeat-By: I've typed some russian letters (4 for example), move cursor left by arrows to the beginning of the string and press a key to insert new letter at the beginning - letter appears, but cursor moves 3 colums right. But when inserting between second and third letters (and righter - second half of the string) cursor is OK. In first situation (when cursor moves wrong number of columns). In my example i have inserted a letter in the beginning and have cursor at position 4 instead of 2. If i press left arrow - it moves only once to position 3 and then it thinks that it at the beginning - it is so, but cursor displayed wrong. Pressing right arrow making things OK - cursor return to where it shold bu - to position 1. Similar problems with deleting letters in the first half of the string. But with deleteng there also can be bad displaying of the string. Also I've some cases where rule of first half doesn't apply.
_______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash