bug-bash
[Top][All Lists]
Advanced

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

Re: inputrc parsing regression?


From: Chet Ramey
Subject: Re: inputrc parsing regression?
Date: Tue, 17 Jan 2006 17:08:35 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Tim Waugh wrote:

> Machine Type: i386-redhat-linux-gnu
> 
> Bash Version: 3.1
> Patch Level: 5
> Release Status: release
> 
> Description:
>       In bash-3.0 the following inputrc assigned functions to
>       arrow-up and arrow-down:
> 
> set meta-flag on
> set input-meta on
> set convert-meta off
> set output-meta on
> 
> "\M-[A": history-search-backward
> "\M-[B": history-search-forward
> 
>       These are the key sequences given by 'bind -p' for those
>       keys.  In bash-3.1 this no longer works: bind -p gives
>       eight-bit-set key sequences, and the newly mapped functions
>       are not called.

Before bash-3.1/readline-5.1, key binding did not honor the setting of
convert-meta.  The current version treats a key binding exactly the way
readline will when reading a key sequence and dispatching on it,
converting to eight-bit characters as necessary depending on the value
of convert-meta.

Ironically, you were the one who filed the original bug report that
prompted this change. ;-)

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    chet@case.edu    http://tiswww.tis.case.edu/~chet/




reply via email to

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