The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Michael Siegel <msi@malbolge.net>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] Fwd: Origins and life of the pg pager
Date: Sun, 21 Jun 2020 20:49:31 +0200	[thread overview]
Message-ID: <e01f36c7-9f10-b0a5-6271-19feeaa453e3@malbolge.net> (raw)
In-Reply-To: <CAC20D2OiWqs5GToUxvo3yvQ0woEwN9=0+D68sjMCrToiDg9SkA@mail.gmail.com>

Am 15.06.20 um 16:56 schrieb Clem Cole:

> Funny, when Steve Zimmerman was at Masscomp, one of the things he did
> was put the ITS style 'more' into the TTY driver (along with Tenex
> style ^T), both of which  I loved having until I went to Stellar --
> it was always on my list of things that would be cool.   But we had
> window managers by then, and we never thought adding more into the
> TTY driver it was worth it.   The truth is, either put it in the
> driver as a base feature so everything that runs gets support for it
> without having to remember to add it to the pipeline, or solves the
> problem more globally like a window manager does. I can see good
> arguments to both schemes -- that later is a tad more elegant and see
> seems simpler / less complex (Doug's rules).  In fact, we have lived
> with that style of solution for years, but ... I still need to use
> more(1) even with a window manager/terminal emulator that allows me
> to scroll 'forever' [I don't need many of the features of less(1)],
> but something like p/pg/more does seem to be desirable.

From my perspective as a user, I would love to see paging built in.
Having to use pagers to view terminal output conveniently is, in my
opinion, a major nuisance.

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.

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.


Michael

[1] https://www.msiism.org/blog/2019/07/17/no_fun_with_auto-paged_ls.html


PS: I hope it's okay that I chose to reply just to the list address and
take all the other addresses out. If not, please let me know.

  parent reply	other threads:[~2020-06-21 18:50 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-14 22:52 Warren Toomey
2020-06-14 23:37 ` Mary Ann Horton
2020-06-14 23:52   ` [TUHS] " David Barto
2020-06-15  0:06     ` George Michaelson
2020-06-15  0:31     ` Alan D. Salewski
2020-06-15  0:35       ` Alan D. Salewski
2020-06-15  1:38         ` Warner Losh
2020-06-15  1:47           ` Larry McVoy
2020-06-15  2:38             ` Alec Muffett
2020-06-15  2:46               ` Alec Muffett
2020-06-15  2:26           ` Charles H. Sauer
2020-06-15 14:03           ` Mary Ann Horton
2020-06-15 20:19             ` Greg A. Woods
2020-06-15 20:50               ` Mary Ann Horton
2020-06-15  0:32   ` [TUHS] Fwd: " Nemo Nusquam
2020-06-15  5:41   ` Lars Brinkhoff
2020-06-15 13:56     ` Clem Cole
2020-06-15 14:15       ` Mary Ann Horton
2020-06-15 14:56         ` Clem Cole
2020-06-15 15:04           ` Richard Salz
2020-06-15 16:14             ` Clem Cole
2020-06-15 15:45           ` Lars Brinkhoff
2020-06-15 19:08             ` Lars Brinkhoff
2020-06-21 18:49           ` Michael Siegel [this message]
2020-06-22  0:35             ` Greg A. Woods
2020-06-22 16:24               ` Derek Fawcus
2020-06-22 21:33                 ` Rob Pike
2020-06-22 21:58                   ` Kurt H Maier
2020-06-22 21:59                   ` [TUHS] " Bakul Shah
2020-06-22 22:43                     ` Steffen Nurpmeso
2020-06-25  1:50                       ` Theodore Y. Ts'o
2020-06-25 21:31                         ` Steffen Nurpmeso
2020-07-05  1:34                         ` Dave Horsfall
2020-06-18 12:49 ` [TUHS] Fwd: " Michael Siegel
2020-06-21 22:40 Noel Chiappa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01f36c7-9f10-b0a5-6271-19feeaa453e3@malbolge.net \
    --to=msi@malbolge.net \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).