How to make "man" pages

Fbsd1 fbsd1 at a1poweruser.com
Thu Apr 1 09:29:59 UTC 2010


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.


More information about the freebsd-questions mailing list