Annotation of src/etc/man.conf, Revision 1.22
1.22 ! schwarze 1: # $OpenBSD: man.conf,v 1.21 2014/12/09 05:55:42 schwarze Exp $
1.1 deraadt 2:
3: # Sheer, raging paranoia...
4: _version BSD.2
5:
6: # The whatis/apropos database.
7: _whatdb /usr/share/man/whatis.db
1.21 schwarze 8: _whatdb /usr/X11R6/man/whatis.db
1.4 dm 9: _whatdb /usr/local/man/whatis.db
1.1 deraadt 10:
11: # Subdirectories for paths ending in '/', IN SEARCH ORDER.
1.18 schwarze 12: _subdir {cat,man}1 {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n
1.1 deraadt 13:
14: # Files typed by suffix and their commands.
1.12 jmc 15: # Note the order: .Z must come after .[1-9n].Z, or it will match first.
1.1 deraadt 16: _suffix .0
17: _build .0.Z /usr/bin/zcat %s
1.12 jmc 18: _build .0.gz /usr/bin/gzcat %s
1.20 espie 19: _build .[1-9n] /usr/bin/mandoc %s
20: _build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/mandoc
21: _build .[1-9n].gz /usr/bin/gzcat %s | /usr/bin/mandoc
22: _build .[1-9][a-z] /usr/bin/mandoc %s
23: _build .[1-9][a-z].Z /usr/bin/zcat %s | /usr/bin/mandoc
24: _build .[1-9][a-z].gz /usr/bin/gzcat %s | /usr/bin/mandoc
25: _build .tbl /usr/bin/mandoc %s
26: _build .tbl.Z /usr/bin/zcat %s | /usr/bin/mandoc
27: _build .tbl.gz /usr/bin/gzcat %s | /usr/bin/mandoc
1.1 deraadt 28:
29: # Sections and their directories.
30: # All paths ending in '/' are the equivalent of entries specifying that
31: # directory with all of the subdirectories listed for the keyword _subdir.
32:
33: # default
1.22 ! schwarze 34: _default /usr/{share,X11R6,local}/man/
1.1 deraadt 35:
36: # Other sections that represent complete man subdirectories.
1.11 jmc 37: X11 /usr/X11R6/man/
1.1 deraadt 38: X11R6 /usr/X11R6/man/
39: local /usr/local/man/
40:
41: # Specific section/directory combinations.
1.11 jmc 42: 1 /usr/{share,X11R6,local}/man/{cat,man}1
43: 2 /usr/{share,X11R6,local}/man/{cat,man}2
44: 3 /usr/{share,X11R6,local}/man/{cat,man}3
1.13 jmc 45: 3F /usr/local/man/{cat,man}3f
46: 3f /usr/local/man/{cat,man}3f
47: 3P /usr/{share,local}/man/{cat,man}3p
48: 3p /usr/{share,local}/man/{cat,man}3p
1.11 jmc 49: 4 /usr/{share,X11R6,local}/man/{cat,man}4
50: 5 /usr/{share,X11R6,local}/man/{cat,man}5
51: 6 /usr/{share,X11R6,local}/man/{cat,man}6
52: 7 /usr/{share,X11R6,local}/man/{cat,man}7
53: 8 /usr/{share,X11R6,local}/man/{cat,man}8
1.2 deraadt 54: 9 /usr/share/man/{cat,man}9
1.14 deanna 55: n /usr/local/man/{cat,man}n