[Top][All Lists]

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

Re: wrong PS1 var width calculation

From: Cheng Renquan (程任全)
Subject: Re: wrong PS1 var width calculation
Date: Mon, 5 Jan 2009 09:41:29 +0800

On Tue, Dec 9, 2008 at 2:32 PM, Cheng Renquan <address@hidden> wrote:
> On Tue, Dec 9, 2008 at 11:40 AM, Chet Ramey <address@hidden> wrote:
>> Investigate patch 44.  It should fix this.
> From where?

> Or please tell a bash repository version, I'll test it.

I'm using the latest gentoo with

GNU bash, version 3.2.33(1)-release (x86_64-pc-linux-gnu)

$ set |grep PS1
PS1='\[\033[01;address@hidden;34m\] \w \$\[\033[00m\] '

it's determined that if <C-r> (reverse-i-search) and <Left>, <Right>
used mixed, the bug will always reproduce,

I remembered a previous bash version (maybe bash-3.0, one or two years
ago) didn't have this problem, so this is a regression.

Cheng Renquan, Shenzhen, China

reply via email to

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