Date: Thu, 01 Apr 2010 17:29:48 +0800 From: Fbsd1 <fbsd1@a1poweruser.com> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to make "man" pages Message-ID: <4BB4678C.1000409@a1poweruser.com> In-Reply-To: <4BB46452.8020907@infracaninophile.co.uk> References: <4BB2BABF.9070401@a1poweruser.com> <4BB2F8FF.7090707@infracaninophile.co.uk> <4BB2FFB1.4020500@a1poweruser.com> <4BB313ED.7030506@infracaninophile.co.uk> <4BB45C57.2040104@a1poweruser.com> <4BB46452.8020907@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/04/2010 09:41:59, Fbsd1 wrote: >> Getting closer but not there yet. Selected man jail to be my example of >> macro commands used. Did [gunzip jail.8.gz] and now I have jail.8 file. >> How to I convert this file to native macro file that I can edit with ee? > > Ah -- did you copy the right file? /usr/share/man/man8/jail.8.gz should > contain mdoc source, which looks like this: > > > .\" > .\" Copyright (c) 2000, 2003 Robert N. M. Watson > .\" Copyright (c) 2008 James Gritton > .\" All rights reserved. > .\" > .\" Redistribution and use in source and binary forms, with or without > .\" modification, are permitted provided that the following conditions > .\" are met: > .\" 1. Redistributions of source code must retain the above copyright > .\" notice, this list of conditions and the following disclaimer. > .\" 2. Redistributions in binary form must reproduce the above copyright > .\" notice, this list of conditions and the following disclaimer in the > > [... copyright statements elided for reasons of space ...] > > .\" $FreeBSD: src/usr.sbin/jail/jail.8,v 1.97.2.3 2010/01/23 16:40:35 bz > Exp $ > .\" > .Dd January 17, 2010 > .Dt JAIL 8 > .Os > .Sh NAME > .Nm jail > .Nd "create or modify a system jail" > .Sh SYNOPSIS > .Nm > [...etc...] > > No blank lines there. Don't confuse this with the preprocessed version > in /usr/share/man/*cat8*/jail.8.gz > > Cheers, > > Matthew > > Yep that is the problem. I have no source. I did minimum install. Is there any way to convert the preprocessed version in /usr/share/man/*cat8*/jail.8.gz to native macro file.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB4678C.1000409>