man.conf revision 1.8.2.2 1 # $NetBSD: man.conf,v 1.8.2.2 1997/12/15 06:13:51 mellon Exp $
2
3 # Sheer, raging paranoia...
4 _version BSD.2
5
6 # The whatis/apropos database.
7 _whatdb /usr/share/man/whatis.db
8 _whatdb /usr/local/man/whatis.db
9 _whatdb /usr/X11R5/man/whatis.db
10 _whatdb /usr/X11R6/man/whatis.db
11 _whatdb /usr/pkg/man/whatis.db
12
13 # Subdirectories for paths ending in '/', IN SEARCH ORDER.
14 _subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 cat3f man3f cat9 man9
15
16 # Files typed by suffix and their commands.
17 # Note the order, .Z must come after .[1-9].Z, or it will match first.
18 _suffix .0
19 _build .0.Z /usr/bin/zcat %s
20 _build .0.gz /usr/bin/gunzip -c %s
21 _build .[1-9] /usr/bin/nroff -man %s
22 _build .[1-9].Z /usr/bin/zcat %s | /usr/bin/nroff -man
23 _build .[1-9].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man
24 _build .tbl /usr/bin/tbl %s | /usr/bin/nroff -man
25 _build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -man
26 _build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -man
27 _build .n /usr/bin/nroff -me %s 2>/dev/null | cat -s
28 _build .me /usr/bin/nroff -me %s 2>/dev/null | cat -s
29
30 # Sections and their directories.
31 # All paths ending in '/' are the equivalent of entries specifying that
32 # directory with all of the subdirectories listed for the keyword _subdir.
33
34 # default
35 _default /usr/{share,pkg,X11R6,X386,X11,X11R4,contrib,gnu,local}/{man,man/old}/
36
37 # Other sections that represent complete man subdirectories.
38 X11 /usr/X11/man/
39 X11R4 /usr/X11R4/man/
40 X11R6 /usr/X11R6/man/
41 X386 /usr/X386/man/
42 contrib /usr/contrib/man/
43 local /usr/local/man/
44 new /usr/contrib/man/
45 old /usr/share/man/old/
46 packages /usr/pkg/man
47
48 doc /usr/{pkg,share}/doc/{sendmail/op,sendmail/intro}
49
50 # Specific section/directory combinations.
51 1 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}1
52 2 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}2
53 3 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}3
54 3F /usr/{pkg,share}/man/{cat,man}3f
55 3f /usr/{pkg,share}/man/{cat,man}3f
56 4 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}4
57 5 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}5
58 6 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}6
59 7 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}7
60 8 /usr/{pkg,share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}8
61 9 /usr/{pkg,share}/man/{cat,man}9
62