help with man page content

Thomas Dickey dickey at his.com
Mon Feb 13 23:37:36 UTC 2017


On Mon, Feb 13, 2017 at 03:19:17PM -0500, Ernie Luzar wrote:
> Hi List;
> 
> I am creating a man page and I want to include the output from the
> ifconfig command. Is there some command I can wrap around all the
> lines to nullify the auto wrapping feature? Something like what is
> done to highlight text.

In xterm's manual page, I do it using these macros:

.de NS
.ie \n(.sp
.el    .sp .5
.ie \n(.in +4
.el    .in +2
.nf
.ft C			\" Courier
..
.de NE
.fi
.ft R
.in -4
..

The main parts are ".nf" (no fill) and ".fi" (fill), to turn off formatting
and resume, respectively.

-- 
Thomas E. Dickey <dickey at invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170213/d750ee54/attachment.sig>


More information about the freebsd-questions mailing list