bug-bash
[Top][All Lists]
Advanced

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

Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.


From: Andreas Schwab
Subject: Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.
Date: Thu, 29 Mar 2007 11:07:13 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

Chet Ramey <chet.ramey@case.edu> 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, schwab@suse.de
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


reply via email to

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