[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with Terminal Paste



On Sat 01 Jan 2022 at 13:37:05 (-0500), Stephen P. Molnar wrote:
> On 01/01/2022 01:03 PM, Greg Wooledge wrote:
> > On Sat, Jan 01, 2022 at 12:57:45PM -0500, Stephen P. Molnar wrote:
> > > i have finally upgraded my Debian Platform from Buster to Bullseye.
> > > 
> > > I am pleased, but the terminal paste function reverses the colors from black
> > > print on white background to white type on black background. I find this
> > > rat[h]e[r] annoying. How can I correct  it?
> > This is a new feature in bash 5.1, "bracketed paste".  The readline
> > variable for this is "enable-bracketed-paste", and it now defaults
> > to "on".  If you'd like to turn it off, put
> > 
> > set enable-bracketed-paste off
> > 
> > in your ~/.inputrc file, and then restart bash(es).
> > 
> > You might want to do more research about the feature before disabling
> > it, though.  It's more than just reverse video.
> > 
> Thanks for the quick reply. I'll take a closer look at the feature
> before I don anything..

I'm already hooked on bracketed paste, particularly since using it on
bullseye (when you get the highlighting too), though how it suits you
may depend on other settings, as I described in
https://lists.debian.org/debian-user/2021/12/msg00176.html

Cheers,
David.


Reply to: