[Patches] [ python-Patches-443551 ] Minor change to pager choice in pydoc.py

noreply@sourceforge.net noreply@sourceforge.net
Sun, 22 Jul 2001 09:27:46 -0700


Patches item #443551, was opened at 2001-07-22 09:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=443551&group_id=5470

>Category: demos and tools
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alex Coventry (alex_coventry)
Assigned to: Nobody/Anonymous (nobody)
Summary: Minor change to pager choice in pydoc.py

Initial Comment:
If $PAGER is not set, and the "less" command works,
then pydoc pipes its
output to less.  If $TERM is "dumb", or "emacs", this
is a pretty inconvenient
choice.  This patch sends the output to stdout in those
cases.  I find it easier
to use, especially when working with in a shell
subordinate to emacs, where
you can use the paging facilities of emacs itself
anyway.

Alex.


----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-07-22 09:27

Message:
Logged In: YES 
user_id=6380

Shouldn't it return plainpager rather than a function that
doesn't page at all?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=443551&group_id=5470