Subject: Quick man question
To: None <port-pmax@NetBSD.ORG>
From: Mauricio Tavares <Mauricio@proedint.com>
List: port-pmax
Date: 04/13/2000 17:01:40
Ok, after a long time not being able to play with my DEC, I am back.  And
here is a pretty simple question:

I installed Samba and another programs and would like to access its man pages 
where it installed it, namely /usr/local/samba/man/.  Looking in the man page 
for man, I decided to go to the file /etc/man.conf and add the appropriate 
entries there.  I looked into the following lines 
 
# Sections and their directories.
# All paths ending in '/' are the equivalent of entries specifying that
# directory with all of the subdirectories listed for the keyword _subdir.

# default
_default        /usr/{share,X11R6,X11,pkg,local}/man/

# Other sections that represent complete man subdirectories.
X11R6           /usr/X11R6/man/
X11             /usr/X11/man/
packages        /usr/pkg/man/
local           /usr/local/man/
 
doc             /usr/{pkg,share}/doc/{sendmail/op,sendmail/intro}

# Specific section/directory combinations.
1               /usr/{share,X11R6,X11,pkg,local,local/samba}/man/{cat,man}1
2               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}2
3               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}3
3F              /usr/{share,pkg}/man/{cat,man}3f
3f              /usr/{share,pkg}/man/{cat,man}3f
4               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}4
5               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}5
6               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}6
7               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}7
8               /usr/{share,X11R6,X11,pkg,local}/man/{cat,man}8
9               /usr/{share,pkg}/man/{cat,man}9
l               /usr/{X11R6,X11,pkg,local}/man/{cat,man}l
n               /usr/{X11R6,X11,pkg,local}/man/{cat,man}n
 
and was wondering how the section "Other sections that represent complete man 
subdirectories." come into place.  Because it defines some variables, like 
"packages" but I have not seen it being refered to in the file.  Could anyone 
shed some light here?  Incidentally, I am using netbsd 1.4.1 in a Dec 5000/20
Save message