From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13405 invoked from network); 22 Jun 2020 00:36:23 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Jun 2020 00:36:23 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5124D9C1D8; Mon, 22 Jun 2020 10:36:18 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 58A239C1AD; Mon, 22 Jun 2020 10:35:37 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 96EE69C1AD; Mon, 22 Jun 2020 10:35:34 +1000 (AEST) Received: from central.weird.com (unknown [198.96.117.51]) by minnie.tuhs.org (Postfix) with ESMTP id 9C5C39C1AC for ; Mon, 22 Jun 2020 10:35:33 +1000 (AEST) Received: from (invalid client hostname: bind: DNS error: DNS lookup for A for 'more.local': Unknown host)more.local ((no PTR matching greeting name)S01060026bb6c284e.ok.shawcable.net[24.71.254.93] port=36615) by central.weird.com([198.96.117.51] port=587) via TCP with esmtp (5328 bytes) (sender: ) (ident using UNIX) id for ; Sun, 21 Jun 2020 20:35:29 -0400 (EDT) (Smail-3.2.0.122-Pre 2005-Nov-17 #78 built 2020-Mar-25) Received: from (invalid client hostname: the DNS A record (with the targegt address [10.0.1.129]) for the hostname 'more.local' does not match the expected address [10.0.1.129])more.local ((no PTR matching greeting name)future.local[10.0.1.133] port=60428) by more.local([10.0.1.129] port=25) via TCP with esmtp (4818 bytes) (sender: ) id for ; Sun, 21 Jun 2020 17:35:25 -0700 (PDT) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2015-Feb-17) Message-Id: Date: Sun, 21 Jun 2020 17:35:28 -0700 From: "Greg A. Woods" To: The Unix Heritage Society mailing list In-Reply-To: References: <20200614225208.GB6122@minnie.tuhs.org> <7wsgewophe.fsf@junk.nocrew.org> <10160f8c-62a3-014b-43a1-65025f27cde5@mhorton.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64--netbsd) MULE/6.0 (HANACHIRUSATO) X-Face: ; j3Eth2XV8h1Yfu*uL{<:dQ$#E[DB0gemGZJ"J#4fH*][ lz; @-iwMv_u\6uIEKR0KY"=MzoQH#CrqBN`nG_5B@rrM8,f~Gr&h5a\= List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --pgp-sign-Multipart_Sun_Jun_21_17:35:13_2020-1 Content-Type: text/plain; charset=US-ASCII At Sun, 21 Jun 2020 20:49:31 +0200, Michael Siegel wrote: Subject: Re: [TUHS] Fwd: Origins and life of the pg pager > > In fact, my question about the origin and life of pg(1) arose while > writing a yet unfinished addendum to a blog article that details my > failed attempt to hack together a solution for auto-paged ls(1).[1] > > The conclusion there was: Those attempts (you can find them in quite a > few places throughout the Web) are futile, just pipe to a pager when you > need it. Indeed! Just pipe to a pager when you need to! There's also the benefit use of a modern "terminal" gives, e.g. Xterm: (a) on a modern screen it can display a whole lot more than an old-fashioned 24x80 terminal; (b) it offers a scroll-back buffer so if you get somewhat more output than expected you can just scroll back a bit to scan through it all. Such features further reduce the need for any pager. In a related vein what annoys me are so-called modern programs like "git", "hg", and others which default to always piping their output through $PAGER, along with such things as colour decorations enabled, but when you tack on "|$PAGER" to their command-line then they turn off the decorations! They cause me to have to undo decades of finger memory. > However, there's no need to write out "less" every time. You can just > alias that to "pg" without causing any harm and save two letters, which > is an improvement for a task that is performed manually rather often. I've used an alias and/or shell function called "ds" (for display) since approximately forever, typically to invoke whatever I've set $PAGER to, at least in more recent times. Others I've know have called it just "p", and indeed there's been a pager called just "p" in Research Unix since the Eighth Edition (and in 8th Edition the manual page suggests is also known as "more" and by 10th Edition the manual adds "pg" too, though it's not installed directly with those aliases by the makefile). I've stuck with "ds", partly for finger memory, and also partly because it is for the most part unique (at least in all environments I've typically used). That gives me the option of using a pager called "pg" directly should I want to, while getting my "default" favourite pager (from those available on a given system) when I use "ds". -- Greg A. Woods Kelowna, BC +1 250 762-7675 RoboHack Planix, Inc. Avoncote Farms --pgp-sign-Multipart_Sun_Jun_21_17:35:13_2020-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit Content-Description: OpenPGP Digital Signature -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTWEnAIIlcZX4oAawJie18UwlnHhQUCXu/8xgAKCRBie18UwlnH hcPzAKDT/DAGMnoGsvbtMkRV9IYc+tao8gCeOeLkGDoB4jBboNslSxyp1kRDAgE= =S1ax -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Jun_21_17:35:13_2020-1--