[issue8637] pydoc should respect MANPAGER over PAGER.

Alexander Belopolsky report at bugs.python.org
Fri Feb 4 01:15:38 CET 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Thu, Feb 3, 2011 at 7:09 PM, Éric Araujo <report at bugs.python.org> wrote:
>
> Éric Araujo <merwok at netwok.org> added the comment:
>
> Is there a standard documenting MANPAGER somewhere?
>

Not really a standard, but man page for man on my OSX laptop says:

"""
       -P  pager
              Specify which pager to use.  This option overrides the
MANPAGER environment variable, which in turn overrides the PAGER
variable.
"""

POSIX only mandates PAGER.  See
<http://pubs.opengroup.org/onlinepubs/007908799/xcu/man.html>.

As I said before, since pydoc is not man, if we want a pydoc-specific
variable to override PAGER, it should be callled PYDOCPAGER.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8637>
_______________________________________


More information about the Python-bugs-list mailing list