bug-bash
[Top][All Lists]
Advanced

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

prompt overwrites string which has no '\n' on multi byte locale


From: Jiro SEKIBA
Subject: prompt overwrites string which has no '\n' on multi byte locale
Date: Mon, 02 Sep 2002 11:15:12 +0900
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -g -O2
uname output: Linux rex 2.4.17 #1 Wed Feb 20 18:34:43 JST 2002 i686 unknown 
unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        prompt overwrites previous strings when the string doesn't have
        new line character on multi byte locale

Repeat-By:
        $ LC_CTYPE=C
        $ echo -n hello
        hello$ 
        $ LC_CTYPE=en_US_UTF-8
        $ echo -n hello
        $ llo

Fix:
 Patch for lib/readline/display.c 

Attachment: display.c.diff
Description: Binary data


reply via email to

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