Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112480 - xorg installs manpages into man?x which man doesnt know about
Summary: xorg installs manpages into man?x which man doesnt know about
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 22:22 UTC by Ryan Hill (RETIRED)
Modified: 2005-11-14 16:06 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 Ryan Hill (RETIRED) gentoo-dev 2005-11-13 22:22:18 UTC
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 SpanKY gentoo-dev 2005-11-14 06:32:05 UTC
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 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-14 11:08:35 UTC
(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 SpanKY gentoo-dev 2005-11-14 16:06:11 UTC
1.6b-r2 searches [1-8]x then