[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    [gentoo-user] Re: An annoyance in GPM, and a fix for it
From:       Nikos Chantziaras <realnc () gmail ! com>
Date:       2023-10-09 9:36:30
Message-ID: ug0hiu$omc$1 () ciao ! gmane ! io
[Download RAW message or body]

On 04/10/2023 21:11, Alan Mackenzie wrote:
> Similarly, with a triple click, one can select a line, or a sequence of
> lines.  This is all very fine, but GPM adds a CR after each line in the
> sequnce, INCLUDING THE LAST ONE.  This makes it less useful for, say,
> copying a shell script command from and editor onto a command line.
> Because typically, you'd want to edit the command before executing it,

Hm. Bash by default will ignore a newline when pasting something. I 
think it's relatively new feature (like a year or two.) It's called 
"bracketed paste." It should be enabled by default. If not, it can 
enabled with:

   set enable-bracketed-paste on


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic