[BACK]Return to man.conf CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / Attic / man.conf (download)

Revision 1.11, Fri May 18 15:41:17 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.10: +11 -14 lines

- 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: man.conf,v 1.11 2007/05/18 15:41:17 jmc Exp $

# Sheer, raging paranoia...
_version	BSD.2

# The whatis/apropos database.
_whatdb		/usr/share/man/whatis.db
_whatdb		/usr/local/man/whatis.db
_whatdb		/usr/X11R6/man/whatis.db

# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir		cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat3f man3f cat4 man4 cat9 man9 cat3p man3p

# Files typed by suffix and their commands.
# Note the order, .Z must come after .[1-9n].Z, or it will match first.
_suffix		.0
_build		.0.Z		/usr/bin/zcat %s
_build		.0.gz		/usr/bin/gunzip -c %s
_build		.[1-9n]		/usr/bin/nroff -man %s
_build		.[1-9n].Z	/usr/bin/zcat %s | /usr/bin/nroff -man
_build		.[1-9n].gz	/usr/bin/gunzip -c %s | /usr/bin/nroff -man
_build		.[1-9][a-z]	/usr/bin/nroff -man %s
_build		.[1-9][a-z].Z	/usr/bin/zcat %s | /usr/bin/nroff -man
_build		.[1-9][a-z].gz	/usr/bin/gunzip -c %s | /usr/bin/nroff -man
_build		.tbl		/usr/bin/tbl %s | /usr/bin/nroff -man
_build		.tbl.Z		/usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -man
_build		.tbl.gz		/usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -man
_build		.me		/usr/bin/nroff -me %s 2>/dev/null | cat -s
_build		.ms		/usr/bin/nroff -ms %s 2>/dev/null | cat -s

# 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,local}/man/

# Other sections that represent complete man subdirectories.
X11		/usr/X11R6/man/
X11R6		/usr/X11R6/man/
local		/usr/local/man/

# Specific section/directory combinations.
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
3P		/usr/share/man/cat3p
3p		/usr/share/man/cat3p
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