bug-readline
[Top][All Lists]
Advanced

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

Re: Possible bug related to bracketed paste in version 7


From: Sergei Gerasenko
Subject: Re: Possible bug related to bracketed paste in version 7
Date: Thu, 30 Jun 2022 11:24:59 -0500

Thank you, Chet for taking the time to find where the problem was fixed - and 
I’m very happy it was fixed! It also saved me an untold amount of time 
troubleshooting this.

Thanks again!
  Sergei

> On Jun 30, 2022, at 10:08 AM, Chet Ramey <chet.ramey@case.edu> wrote:
> 
> On 6/29/22 2:57 PM, Sergei Gerasenko wrote:
>> Hello,
>> It seems that with version 7 of readline this binding doesn't work as 
>> expected:
>> set keymap vi-insert
>> "\e[200~": bracketed-paste-begin
>> What happens I think is that the \e is interpreted as a literal escape and 
>> the user is kicked into the vi-command mode. Here’s my understanding of what 
>> happens then:
> 
> I can reproduce this on CentOS 8 stream using the system bash-4.4.20. I
> cannot reproduce it using bash-4.4.23 that I built from the distribution.
> This means that it's almost certainly fixed by bash-4.4 patch 22, which is
> mirrored as readline-7.0 patch 5.
> 
> These patches are over four years old. There's no real excuse for vendors
> not to apply them.
> 
> -- 
> ``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]