Andreas Schwab wrote:
> 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.
I have no doubt that the cursor location is somehow wrong on your system.
I simply cannot reproduce it on the systems I have available. Redisplay
is maybe less efficient than perfect, but it produces the right results.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash