This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pydoc ignores $PAGER if TERM=='dumb'
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: ping Nosy List: inyeol, nnorwitz, ping
Priority: normal Keywords:

Created on 2002-12-09 22:00 by inyeol, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
pydoc.diff inyeol, 2002-12-09 22:03 bug 651124 patched
Messages (4)
msg13575 - (view) Author: Inyeol Lee (inyeol) Date: 2002-12-09 22:00
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
msg13576 - (view) Author: Inyeol Lee (inyeol) Date: 2002-12-09 22:06
Logged In: YES 
user_id=595280

description on symptom above is for gvim.
it was not clear there.
msg13577 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2002-12-31 13:12
Logged In: YES 
user_id=33168

Ping, do you agree with this patch?
msg13578 - (view) Author: Ka-Ping Yee (ping) * (Python committer) Date: 2005-11-03 09:01
Logged In: YES 
user_id=45338

Accepted.
History
Date User Action Args
2022-04-10 16:05:58adminsetgithub: 37592
2002-12-09 22:00:30inyeolcreate