[Top][All Lists]

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

Re: Mysterious error after rebinding keys in Bash 5.1.4

From: Chet Ramey
Subject: Re: Mysterious error after rebinding keys in Bash 5.1.4
Date: Fri, 16 Apr 2021 10:39:38 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 4/16/21 1:15 AM, Dale Sedivec wrote:

Bash Version: 5.1
Patch Level: 4
Release Status: release


Rebinding a key seems to break the key that was bound before it.  (That sounds 
bizarre, but read ahead.)


Run the following:

bash --norc --noprofile
bind -m emacs -x '"\C-r": echo one'
bind -m emacs -x '"\C-t": echo two'
bind -m emacs '"\C-t": transpose-chars'

Then press C-r.

Expected behavior: Bash runs "echo one"

Observed behavior: I get an error message and nothing else:

     bash: bash_execute_unix_command: cannot find keymap for command

Thanks for the report.

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

reply via email to

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