Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2020 19:18:34 +0100
From:      Ottavio Caruso <ottavio2006-usenet2012@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   New less 551 won't let me copy text with "--mouse" flag.
Message-ID:  <rhh61q$daa$1@ciao.gmane.io>

next in thread | raw e-mail | index | archive | help
Hi, I am not sure f this is the right list or it should have been 
freebesd-questions@.

  % 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 
or 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?rhh61q$daa$1>