[Python-bugs-list] [ python-Bugs-651124 ] pydoc ignores $PAGER if TERM=='dumb'

noreply@sourceforge.net noreply@sourceforge.net
Tue, 31 Dec 2002 05:12:02 -0800


Bugs item #651124, was opened at 2002-12-09 17:00
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=651124&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Inyeol Lee (inyeol)
>Assigned to: Ka-Ping Yee (ping)
Summary: pydoc ignores $PAGER if TERM=='dumb'

Initial Comment:
bug:
pydoc ignores $PAGER environment variable
if TERM=='dumb'

symptom:
when using pydoc as a keyword helper system
(set keywordprg) pydoc scrolls all over its
contents without paging, since gvim sets its
terminal type to 'dumb' for shell escape.

Fix:
patch included. function getpager() rearranged.

Inyeol Lee


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

>Comment By: Neal Norwitz (nnorwitz)
Date: 2002-12-31 08:12

Message:
Logged In: YES 
user_id=33168

Ping, do you agree with this patch?

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

Comment By: Inyeol Lee (inyeol)
Date: 2002-12-09 17:06

Message:
Logged In: YES 
user_id=595280

description on symptom above is for gvim.
it was not clear there.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=651124&group_id=5470