Bug 112480 - xorg installs manpages into man?x which man doesnt know about
Bug#: 112480 Product:  Gentoo Linux Version: 2005.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: dirtyepic@gentoo.org
Component: Applications
URL: 
Summary: xorg installs manpages into man?x which man doesnt know about
Keywords:  
Status Whiteboard: 
Opened: 2005-11-13 22:22 0000
Description:   Opened: 2005-11-13 22:22 0000
man can't seem to load manpages installed by modular X packages into
/usr/share/man/man[0-9]x when they are not called with a specific section.  they
do show up with man -k, and can be loaded by using a section name however.

ie.
dirtyepic ~ $  man -k radeon
radeon               (4x)  - ATI RADEON video driver
dirtyepic ~ $  man radeon
No manual entry for radeon
dirtyepic ~ $  man 4x radeon
[loads manpage]

this can be fixed just by adding the sections to MANSECT in /etc/man.conf

--- /etc/man.conf-orig	2005-11-14 00:09:48.000000000 -0600
+++ /etc/man.conf	2005-11-14 00:17:09.000000000 -0600
@@ -123,7 +123,7 @@
 # Default manual sections (and order) to search if -S is not specified
 # and the MANSECT environment variable is not set.
 #
-MANSECT		1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o
+MANSECT		1:1p:1x:8:2:3:3p:3x:4:4x:5:5x:6:7:9:0p:tcl:n:l:p:o
 #
 # Default options to use when man is invoked without options
 # This is mainly for the benefit of those that think -a should be the default

i don't know if these are all the sections that are needed, they're just the
ones i had on my system.

------- Comment #1 From SpanKY 2005-11-14 06:32:05 0000 -------
thats because [0-9]x are not valid categories atm and you didnt update
your man.conf to declare them as such

x11 team needs to decide what they want me to do before i update man

spyderous: Fedora updates their man.conf MANSECT variable to include
[0-9]x as i suggested on irc

------- Comment #2 From Donnie Berkholz 2005-11-14 11:08:35 0000 -------
(In reply to comment #1)
> thats because [0-9]x are not valid categories atm and you didnt update
> your man.conf to declare them as such
> 
> x11 team needs to decide what they want me to do before i update man
> 
> spyderous: Fedora updates their man.conf MANSECT variable to include
> [0-9]x as i suggested on irc

OK, please go with that.

------- Comment #3 From SpanKY 2005-11-14 16:06:11 0000 -------
1.6b-r2 searches [1-8]x then