From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 20 01:10:45 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 045DADB2; Fri, 20 Feb 2015 01:10:45 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A1328187; Fri, 20 Feb 2015 01:10:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id t1K1AaWi044120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 19 Feb 2015 18:10:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id t1K1AaFa044117; Thu, 19 Feb 2015 18:10:36 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 19 Feb 2015 18:10:36 -0700 (MST) From: Warren Block To: Julian Elischer Subject: Re: default pager (csh) In-Reply-To: <54E59BF7.40207@freebsd.org> Message-ID: References: <54E5232F.3060409@delphij.net> <54E59BF7.40207@freebsd.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 19 Feb 2015 18:10:36 -0700 (MST) Cc: Davide Italiano , FreeBSD Hackers , freebsd-current , d@delphij.net X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 01:10:45 -0000 On Thu, 19 Feb 2015, 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. It doesn't do that on csh. Or maybe I figured out how to prevent it long ago and forgot, but all I use is this: setenv PAGER "less -RS"