On 2021-09-10 09:52, ASSI wrote:
Takashi Yano via Cygwin writes:
h. Bracketed paste mode is enabled by default. There is a configure-time
option (--enable-bracketed-paste-default) to set the default to on or off.
Does libreadline7 (8.1) break compatibility with old one?
Reverting libreadline7 to 7.0.3-3 solves the issue.
Setting
set enable-bracketed-paste off
in ~/.inputrc also solves the problem.
Well, one obvious way of solving the issue would be to use the configure
option of not enabling bracketed paste by default. Although it would be
better in the long term if the applications learn to use it correctly…
The default was changed as documented to avoid potential security
issues: what could go wrong if you copied "rm -rf /..." not selecting
the ... and pasted it including the "\n", or the source (e.g. javascript
malware) added a few such commands for different systems to the copy! ;^>
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple