Current-Users archive

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

Re: Strange apropos(1) behavior?

On Fri, Apr 19, 2019 at 07:09:51PM +0800, Paul Goyette wrote:
> And while we're at it, the man page for apropos(1) says that the -p option
> _defaults_ to using more(1) as the pager, implying that it should be
> possible to use a different pager.  Yet there is no option to tell apropos
> to which other pager the output should be piped!

It uses ${PAGER} when set.

> And finally, the -P option is documented in the apropos(1) man page as also
> "Turn on pager formatting".  Is this correct?  Or should one of these two
> options be a "Turn _off_ pager formatting" ?  :)

Yes, -P enables overstrike mode. Turning off formatting would be -r, the
default when running with tty is to use terminfo-based escape


Home | Main Index | Thread Index | Old Index