Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520034 - app-shells/bash-completion: perldoc should call /usr/bin/man, not just man
Summary: app-shells/bash-completion: perldoc should call /usr/bin/man, not just man
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-16 07:30 UTC by Alex Efros
Modified: 2017-07-02 22:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Efros 2014-08-16 07:30:49 UTC
There is a problem with /usr/share/bash-completion/perl (both in bash-completion-1.3-r2 and 2.1) - to get list of available completions it execute `man` command. Sometimes users have own replacement in ~/bin/man which show man pages using non-standard browsers/pagers like vim, and this result in starting vim in background while trying to get completions.

I think it make sense to use `/usr/bin/man` instead of `man` to get completions.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-08-16 09:48:32 UTC

*** This bug has been marked as a duplicate of bug 520030 ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-08-16 09:49:14 UTC
oops, not a duplicate
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-07-02 22:11:34 UTC
I'm sorry but this is not something I'm going to call supported. If you replace 'man' with something custom and incompatible with the original man, you get to keep the pieces. Hardcoding paths is a very bad idea, especially if the sole purpose is to workaround something broken on $PATH.