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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10090 invoked from network); 22 Jun 2020 21:34:29 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 22 Jun 2020 21:34:29 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id F2A819C1E2; Tue, 23 Jun 2020 07:34:23 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id D84C39C1AD; Tue, 23 Jun 2020 07:33:46 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="a9jD2Cm8"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 7A9F29C1AD; Tue, 23 Jun 2020 07:33:44 +1000 (AEST) Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) by minnie.tuhs.org (Postfix) with ESMTPS id 117C59C1AC for ; Tue, 23 Jun 2020 07:33:44 +1000 (AEST) Received: by mail-ua1-f52.google.com with SMTP id b10so6145484uaf.0 for ; Mon, 22 Jun 2020 14:33:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nKzJ+yvd0zOp2ene1ubpEtRiijGptydA/Aqg4U3BGEU=; b=a9jD2Cm8e1Ra7uF8WFXCGTvwaGTqpIWVC5sdSflNqmtU2v94volh4tSB3EYDwe+a3S SisfSReLhHd6HwcubeyAVZ5ZUr+7kiljz9Z2bNKidje2pXb6bCsOoKS3pwJtBF22RYrI HFNUfHK3eObKcHm1PeoM49RjysiTUbglV53uAfRuhuOnSiHE7qoY8pzRVycGHRAtY5AU 1mVy5dE/TJIqHb5oPC8xizUpC23MPqOp7xXqnTSB5qySRBrstLgqU0CfzGstbhR89IE/ l8Vjdu3JSzGkR/7nv2KIQOiTD8DSeDtY6AsVwUCEojy/oYAccM+intM/D15CWFGyXtJK q8Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nKzJ+yvd0zOp2ene1ubpEtRiijGptydA/Aqg4U3BGEU=; b=Nr2zK7Fga8uh4FRczVT4Fz0QSuL7OU9HdyMdXo2NOHt1fUf62Nb0j5ggN1JuKJcl9e 0WyMjEldpgIADfkLQeGPDYJAkB8KCl1UGtqSo7nailGPa+qL7VA9mbopJ/5o1Ewj83WV 0z8gGPsaroLfGP+gL44m07Aq7aayMyAJ5cydOm/YkL0zUmBhydpZOdAZ0yiZo+zvpOol nOO0rWyVmqft4PCjDyv32RYu9pYni6KX0m/RY8GNf/84LJekN02mw6AqbQHg1tXRtMCF SyHjb0IMzR6tS8wjUv9kDBcZTCWLQff5h0vzCyJ8x9LaicJRIrZEj8+6ItK1ik+5J/UE QOzQ== X-Gm-Message-State: AOAM530A3iFbyGUDpWbl2ZQYd3yKm+bdFZi884bWFO09ryvu62TaKhIx bTiUTt1MT4DgP7h+nNXtoe1M17AJUawsgjTqT8lYKSvoHUM= X-Google-Smtp-Source: ABdhPJzDyXqNmoLGV5lvdndaovJaUzmAcBUtHaoFAiWPq++TekyfH8RPG96xCCe7QKctLJRBL7RUC3LuX3oFd6fJmws= X-Received: by 2002:ab0:156d:: with SMTP id p42mr13210965uae.121.1592861623125; Mon, 22 Jun 2020 14:33:43 -0700 (PDT) MIME-Version: 1.0 References: <20200614225208.GB6122@minnie.tuhs.org> <7wsgewophe.fsf@junk.nocrew.org> <10160f8c-62a3-014b-43a1-65025f27cde5@mhorton.net> <20200622162406.GA48733@clarinet.employees.org> In-Reply-To: <20200622162406.GA48733@clarinet.employees.org> From: Rob Pike Date: Tue, 23 Jun 2020 07:33:31 +1000 Message-ID: To: Derek Fawcus Content-Type: multipart/alternative; boundary="000000000000390cca05a8b2ffaa" Subject: Re: [TUHS] Fwd: Origins and life of the pg pager X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society mailing list Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000390cca05a8b2ffaa Content-Type: text/plain; charset="UTF-8" There is only one correct way. % grep PAGER .bashrc export PAGER='col -b' % -rob On Tue, Jun 23, 2020 at 2:26 AM Derek Fawcus < dfawcus+lists-tuhs@employees.org> wrote: > 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 > --000000000000390cca05a8b2ffaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Th= ere is only one correct way.


% grep PAGER .bashrc

ex= port PAGER=3D'col -b'

%<= span class=3D"gmail-Apple-converted-space">=C2=A0


-rob



On Tue, Jun 23, 2020 at 2:26 AM Dere= k Fawcus <dfawcus+= lists-tuhs@employees.org> wrote:
On Sun, Jun 21, 2020 at 05:35:28PM -0700, Greg A. W= oods wrote:
>
> In a related vein what annoys me are so-called modern programs like > "git", "hg", and others which default to always pi= ping their output
> through $PAGER, along with such things as colour decorations enabled,<= br> > but when you tack on "|$PAGER" to their command-line then th= ey turn off
> the decorations!=C2=A0 They cause me to have to undo decades of finger=
> memory.

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

DF
--000000000000390cca05a8b2ffaa--