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: Chet Ramey
Subject: Re: Possible bug related to bracketed paste in version 7
Date: Thu, 30 Jun 2022 11:08:50 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

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]