Comment 24 for bug 1926256

Revision history for this message
alainpannetier (alain-pannetier) wrote : Re: [Bug 1926256] Re: Pasted text in the terminal is always highlighted and selected

Hi Warren,

You can rebuild the binaries.
I show how to do it here.
https://github.com/stdedos/stdedos/issues/1#issuecomment-1314438987

On Thu, 22 Jun 2023 at 22:07, Warren Andrews <email address hidden>
wrote:

> EDIT: THIS IS THE WORKAROUND:
> bind 'set enable-bracketed-paste off'
>
> The proposed work around does NOT work for me. It could be due to the fact
> that it is over ssh?
> I am sshing from 18.04 into 22.04.
> Bash version on former is 4.4.20(1)-release
> Bash version on latter is 5.1.16(1)-release
>
> I CANNOT work with this 'feature' enabled. Please help. Thanks. (And
> this security argument makes no sense to me... why would I paste text
> into a terminal which I didn't select?)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1926256
>
> Title:
> Pasted text in the terminal is always highlighted and selected
>
> Status in bash package in Ubuntu:
> Invalid
> Status in gnome-terminal package in Ubuntu:
> Invalid
> Status in mate-terminal package in Ubuntu:
> Invalid
> Status in readline package in Ubuntu:
> Confirmed
> Status in vte2.91 package in Ubuntu:
> Invalid
>
> Bug description:
> Steps to reproduce:
> 1. Have Ubuntu 21.04 installed
> 2. Launch terminal
> 3a. Execute some command, select this command to copy it, then paste
> command
> 3b. Paste some command from clipboard to terminal
>
> Expected result:
> * pasted command is not highlighted and is not selected
>
> Actual result:
> * pasted command is selected and highlighted
>
> [[Workaround]]
>
> * On 22.04, add 'set enable-bracketed-paste off' to /etc/inputrc
> * Starting 22.10, add 'set enable-active-region off' to /etc/inputrc
>
> ProblemType: Bug
> DistroRelease: Ubuntu 21.04
> Package: mate-terminal 1.24.1-1
> ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
> Uname: Linux 5.11.0-16-generic x86_64
> ApportVersion: 2.20.11-0ubuntu65
> Architecture: amd64
> CasperMD5CheckResult: pass
> CurrentDesktop: MATE
> Date: Tue Apr 27 09:43:56 2021
> InstallationDate: Installed on 2021-04-23 (3 days ago)
> InstallationMedia: Ubuntu-MATE 21.04 "Hirsute Hippo" - Release amd64
> (20210420)
> SourcePackage: mate-terminal
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1926256/+subscriptions
>
>