On 2026-09-24, Greg Wooledge <[email protected]> wrote:
> On Thu, Sep 24, 2026 at 10:00:47 -0500, David Wright wrote:
>> Apt now has it's own environment variable for paging, which I set:
>> 
>>   APT_PAGER='less -Riqs'
>
> Oh, that's nice.  And it's in the man page, right?
>
> hobbit:~$ man apt | grep PAGER
> hobbit:~$ 
>
> Oh, of course.  Silly me.  Why would that be documented....
>


I found something:

curty@einstein:~$ apt changelog apt | grep -A 3 -i "pager"
 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
 
  * pager: Also set SMK in LESS, fix LV=C to be LV=-c (LP: #2104280)
 
 -- Julian Andres Klode <[email protected]>  Thu, 27 Mar 2025 22:52:21 +0100
 
--
  * Introduce git-like automatic pager for apt(8), emulating git behavior.
    It is enabled for the show, list, search, policy, showsrc commands.
    The pager can be set using APT_PAGER or PAGER and defaults to `pager`
  * Add initial pinning information to apt show --full.
    The fields `APT-Pin`, `APT-Candidate`, and `APT-Release` provide
    pinning information. It is not yet possible to see multiple sources,
--
  * don't call pager in non-terminals for changelog (Closes: 755040)
 
 -- Michael Vogt <[email protected]>  Tue, 09 Sep 2014 20:09:11 +0200
 

Reply via email to