Chet Ramey <[EMAIL PROTECTED]> writes:

> Volkov Peter wrote:
>> Hello.
>> 
>> The issue was reported at http://bugs.gentoo.org/156292 and is still
>> reproducible in bash-3.2 patch level 10 and with redisplay-cursor-patch.
>> 
>> To save you time steps to reproduce the problem:
>> 1. Set PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
>> 2. cd /usr/share
>> 3. press <ctrl>+R, then press letter 'e' and press <Home> button.
>> 
>> Cursor appears at the first position in the line (the most left column).
>
> I can't reproduce this with bash-3.2.15 and Fedora Core 5 in a Parallels
> VM, with the Home key bound to beginning-of-line.

Perfectly reproducible with bash 3.2.15 and TERM=xterm, see the attached
typescript.  Note the bogus 20 ^H after the prompt is redrawn.

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Attachment: typescript
Description: typescript

_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to