bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash strangeness with utf-8


From: Joe Peterson
Subject: bash strangeness with utf-8
Date: Sun, 01 Jul 2007 06:00:02 -0600
User-agent: Thunderbird 2.0.0.4 (X11/20070629)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: freebsd6.2
Compiler: i686-gentoo-freebsd6.2-gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='free
bsd6.2' -DCONF_MACHTYPE='i686-gentoo-freebsd6.2' -DCONF_VENDOR='gentoo'
-DLOCALE
DIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H   -I.
-I. -I./
include -I./lib   -O2 -mtune=i686 -pipe
uname output: FreeBSD crater 6.2-RELEASE FreeBSD Gentoo 6.2-r1 #0: Sat
Jun  9 18
:04:32 MDT 2007
address@hidden:/usr/src/sys-6.2-r1/i386/compile/GE
NERIC  i386
Machine Type: i686-gentoo-freebsd6.2

Bash Version: 3.2
Patch Level: 17
Release Status: release

Description:

I am a developer at Gentoo (specializing in Gentoo/FreeBSD).  Anyway, I
discovered that there is some odd behavior with bash when using
LAN=en_US.UTF-8 (anf we've verified same on en_GB.UTF-8).

                                    -Thanks, Joe

Repeat-By:

There are two cases I came up with.  If you up-arrow through your
history, hit right-arrow (i.e. going "past" the end - even though the
cursor stops at the end), it takes 2 left-arrows to go back a character
(as if there were an extra character at the end).

Case 2 can usually be invoked by going back a character or two, hitting
ctrl-k (to chop off the end of the line), and then hitting right-arrow
repeatedly.  The cursor will oscillate back and forth at the end of the
line (well, I can almost always get this to happen...).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]