From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 19 23:05:58 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C0145F3; Thu, 19 Feb 2015 23:05:58 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [IPv6:2001:470:1f05:b76::196]) by mx1.freebsd.org (Postfix) with ESMTP id 04E471A8; Thu, 19 Feb 2015 23:05:58 +0000 (UTC) Received: from u10-2-32-011.office.norse-data.com (unknown [50.204.88.51]) by elvis.mu.org (Postfix) with ESMTPSA id 9C881341F8AC; Thu, 19 Feb 2015 15:05:57 -0800 (PST) Message-ID: <54E66C90.10902@mu.org> Date: Thu, 19 Feb 2015 15:06:56 -0800 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Chris H , d@delphij.net, Davide Italiano , freebsd-current , FreeBSD Hackers , Julian Elischer Subject: Re: default pager (csh) References: <54E5232F.3060409@delphij.net>, <54E59BF7.40207@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 23:05:58 -0000 On 2/19/15 9:04 AM, Chris H wrote: > On Thu, 19 Feb 2015 00:16:55 -0800 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. > Indeed. Quite annoying. > I just had an interesting thought after reading most of this > thread/bikeshed; > Theoretical, mind you. But would it be remotely possible to > [in (t)csh(1)] choose a pager on-the-fly (dynamically)? > In other words; bind keys to a chosen pager; > > ^M switches to more(1) > ^L switched to less(1) > > I've done no *actual* research [yet] but just thought > I'd bring it up. As it seemed worth a shot, as it would > satisfy *anyone's* need. :) > Not as annoying as people who don't search the web for an answer for things. ~ % export PAGER="less -X" everyone please stop crying over small changes, it really sucks. -Alfred