bug-bash
[Top][All Lists]
Advanced

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

Re: readline: How to unbind _all_ keys


From: Chet Ramey
Subject: Re: readline: How to unbind _all_ keys
Date: Wed, 22 May 2019 09:30:44 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 5/22/19 4:47 AM, Henning wrote:
> On 21/05/2019 16:16, Chet Ramey wrote:
>>
>> I can't reproduce this using bash-5.0. I took your script, ran it, then
>> bound C-x to execute "echo abc":
> [snip]
>> And hitting ^X gives me "abc". It doesn't matter whether or not I remove
>> the binding for \C-x itself.
>>
> I started a console and changed nothing readline/inputrc related and
> executed your script, but I got the same error message.
> I'm currently on an uptodate Cygwin system with bash 4.4.12, which is
> the actual bash version on Cygwin. And an attempt to compile 5.0
> failed.
> 
> A question regarding the error message: "... cannot find keymap for
> command". What does that mean? Could you give an example that would
> produce this error message?

I'm using bash-5.0. There are a couple of fixes concerning bind -x between
bash-4.4 and bash-5.0.

What error message did you get when trying to compile bash-5.0? I don't
have or use cygwin, so you'll probably have to go to the cygwin bash
maintainer, but we can at least try to point him in the right direction.

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



reply via email to

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