#215 closed defect (fixed)
Redundant MANPATH
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Book | Version: | CVS |
Severity: | normal | Keywords: | |
Cc: |
Description
From jsmaby@…:
I noticed that in /usr/share/misc/man.conf the MANPATH uses both /usr/man and /usr/share/man, so programs like whatis and apropos give two matches for each man page (try whatis ls for instance). Now, it appears that makewhatis adds /usr/man regardless of what is in that file, so in order to fix the problem we would have to uncomment the /usr/share/man entry, even though that's where the man pages really are.
Change History (9)
comment:1 by , 23 years ago
comment:3 by , 23 years ago
I'm unable to reproduce this problem with man 1.5j so it's probably fixed in this release. I've tested it on two different boxes with various man.confs.
comment:4 by , 23 years ago
copy default man.conf file from man-1.5j/src/man.conf to /etc
root@lorien:/usr/src/builds# makewhatis root@lorien:/usr/src/builds# whatis ls ls (1) - list directory contents ls (1) - list directory contents
When I comment out /usr/man in man.conf I still get those two lines of output. When I comment out /usr/share/man and leave /usr/man I get the correct one line of output.
comment:5 by , 22 years ago
Priority: | normal → highest |
---|
comment:6 by , 22 years ago
Priority: | highest → high |
---|
comment:7 by , 22 years ago
Status: | new → assigned |
---|
comment:9 by , 22 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
added regex to change "MANPATH /usr/man" into "#MANPATH /usr/man"
I suggest creating a minimal man.conf ourselves. I'll post an example of this later... (This is partly a test of my new KDE setup!)