[CentOS] systemctl behaves like it is being piped to less in centos 8?
Pete Biggs
pete at biggs.org.uk
Fri Dec 13 19:22:54 UTC 2019
On Fri, 2019-12-13 at 16:44 +0000, Tony Mountifield wrote:
> 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.
>
That is probably a beneficial side-effect.
P.
More information about the CentOS
mailing list