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: Benno Schulenberg
Subject: Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.
Date: Sun, 11 Mar 2007 20:15:19 +0100
User-agent: KMail/1.9.6

Volkov Peter wrote:
> 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.

It can also be reproduced with:

  PS1='\[\e[1;31m\]1234567 X\[\e[0m\] '

The locale must be a utf one:

  export LC_ALL=en_GB.utf8

The strange thing is: I can't reproduce this on Feisty (the still 
cooking Ubuntu release), only on Gentoo.

Benno




reply via email to

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