bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] Key sequence initial prefix of another


From: Chet Ramey
Subject: Re: [Bug-readline] Key sequence initial prefix of another
Date: Sat, 06 Nov 2010 16:28:44 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2

On 10/22/10 3:56 AM, Andre Majorel wrote:
> Suppose you have readline bindings of different lengths with the
> same stem, E.G.
> 
>   "\eg":  " | grep "
>   "\egi": " | grep -i "
> 
> To get
> 
>   ls | grep 12
> 
> you might type "ls[esc]g12" but you'll get
> 
>   ls1 | grep 2
> 
> Is this by design ?

You don't say which version of readline you're using, but I don't get
this behavior on readline-6.0 (from bash-4.0) or readline-6.1 (from
bash-4.1).  Both bash versions had all patches applied.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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