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 [email protected] http://tiswww.cwru.edu/~chet/