sys-apps/less-549 breaks mouse copy/paste operation from the first time less is invoked until the terminal (gnome-terminal in my case) is restarted. Reproducible: Always Expected Results: With sys-apps/less-548 or earlier, the mouse can be used to copy/paste from within less.
In my case it sends strange codes into the command line while I'm trying to select some text in the terminal using mouse.
(In reply to iq180 from comment #1) > In my case it sends strange codes into the command line Yes, that happens for me too.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9a8152a139bd720024d8fbe194aca2734da916 commit 0e9a8152a139bd720024d8fbe194aca2734da916 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-02-16 10:22:30 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-02-16 10:26:26 +0000 package.mask: =sys-apps/less-549 has broken mouse behavior Bug: https://bugs.gentoo.org/678102 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
Unfortunately I'm very busy with private life right now so I'd appreciate if someone could report this to upstream.
(In reply to Lars Wendler (Polynomial-C) from comment #4) > Unfortunately I'm very busy with private life right now so I'd appreciate if > someone could report this to upstream. I sent an email to the maintainer (that seems to be the preferred method for bug reports). I'll add an upstream bug link when I get an update.
From Mark Nudelman: Hi Albert, Yes, sorry about that. This is fixed in the github repository https://github.com/gwsw/less. I will release a numbered version soon which includes the fix. --Mark This looks like the fix: https://github.com/gwsw/less/commit/d5015d29f79e70fb70489616c0f2d0ff32e52898
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78dc4749aa8c49ea035be184b705477939899c8 commit f78dc4749aa8c49ea035be184b705477939899c8 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-02-16 19:07:05 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-02-16 19:09:13 +0000 sys-apps/less: Revbump to fix mouse issue. Bug: https://bugs.gentoo.org/678102 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-apps/less/files/less-549-mouse_fix.patch | 51 ++++++++++++++++++++++ .../less/{less-549.ebuild => less-549-r1.ebuild} | 4 ++ 2 files changed, 55 insertions(+)
Please test =sys-apps/less-549-r1 and report back any success/failure.
Yes, the patch in =sys-apps/less-549-r1 fixed the issue for me. Thanks! :)
Thanks.
Problem solved with -r1