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: Andre Majorel
Subject: Re: [Bug-readline] Key sequence initial prefix of another
Date: Sun, 7 Nov 2010 22:22:23 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On 2010-11-07 15:48 -0500, Chet Ramey wrote:
> On 11/7/10 6:08 AM, Andre Majorel wrote:
> > On 2010-11-06 16:28 -0400, Chet Ramey wrote:
> >> 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 ?
> 
> I don't use debian, so I don't have that as a platform to test
> on, but I don't get the results you do when using Mac OS X.

OK, I think I've got it. You're using UTF-8 aren't you ? Try it
with ISO 8859-1 :

$ locale
LANG=
LC_CTYPE=en_US
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=C
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

-- 
André Majorel http://www.teaser.fr/~amajorel/



reply via email to

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