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


Groups > gnu.bash.bug > #15803 > unrolled thread

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

Started byChet Ramey <chet.ramey@case.edu>
First post2020-01-15 09:56 -0500
Last post2020-01-15 09:56 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromChet Ramey <chet.ramey@case.edu>
Date2020-01-15 09:56 -0500
SubjectRe: [PATCH] Fix a problem that shadow `bind -x' does not work
Message-ID<mailman.2610.1579100196.1979.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web