bug-bash
[Top][All Lists]
Advanced

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

Re: Colored prompt length is not correctly computed - UTF-8


From: Chet Ramey
Subject: Re: Colored prompt length is not correctly computed - UTF-8
Date: Sat, 04 Jul 2009 14:56:20 -0400
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

Chris Jones wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i486
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
> -DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2 
> -Wall
> uname output: Linux turki 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 
> i686 GNU/Linux
> Machine Type: i486-pc-linux-gnu
> 
> Bash Version: 3.2
> Patch Level: 39
> Release Status: release
> 
> Description:
>       
> When retrieving a command from bash's history, emacs keybindings CTRL-E & 
> CTRL-A
> do not move the cursor to the end and beginning of the retrieved command.
> 
> CTRL+E moves the cursor to a point that is short of the end of command
> CTRL+A moves the cursor to a point that is within the bash prompt

Thanks for the report.  I can reproduce this on bash-3.2.49, and it's
fixed in bash-4.0.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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