From owner-freebsd-questions@freebsd.org Mon Feb 13 23:24:56 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5551CCDE183 for ; Mon, 13 Feb 2017 23:24:56 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from know-smtprelay-omc-10.server.virginmedia.net (know-smtprelay-omc-10.server.virginmedia.net [80.0.253.74]) by mx1.freebsd.org (Postfix) with ESMTP id C8C9418BC for ; Mon, 13 Feb 2017 23:24:55 +0000 (UTC) (envelope-from zarniwhoop@ntlworld.com) Received: from localhost.localdomain ([81.97.232.230]) by know-smtprelay-10-imp with bizsmtp id kPPl1u00D4yv82R01PPlTe; Mon, 13 Feb 2017 23:23:45 +0000 X-Originating-IP: [81.97.232.230] X-Spam: 0 X-Authority: v=2.1 cv=WM+CJSYR c=1 sm=1 tr=0 a=obylDaYnIsVqxbenyIBF4Q==:117 a=obylDaYnIsVqxbenyIBF4Q==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=Eq9Hzjjlrt8A:10 a=n2v9WMKugxEA:10 a=VKcI055dAAAA:8 a=Moz6MgpCAAAA:8 a=NcCA4xrTFpYHyFTXERcA:9 a=QEXdDO2ut3YA:10 a=wyjzu2ZmCtS3_qeUlk5i:22 a=4dGPaup8muN0EjWyyL_U:22 Received: by localhost.localdomain (Postfix, from userid 500) id 19EFB87EDC; Mon, 13 Feb 2017 23:23:45 +0000 (GMT) Date: Mon, 13 Feb 2017 23:23:45 +0000 From: Ken Moffat To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: help with man page content Message-ID: <20170213232345.GA30403@milliways.localdomain> References: <58A214C5.8040409@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett Content-Transfer-Encoding: 8bit In-Reply-To: <58A214C5.8040409@gmail.com> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 23:24:56 -0000 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. > > thanks Long while since I've written a manpage, but perhaps https://liw.fi/manpages/ has something useful - maybe a new para (.PP) for the command, possibly with an indent like in the example there. Failing that, perhaps start from a pod file with 'C' for inline code, as at https://rwmj.wordpress.com/2010/03/30/pod2man-a-great-way-to-write-unix-man-pages/ And if none of that helps, do what editors (people, not programs) have to sometimes do - reword and reformat it ;) ĸen -- `I shall take my mountains', said Lu-Tze. `The climate will be good for them.' -- Small Gods