Date: Thu, 20 Aug 2020 08:54:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 248772] sysutils/less: option "--mouse" breaks selecting/copying text in xterm. Message-ID: <bug-248772-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248772 Bug ID: 248772 Summary: sysutils/less: option "--mouse" breaks selecting/copying text in xterm. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ottavio2006-usenet2012@yahoo.com CC: jharris@widomaker.com Flags: maintainer-feedback?(jharris@widomaker.com) CC: jharris@widomaker.com % uname -a FreeBSD FreeBSD 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC amd64 I have installed less from ports: % /usr/local/bin/less --version less 551 (PCRE regular expressions) Launching less with the "--mouse" option prevents selecting and copying tex= t in xterm compliant terminals by the usual left-down-clicking. How to replicate: 1) Install less from ports 2) /usr/local/bin/less /var/log/messages. Select a block of text by left-down-clicking: this work 3) /usr/local/bin/less --mouse /var/log/messages Select a block of text by left-down-clicking: doesn't work. Workaround: selecting a block of text by [SHIFT] + left-down-clicking: work= s, but it is not expected behaviour. Same thing happens if $PAGER is set to "/usr/local/bin/less --mouse". My environment: % setenv USER=3Doc LOGNAME=3Doc HOME=3D/home/oc SHELL=3D/bin/tcsh BLOCKSIZE=3DK MAIL=3D/var/mail/oc PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/o= c/bin TERM=3Dxterm HOSTTYPE=3DFreeBSD VENDOR=3Damd OSTYPE=3DFreeBSD MACHTYPE=3Dx86_64 SHLVL=3D1 PWD=3D/home/oc GROUP=3Doc HOST=3DFreeBSD EDITOR=3Dvi PAGER=3Dless LESS=3D-i -m +Gg Resetting $LESS to null doesn't solve the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248772-7788>