How to make "man" pages

2010-03-30 Thread Fbsd1
Where can I find documentation on the procedure to create "man" pages for a port? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@

Re: How to make "man" pages

2010-03-31 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/03/2010 04:00:15, Fbsd1 wrote: > Where can I find documentation on the procedure to create "man" pages > for a port? If you want to write a man page from scratch, probably the best way to get started is to just copy a man page from the base syst

Re: How to make "man" pages

2010-03-31 Thread Fbsd1
On 31/03/2010 04:00:15, Fbsd1 wrote: Where can I find documentation on the procedure to create "man" pages for a port? If you want to write a man page from scratch, probably the best way to get started is to just copy a man page from the base system and edit it to taste. See groff(1) for docu

Re: How to make "man" pages

2010-03-31 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/03/2010 08:54:25, Fbsd1 wrote: > OK i want to write a man page from scratch. So lets say i want to use > /usr/share/man/man2/jail.2.gz as my starting sample. How do I convert > this .gz file to a plain text file so I can edit it with ee? % cp

Re: How to make "man" pages

2010-03-31 Thread Jerry
On Wed, 31 Mar 2010 15:54:25 +0800, Fbsd1 articulated: > > >> On 31/03/2010 04:00:15, Fbsd1 wrote: > >> Where can I find documentation on the procedure to create "man" > >> pages for a port? > > > > If you want to write a man page from scratch, probably the best way > > to get started is to jus

Re: How to make "man" pages

2010-03-31 Thread Randal L. Schwartz
> "Matthew" == Matthew Seaman writes: Matthew> groff+mdoc might be a markup language, but it's nothing at all Matthew> like HTML. No, it's not. It's actually turing-complete. I did "towers of hanoi" in troff at one point. Can't do that with HTML. :) -- Randal L. Schwartz - Stonehenge C

Re: How to make "man" pages

2010-03-31 Thread Giorgos Keramidas
On Wed, 31 Mar 2010 15:54:25 +0800, Fbsd1 wrote: > OK i want to write a man page from scratch. So lets say i want to use > /usr/share/man/man2/jail.2.gz as my starting sample. How do I convert > this .gz file to a plain text file so I can edit it with ee? And how do > I turn the edited text file b

Re: How to make "man" pages

2010-04-01 Thread Fbsd1
Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 31/03/2010 08:54:25, Fbsd1 wrote: OK i want to write a man page from scratch. So lets say i want to use /usr/share/man/man2/jail.2.gz as my starting sample. How do I convert this .gz file to a plain text file so I can edit i

Re: How to make "man" pages

2010-04-01 Thread Matthew Seaman
-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

Re: How to make "man" pages

2010-04-01 Thread Fbsd1
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 fi

Re: How to make "man" pages

2010-04-01 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/04/2010 10:29:48, Fbsd1 wrote: > 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. Download mdoc sources from here:

Re: How to make "man" pages

2010-04-12 Thread Fbsd1
For the questions list archives: I wrote an How To Creating a manpage from scratch. You can read it here. http://www.daemonforums.org/showthread.php?t=4602 Thanks to all the people who replied to my post. Joe ___ freebsd-questions@freebsd.org maili

Re: How to make "man" pages

2010-04-12 Thread Giorgos Keramidas
On Mon, 12 Apr 2010 16:49:04 +0800, Fbsd1 wrote: > For the questions list archives: > I wrote an How To Creating a manpage from scratch. > > You can read it here. > > http://www.daemonforums.org/showthread.php?t=4602 > > Thanks to all the people who replied to my post. Nice post. This is exactl