home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!bloom-beacon!eru.mt.luth.se!lunic!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Newsgroups: comp.unix.misc
- Subject: Re: man macro manual?
- Message-ID: <1992Sep8.070255.2425@ericsson.se>
- Date: 8 Sep 92 07:02:55 GMT
- References: <Bu6z2u.3tq@mtholyoke.edu> <1992Sep7.101314.3759@ericsson.se> <1992Sep7.211517.26876@tous.oau.org>
- Sender: news@ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- Lines: 55
- Nntp-Posting-Host: eos6c02.ericsson.se
-
- In article <1992Sep7.211517.26876@tous.oau.org>,
- rbt@tous.oau.org (Robert B. Tate) writes:
- |> In article <1992Sep7.101314.3759@ericsson.se>
- |> etxmesa@eos.ericsson.se (Michael Salmon) writes:
- |> >In article <Bu6z2u.3tq@mtholyoke.edu>,
- |> >jbotz@mtholyoke.edu (Jurgen Botz) writes:
- |> >|> Where can I find a manual for the tmac.an macros? Does it exist or
- |> >|> is being able to figure them out a requirement for being qualified
- |> >|> to write man pages?
- |> >
- |> >Try:
- |> > eos6c02 ~ 43 > man 7 man
- [...]
- |> This is really LESS than usefull! If you already know what man is and how
- |> to use it, it will remind you, but what about HOW to USE the macros in
- |> the tmac.an? What do they mean? Where to use them? What order to do a
- |> proper man page? Not all of use are experts in roff macros!
-
- From the same manual page:
-
- A typical manual page for a SunOS command or function is
- laid out as follows:
-
- .TH TITLE [1-8]
- The name of the command or function in upper-case,
- which serves as the title of the manual page. This is
- followed by the number of the section in which it
- appears.
-
- .SH NAME The name, or list of names, by which the command is
- called, followed by a dash and then a one-line summary
- of the action performed. All in roman font, this sec-
- tion contains no troff(1) commands or escapes, and no
- macro requests. It is used to generate the whatis(1)
- database.
-
- .SH SYNOPSIS
-
- Commands:
-
- Please read what I typed, "man 7 man" note that I read from section 7,
- not section 1 which is where the man command is to be found. If you
- don't understand the manual sections then I suggest you try "man man"
- or "man intro" before trying to write a manual page.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-