Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2006 14:14:15 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        SPYRIDON PAPADOPOULOS <SP373@student.apu.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to create a manual page in FreeBSD
Message-ID:  <20060112201415.GB44823@Grumpy.DynDNS.org>
In-Reply-To: <1137094538.8ba70fa0SP373@student.apu.ac.uk>
References:  <1137094538.8ba70fa0SP373@student.apu.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060112201415.GB44823>