[CentOS] systemctl behaves like it is being piped to less in centos 8?

Tony Mountifield tony at softins.co.uk
Fri Dec 13 16:44:28 UTC 2019


In article <5c2439dc6351659900b0c7ef421ae3f1e7b84fe4.camel at biggs.org.uk>,
Pete Biggs <pete at biggs.org.uk> 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 at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org


More information about the CentOS mailing list