Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15803

Re: [PATCH] Fix a problem that shadow `bind -x' does not work

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] Fix a problem that shadow `bind -x' does not work
Date 2020-01-15 09:56 -0500
Message-ID <mailman.2610.1579100196.1979.bug-bash@gnu.org> (permalink)
References <CAFLRLk9E3_996wJdkUc5AZs1FsE4J-hb2+TwWeJyvJVPS8qovw@mail.gmail.com> <48d01d93-38f6-eb39-fd57-62e3c53d61d6@case.edu>

Show all headers | View raw


On 12/18/19 4:01 AM, Koichi Murase wrote:

> Bash Version: 5.0
> Patch Level: 11
> Release Status: maint
> 
> Description:
> 
>    When the key sequence of a binding is a prefix of other bindings
>    (let me call it a shadow binding in this report), the shadow binding
>    is triggered when the user input does not match any of the other
>    bindings or there is no input within timeout specified by the
>    readline variable `keyseq-timeout'. When such a shadow binding is
>    the one by `bind -x', Bash fails to find the appropriate unix
>    command and produces error message or triggers a wrong command.

Thanks for the report.

Chet

-- 
``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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] Fix a problem that shadow `bind -x' does not work Chet Ramey <chet.ramey@case.edu> - 2020-01-15 09:56 -0500

csiph-web