From owner-freebsd-ports@freebsd.org Tue Aug 18 18:30:14 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9DEC53C39A4 for ; Tue, 18 Aug 2020 18:30:14 +0000 (UTC) (envelope-from freebsd-ports@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BWKGF5hSJz4T4G for ; Tue, 18 Aug 2020 18:30:13 +0000 (UTC) (envelope-from freebsd-ports@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1k86I9-00014R-Tt for freebsd-ports@freebsd.org; Tue, 18 Aug 2020 20:25:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: Ottavio Caruso Subject: New less 551 won't let me copy text with "--mouse" flag. Date: Tue, 18 Aug 2020 19:18:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.1.1 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-GB X-Rspamd-Queue-Id: 4BWKGF5hSJz4T4G X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.95 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.05)[-0.048]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-ports@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-ports@m.gmane-mx.org]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2020 18:30:14 -0000 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