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: prefer the pager command in favor of the specifc less command
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: doko, martin.panter
Priority: low Keywords: patch

Created on 2016-06-14 06:27 by doko, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
pydoc-use-pager.diff doko, 2016-06-14 06:27
Messages (3)
msg268524 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2016-06-14 06:27
pydoc: prefer the pager command in favor of the specifc less command. the pager command on Debian/Ubuntu systems is an alternative which is provided by specific pagers like less or more.

References:
http://unix.stackexchange.com/questions/5383/which-systems-have-pager-shortcut-alias
msg268538 - (view) Author: Martin Panter (martin.panter) * (Python committer) Date: 2016-06-14 07:41
Does Debian use PAGER or MANPAGER? What’s the advantage of the “pager” command in addition?
msg268540 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2016-06-14 07:47
Debian prefers to set these defaults without relying on env vars. There is no env var set by default.

/etc/security/pam_env.conf:# be useful to be set: NNTPSERVER, LESS, PATH, PAGER, MANPAGER .....
/etc/security/pam_env.conf:#PAGER               DEFAULT=less
/etc/security/pam_env.conf:#MANPAGER    DEFAULT=less
History
Date User Action Args
2022-04-11 14:58:32adminsetgithub: 71502
2021-12-09 18:45:23iritkatrielsettype: enhancement
versions: + Python 3.11, - Python 2.7, Python 3.5, Python 3.6
2016-06-14 07:47:39dokosetmessages: + msg268540
2016-06-14 07:41:51martin.pantersetnosy: + martin.panter
messages: + msg268538
2016-06-14 06:27:53dokocreate