Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Apr 2010 10:16:02 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Fbsd1 <fbsd1@a1poweruser.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How to make "man" pages
Message-ID:  <4BB46452.8020907@infracaninophile.co.uk>
In-Reply-To: <4BB45C57.2040104@a1poweruser.com>
References:  <4BB2BABF.9070401@a1poweruser.com>	<4BB2F8FF.7090707@infracaninophile.co.uk>	<4BB2FFB1.4020500@a1poweruser.com> <4BB313ED.7030506@infracaninophile.co.uk> <4BB45C57.2040104@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAku0ZFIACgkQ8Mjk52CukIxTjACffpWoxOj7/QPl+KgFpxCSIq4z
Yn0AniejXWTWtZZwpgr4RpoIQTF5xMur
=YLBi
-----END PGP SIGNATURE-----



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