Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243569 > unrolled thread

Problem with Terminal Paste

Started by"Stephen P. Molnar" <s.molnar@sbcglobal.net>
First post2022-01-01 19:00 +0100
Last post2022-01-03 04:00 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Problem with Terminal Paste "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2022-01-01 19:00 +0100
    Re: Problem with Terminal Paste Greg Wooledge <greg@wooledge.org> - 2022-01-01 19:10 +0100
      Re: Problem with Terminal Paste "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2022-01-01 19:40 +0100
        Re: Problem with Terminal Paste David Wright <deblis@lionunicorn.co.uk> - 2022-01-03 04:00 +0100

#243569 — Problem with Terminal Paste

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2022-01-01 19:00 +0100
SubjectProblem with Terminal Paste
Message-ID<DAQPE-St-11@gated-at.bofh.it>
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 rate annoying. How can I correct  it?

Thanks in advance.

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [next] | [standalone]


#243570

FromGreg Wooledge <greg@wooledge.org>
Date2022-01-01 19:10 +0100
Message-ID<DAQZk-1bf-9@gated-at.bofh.it>
In reply to#243569
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
> rate 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.

[toc] | [prev] | [next] | [standalone]


#243572

From"Stephen P. Molnar" <s.molnar@sbcglobal.net>
Date2022-01-01 19:40 +0100
Message-ID<DARsm-1kz-11@gated-at.bofh.it>
In reply to#243570
Thanks for the quick reply. I'll take a closer look at the feature 
before I don anything..

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
>> rate 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.
>
>

-- 
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1

[toc] | [prev] | [next] | [standalone]


#243608

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2022-01-03 04:00 +0100
Message-ID<DBlJM-2Fl-11@gated-at.bofh.it>
In reply to#243572
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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web