default pager (csh)

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Feb 19 09:20:12 UTC 2015


On 02/19/15 08:16, Julian Elischer wrote:
> On 2/18/15 3:41 PM, Xin Li wrote:
>>
>> The _only_ reason that I can think of is that more(1) does not clear
>> screen for certain terminals (done with 'ti' and 'te' sequences),
>> while less(1) when running as less does.
>>
>> The less(1) behavior can be annoying to some people (sometimes even
>> myself when using less to show contents of a file and ^Z to paste
>> them), and unfortunately quite a few of them also happen to be the
>> more vocal ones when it comes to a change.
> 
> I find that behaviour infuriating
> 
> I page down to a place to get some text on the screen to use as  a
> reference, then exit to run a command with that information, and *bam*
> the info I wanted to use has gone away.

Absolutely.  Especially as the behaviour under tmux is to clear screen
unlike when just logged into a regular session.

setenv LESS -X

fixes that...

	Matthew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20150219/2dc9bd69/attachment.sig>


More information about the freebsd-hackers mailing list