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 c...@case.edu http://tiswww.cwru.edu/~chet/