freebsd-dev/usr.bin/man
Baptiste Daroussin d9405a926c In case man(1) found a catpage to display skip looking ".so" which is manpage
only.

In case we are trying to read a catpage, the manpage variable is not defined.
It results in the "cattool" having no arguments.

In case the catpage is compressed, the cattool used is "zcat" which dies if the
standard input is a terminal, meaning the function calling it is exiting as if
there were no ".so"
In case the catpage is uncompressed, the cattool used is "zcat -f" which waits
reading standard input, making the man(1) command hang.

PR:		223560
Reported by:	wosch
MFC after:	3 days
2017-12-04 12:33:46 +00:00
..
Makefile Remove the WITHOUT_MANDOCDB option 2017-03-11 06:51:21 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
man.1 Extend functionality MANPATH in man(1) to followup with apropos(1) from 2017-03-11 06:24:49 +00:00
man.conf.5 Minor mdoc improvements. 2012-06-03 11:09:51 +00:00
man.sh In case man(1) found a catpage to display skip looking ".so" which is manpage 2017-12-04 12:33:46 +00:00
manpath.1 - Remove separate handling of /bin and /usr/bin in manpath. They are no 2017-03-12 10:56:19 +00:00