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


Groups > gnu.bash.bug > #15805

Re: [PATCH] Fix a problem `rl_bind_key' cannot create shadow binding for `C-@'

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] Fix a problem `rl_bind_key' cannot create shadow binding for `C-@'
Date 2020-01-15 10:23 -0500
Message-ID <mailman.2613.1579101835.1979.bug-bash@gnu.org> (permalink)
References <CAFLRLk9R5wexNV53fx6-V3rQEwKExfJsoDanZ9JqGFatG9GnKg@mail.gmail.com> <59dee32e-2988-fe21-f5f6-5d722cf1e82a@case.edu>

Show all headers | View raw


On 12/18/19 11:43 AM, Koichi Murase wrote:

> Bash Version: 5.0
> Patch Level: 11
> Release Status: maint
> 
> Description:
> 
>    One of the public interface of readline, the function
>    `rl_bind_key (key, function)' does not work with key = 0 (C-@) when
>    there are already bindings of keyseqs starting from "\C-@".
>    This is because when `rl_bind_key' calls `rl_generic_bind',
>    it fails to construct an appropriate untranslated keyseq for "\C-@".

Thanks for the report and patches. I think your leak patches are correct.

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


Thread

Re: [PATCH] Fix a problem `rl_bind_key' cannot create shadow binding for `C-@' Chet Ramey <chet.ramey@case.edu> - 2020-01-15 10:23 -0500

csiph-web