Re: systemctl behaves like it is being piped to less in centos 8?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In article <5c2439dc6351659900b0c7ef421ae3f1e7b84fe4.camel@xxxxxxxxxxxx>,
Pete Biggs <pete@xxxxxxxxxxxx> wrote:
> 
> > 
> > is what is annoying me. That seems to be what I would expect if I
> > piped it to less. I checked a fedora 31 and another centos 8 box and
> > am seeing the same behaviour. Am I missing something?
> > 
> 
> The environment variable $PAGER determines what pager to use.  The
> default is 'less'. User 
> 
>   export PAGER=more 
> 
> to use 'more' instead. Or
> 
>  export PAGER=
> 
> to not pipe to a pager.

This would also affect "man". Better to use SYSTEMD_PAGER.

Cheers
Tony
-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux