Browse Source

- remove /usr/{X11,contrib,gnu} and /usr/*/man/old from the _default path

man(1) searches, as well as from the numerical sections list, as they do
not exist
- remove the {contrib,new,old} sections, as they point to directories
that do not exist
- make the X11 section an alias for the X11R6 section (instead of
pointing to a non-existent directory)
ok millert
OPENBSD_4_2
jmc 17 years ago
parent
commit
e60953593e
1 changed files with 11 additions and 14 deletions
  1. +11
    -14
      src/etc/man.conf

+ 11
- 14
src/etc/man.conf View File

@ -1,4 +1,4 @@
# $OpenBSD: man.conf,v 1.10 2007/05/17 06:44:11 jmc Exp $
# $OpenBSD: man.conf,v 1.11 2007/05/18 15:41:17 jmc Exp $
# Sheer, raging paranoia... # Sheer, raging paranoia...
_version BSD.2 _version BSD.2
@ -33,27 +33,24 @@ _build .ms /usr/bin/nroff -ms %s 2>/dev/null | cat -s
# directory with all of the subdirectories listed for the keyword _subdir. # directory with all of the subdirectories listed for the keyword _subdir.
# default # default
_default /usr/{share,X11R6,X11,contrib,gnu,local}/{man,man/old}/
_default /usr/{share,X11R6,local}/man/
# Other sections that represent complete man subdirectories. # Other sections that represent complete man subdirectories.
X11 /usr/X11/man/
X11 /usr/X11R6/man/
X11R6 /usr/X11R6/man/ X11R6 /usr/X11R6/man/
contrib /usr/contrib/man/
local /usr/local/man/ local /usr/local/man/
new /usr/contrib/man/
old /usr/share/man/old/
# Specific section/directory combinations. # Specific section/directory combinations.
1 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}1
2 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}2
3 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}3
1 /usr/{share,X11R6,local}/man/{cat,man}1
2 /usr/{share,X11R6,local}/man/{cat,man}2
3 /usr/{share,X11R6,local}/man/{cat,man}3
3F /usr/share/man/cat3f 3F /usr/share/man/cat3f
3f /usr/share/man/cat3f 3f /usr/share/man/cat3f
3P /usr/share/man/cat3p 3P /usr/share/man/cat3p
3p /usr/share/man/cat3p 3p /usr/share/man/cat3p
4 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}4
5 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}5
6 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}6
7 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}7
8 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}8
4 /usr/{share,X11R6,local}/man/{cat,man}4
5 /usr/{share,X11R6,local}/man/{cat,man}5
6 /usr/{share,X11R6,local}/man/{cat,man}6
7 /usr/{share,X11R6,local}/man/{cat,man}7
8 /usr/{share,X11R6,local}/man/{cat,man}8
9 /usr/share/man/{cat,man}9 9 /usr/share/man/{cat,man}9

Loading…
Cancel
Save