You are not logged in.
Hello
since recently the behavior of readline is different. If a '\n' is selected in a cut sequence,
it is now pasted as a 0x0A. I guess it is for security reason, but it is not convenient
for me since I am using copy/paste a lot for example in python.
Is there a way to return to the old behavior ? (possibly with inputrc)
Thank you
dauriac
Last edited by dauriac (2021-01-08 10:07:40)
Offline
Please change your title to something that actually reflects your question.
Should be the
enable-bracketed-paste (On)
When set to On, readline will configure the terminal in a way that will enable it to insert each paste
into the editing buffer as a single string of characters, instead of treating each character as if it
had been read from the keyboard. This can prevent pasted characters from being interpreted as editing
commands.
option.
Offline
Thank you
I modified the title.
I didn't find yet a comprehensive explanation of inputrc. Still browsing ...
Offline
I added
set enable-bracketed-paste off
in /etc/inputrc
Now everything works as before.
Thanks
Offline