Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.
From:
Ismail Dönmez
Subject:
Re: Another bash-3.2 regression: coloured prompt confuses Ctrl+R.
Date:
Mon, 12 Mar 2007 01:29:21 +0200
User-agent:
KMail/1.9.6
On Sunday 11 March 2007 21:15:19 Benno Schulenberg wrote:
> 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.
I can confirm the problem here, Ubuntu/Debian might be adding a custom patch
for this?
--
Happiness in intelligent people is the rarest thing I know. (Ernest Hemingway)
Ismail Donmez ismail (at) pardus.org.tr
GPG Fingerprint: 7ACD 5836 7827 5598 D721 DF0D 1A9D 257A 5B88 F54C
Pardus Linux / KDE developer