How to create a manual page in FreeBSD

David Kelly dkelly at
Thu Jan 12 12:14:18 PST 2006

On Thu, Jan 12, 2006 at 07:35:38PM +0000, SPYRIDON PAPADOPOULOS wrote:
> Hi all,
> Can anyone describe/give info, of how one can create a manual page for
> a custom program in FreeBSD. A manual page that would be accessible
> through the #man command. Is it possible?

Study troff and write your man page with any old text editor. Suggest
you place it in /usr/local/man/ the same as many others.

Easier than learning troff from the beginning would be to take an
existing man page and make a copy of it. Edit the copy. Proofread every
little change. Suggest /usr/share/man1/man.1.gz would be a good man page
to use as your template.

Gzipping man pages is optional.

David Kelly N4HHE, dkelly at
Whom computers would destroy, they must first drive mad.

More information about the freebsd-questions mailing list