perldoc completion dies if MANPAGER is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Ubuntu) |
Fix Released
|
Undecided
|
David Paleino |
Bug Description
Binary package hint: bash-completion
If MANPAGER is set, the perldoc completion tries to launch your pager, screwing up your terminal..
This is because it uses "PAGER=/bin/cat man perl" to pull some completions out. However, MANPAGER and PERLDOC_PAGER both override PAGER.
The enclosed patch fixes this: it just unsets MANPAGER and PERLDOC_PAGER when generating the completions so the output goes to /bin/cat as intended.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bash-completion 1:1.1-3ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
Architecture: i386
Date: Sat Mar 19 13:21:15 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100224.1)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: bash-completion
Related branches
tags: | added: patch |
Changed in bash-completion (Ubuntu): | |
assignee: | nobody → David Paleino (dpaleino) |
status: | New → Incomplete |
status: | Incomplete → Fix Committed |
Found this on Lucid but it's a problem in Natty too.