From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 19 00:36:48 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 D10EE3D3; Thu, 19 Feb 2015 00:36:48 +0000 (UTC) Received: from mail.westryn.net (mail.westryn.net [199.48.135.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B004BBAB; Thu, 19 Feb 2015 00:36:48 +0000 (UTC) Received: from ice.westryn.net (225x169.ouraynet.com [204.16.225.169]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.westryn.net (Postfix) with ESMTPSA id 0A92994320E; Wed, 18 Feb 2015 17:28:00 -0700 (MST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: default pager (csh) From: Kim Shrier In-Reply-To: <54E5232F.3060409@delphij.net> Date: Wed, 18 Feb 2015 17:27:59 -0700 Content-Transfer-Encoding: 7bit Message-Id: <021CBC62-4CC6-4137-897E-FE482139E09B@westryn.net> References: <54E5232F.3060409@delphij.net> To: FreeBSD Hackers X-Mailer: Apple Mail (2.2070.6) Cc: Davide Italiano , freebsd-current 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: Thu, 19 Feb 2015 00:36:48 -0000 > On Feb 18, 2015, at 4:41 PM, Xin Li wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 02/18/15 15:18, Davide Italiano wrote: >> Hi, one of the first things I do when I install FreeBSD is to >> switch the default PAGER from more(1) to less(1). This is >> particularly convenient, e.g. while using git diff, to show >> something more readable. Just out of curiosity, is there a reason >> why more(1) is still the default, and/or is this just historical? > > 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. > Being one of those people who strongly prefer using more, I vote against this change. Also, it is easier to scroll back in a terminal window using more. Every system I use, if it defaults the PAGER to less, I change it to more. Kim