MAN(1)MAN(1)

NAME

man, lookman, sig – print or find pages of this manual

SYNOPSIS

man [ -bnpPStw ] [ section ... ] title ...

lookman key ...

sig function ...

DESCRIPTION

Man locates and prints pages of this manual named title in the specified sections. Title is given in lower case. Each section is a number; pages marked (2S), for example, belong to chapter 2. If no section is specified, pages in all sections are printed. Any name from the NAME section at the top of the page will serve as a title.

The options are:

-n

(Default) Print the pages on the standard output using nroff.  

-b

Print the pages using nroff and send them to plumber(4) for display in the editor.  

-p

Run proof(1) on the specified man pages.  

-P

Run page(1) on the specified man pages.  

-S

Do not search the manual indices for the names. Only print pages whose file names match the names.  

-t

Run troff(1) and send its output to standard output.  

-w

Print the names of the man page source files.  

Lookman prints the names of all manual sections that contain all of the key words given on the command line.

Sig prints the signature (i.e. C definition) of the functions given on the command line.

FILES

/sys/man/?/*

troff source for manual; this page is /sys/man/1/man  

/sys/man/?/INDEX

indices searched to find pages corresponding to titles  

/sys/lib/man/secindex

command to make an index for a given section  

/sys/lib/man/lookman/index

index for lookman  

SOURCE

/rc/bin/man
/rc/bin/lookman

SEE ALSO

page(1), proof(1)

BUGS

The manual was intended to be typeset; some detail is sacrificed on text terminals.

There is no automatic mechanism to keep the indices up to date.

Except for special cases, man doesn’t recognize things that should be run through tbl and/or eqn.