[TUHS] Fwd: Origins and life of the pg pager

Derek Fawcus dfawcus+lists-tuhs at employees.org
Tue Jun 23 02:24:06 AEST 2020


On Sun, Jun 21, 2020 at 05:35:28PM -0700, Greg A. Woods wrote:
> 
> 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.

Well, for further fun, one could always export GIT_PAGER=cat,
then git will not use a pager for those commands, recognising that
'cat' is a no-op in such cases.  :-)

DF


More information about the TUHS mailing list