On 1/31/22 11:47 PM, Karl O. Pinc wrote:
Hello,
There are obviously matters of taste here and I don't
want to start a flame war, but IMO, bracketed-paste-mode
should be off by default.
You're right, it's an opinion.
My argument is that Unix should come with the training
wheels off, by default. The same reason `cp -i` or `mv -i`
is not the default. If people want "safety" they can
frob the per-user (or per-distro) settings.
That's another opinion.
"Simple" and "obvious" seems more useful than "safe".
"Standard is better than better." Changing the standard
makes me cranky.
These are clearly subjective terms.
(FWIW, It took a couple of months of being annoyed at my pastes
not "working", after a major distro upgrade which installed
a new readline, to get around to digging into why pasteing
wasn't working. And then a good hour to find the problem,
frob my systems' /etc/inputrc, write this bug report, etc.)
This is one problem with the degree of separation between what the distros
choose to expose and what I release. The release announcement for
readline-8.1, for instance, includes:
"Bracketed paste mode is enabled by default; there is a configure-time
option to make the default setting disabled."
Absent having bracketed paste off by default, it might be nice
to have a /etc/inputrc.d/ directory that can have it's contents
included by /etc/inputrc.
You can do this now.
--
``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/