1 # $OpenBSD: man.conf,v 1.15 2010/04/09 19:07:30 naddy Exp $
3 # Sheer, raging paranoia...
6 # The whatis/apropos database.
7 _whatdb /usr/share/man/whatis.db
8 _whatdb /usr/local/man/whatis.db
9 _whatdb /usr/X11R6/man/whatis.db
11 # Subdirectories for paths ending in '/', IN SEARCH ORDER.
12 _subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f catn mann
14 # Files typed by suffix and their commands.
15 # Note the order: .Z must come after .[1-9n].Z, or it will match first.
17 _build .0.Z /usr/bin/zcat %s
18 _build .0.gz /usr/bin/gzcat %s
19 _build .[1-9n] /usr/bin/nroff -Tascii -man %s
20 _build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/nroff -Tascii -man
21 _build .[1-9n].gz /usr/bin/gzcat %s | /usr/bin/nroff -Tascii -man
22 _build .[1-9][a-z] /usr/bin/nroff -Tascii -man %s
23 _build .[1-9][a-z].Z /usr/bin/zcat %s | /usr/bin/nroff -Tascii -man
24 _build .[1-9][a-z].gz /usr/bin/gzcat %s | /usr/bin/nroff -Tascii -man
25 _build .tbl /usr/bin/tbl %s | /usr/bin/nroff -Tascii -man
26 _build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -Tascii -man
27 _build .tbl.gz /usr/bin/gzcat %s | /usr/bin/tbl | /usr/bin/nroff -Tascii -man
28 _build .me /usr/bin/nroff -Tascii -me %s 2>/dev/null | cat -s
29 _build .ms /usr/bin/nroff -Tascii -ms %s 2>/dev/null | cat -s
31 # Sections and their directories.
32 # All paths ending in '/' are the equivalent of entries specifying that
33 # directory with all of the subdirectories listed for the keyword _subdir.
36 _default /usr/{share,X11R6,local}/man/
38 # Other sections that represent complete man subdirectories.
43 # Specific section/directory combinations.
44 1 /usr/{share,X11R6,local}/man/{cat,man}1
45 2 /usr/{share,X11R6,local}/man/{cat,man}2
46 3 /usr/{share,X11R6,local}/man/{cat,man}3
47 3F /usr/local/man/{cat,man}3f
48 3f /usr/local/man/{cat,man}3f
49 3P /usr/{share,local}/man/{cat,man}3p
50 3p /usr/{share,local}/man/{cat,man}3p
51 4 /usr/{share,X11R6,local}/man/{cat,man}4
52 5 /usr/{share,X11R6,local}/man/{cat,man}5
53 6 /usr/{share,X11R6,local}/man/{cat,man}6
54 7 /usr/{share,X11R6,local}/man/{cat,man}7
55 8 /usr/{share,X11R6,local}/man/{cat,man}8
56 9 /usr/share/man/{cat,man}9
57 n /usr/local/man/{cat,man}n