Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2008 18:31:11 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        pwn <pwnedomina@gmail.com>
Cc:        freebsd-questions@freebsd.org, Jonathan McKeown <jonathan+freebsd-questions@hst.org.za>
Subject:   Re: ascii text format
Message-ID:  <87k5ax6nxs.fsf@kobe.laptop>
In-Reply-To: <4926D965.8010104@gmail.com> (pwn's message of "Fri, 21 Nov 2008 15:53:09 %2B0000")
References:  <4926922C.8050702@gmail.com> <200811211539.28898.jonathan%2Bfreebsd-questions@hst.org.za> <4926D965.8010104@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Nov 2008 15:53:09 +0000, pwn <pwnedomina@gmail.com> wrote:
> yes, i want that the text appears displayed such as manpages like, how
> can i accomplish this task?

The manpages are written in groff.  More specifically, they are written
in a format that may be formatted by the `mdoc' macros of groff; the set
of groff macros described in the groff_mdoc(7) manpage.

See my other post about using groff and a specially formatted `input
file' to produce text output similar to the manpage look & feel :)

The `mdoc' macro package is just _one_ of the available sets of macros
for formatting text with groff.  Check out the groff wiki at

    http://www.port.de/cgi-bin/groff/GroffMacroPackages

for information about the standard macro packages included with groff.

The `extras' page at

    http://www.port.de/cgi-bin/groff/GroffExtras

has pointers to other, non-standard macro packages.  This may be a bit
interesting too.




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