Date: Wed, 19 Aug 2020 16:38:05 +0100 From: Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: xpost: New less 551 won't let me copy text with "--mouse" flag. Message-ID: <CAEJNuHwSp4_kX07OehDGsnBkPxhPW-djmg8QsvZM5pjtmU77cw@mail.gmail.com> In-Reply-To: <-8909649628306676057@unknownmsgid> References: <-8909649628306676057@unknownmsgid>
next in thread | previous in thread | raw e-mail | index | archive | help
[Previously posted to freebsd-ports@ but no joy there] Hi, % freebsd-version 12.1-RELEASE-p8 less in base: % less --version less 530 (POSIX regular expressions) Before installing less from ports: % which less /usr/bin/less setenv LESS "-i -m +Gg" setenv TERM xterm As you know, old less 530 in base doesn't support scrolling down with the mouse, so I have installed less from ports. % /usr/local/bin/less --version less 551 (PCRE regular expressions) and I have updated my environment variables: setenv PAGER /usr/local/bin/less setenv LESS "--mouse --wheel-lines=3 -i -m +Gg" I might have used wrong syntax here ^, but now, if I use less or man, I can scroll down, but I cannot copy text with the mouse. If I try, the screen will flash. If I revert to /usr/bin/less, I regain the capability of copying text but I lose the scroll down function. As a term of comparison, I can use less with the mouse and scroll down in pretty much all other *BSD and Linux without specifying the "--mouse" flag. Any help will be appreciated. -- Ottavio Caruso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJNuHwSp4_kX07OehDGsnBkPxhPW-djmg8QsvZM5pjtmU77cw>