Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ catman(8) — SunOS 3.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

man(1)

whatis(1)

CATMAN(8)  —  MAINTENANCE COMMANDS

NAME

catman − create the cat files for the manual

SYNOPSIS

/usr/etc/catman [−p] [−n] [−w] [−t] [−M directory] [−T tmac.an] [sections]

DESCRIPTION

Catman creates the preformatted versions of the on-line manual from the nroff input files.  Each manual page is examined and those whose preformatted versions are missing or out of date are recreated.  If any changes are made, catman recreates the whatis database. 

If there is one parameter not starting with a ‘−’, it is taken to be a list of manual sections to look in.  For example

catman 123

only updates manual sections 1, 2, and 3. 

If an unformatted source file contains only a line of the form ".so manx/yyy.x", a symbolic link is made in the catx or fmtx directory to the appropriate preformatted manual page.  This feature allows easy distribution of the preformatted manual pages among a group of associated machines with rdist(1), since it makes the directories of preformatted manual pages self-contained and independent of the unformatted entries.

OPTIONS

−n Do not (re)create the whatis database. 

−p Print what would be done instead of doing it. 

−w Only create the whatis database.  No manual reformatting is done. 

−t Create troffed entries in the appropiate fmt subdirectories instead of nroffing into the cat subdirectories. 

−M update manual pages located in the specified directory (/usr/man by default). 

−T Use tmac.an in place of the standard manual page macros. 

FILES

/usr/man default manual directory location

/usr/man/man?/∗.∗ raw (nroff input) manual sections

/usr/man/cat?/∗.∗ preformatted nroffed manual pages

/usr/man/fmt?/∗.∗ preformatted troffed manual pages

/usr/man/whatis whatis database location

/usr/lib/makewhatis command script to make whatis database

ENVIRONMENT

TROFF The name of the formatter to use when the −t flag is given.  If not set, ‘troff’ is used. 

DIAGNOSTICS

man?/xxx.? (.so’ed from man?/yyy.?): No such file or directory
The file outside the parentheses is missing, and is referred to by the file inside them.

target of .so in man?/xxx.? must be relative to /usr/man
catman only allows references to filenames that are relative to the directory /usr/man. 

opendir:man?: No such file or directory
A warning message indicating that one of the directories catman normally looks for is not present. 

∗.∗: No such file or directory
A warning message indicating catman came across an empty directory while building the whatis database. 

SEE ALSO

man(1), whatis(1)

Sun Release 3.2  —  Last change: 8 July 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026