Changing the header on the -man nroff macro

Dale Miller dale at ssbell.UUCP
Tue May 23 00:19:12 AEST 1989


In article <4351f983.19ac2 at wasp.engin.umich.edu> stealth at caen.engin.umich.edu (Mike Peltier) writes:
>
>   I have been trying to figure out how to change the header that the .TH
>macro produces to something like 'CAEN Technical Note', instead of the
>usual 'Unix Programmer's Manual'.  Any ideas?  I've looked at the
>/usr/lib/macros/an file, and am completely clueless as to what every-
>thing in there means.  I see the '.deTH' line, but everything subsequent
>is a jumble of backslashes, parenthesis, and brackets as far as I'm
>concerned.  Any insights on how this macro does it's magic?  Thanks
>for your help.
>   Please send repies through E-mail, since I don't usually keep abreast
>of this newsgroup.  Thanks!
> 
I had the same question once and noticed that on a SUN the .TH command
had the following options:
  .TH n c x v m 
with the explanation of:
Begin page named "n" of chapter "c."  The "x" argument is for extra
commentary for the center page footer.  The "v" argument alters the left
portion of the page footer.  The "m" argument alters the center protion
of the page header.  The .TH command line also incidentally sets the
prevailing indent and tabs to .5i.

I mainly use UNIX System V release 2 on a VAX 750.  I tried the SUN .TH
format on it and found that it works except the "v" parameter does not
seem to work for me, however, it is a positional parameter that is needed.
I use things like 
  .TH sample 1 "Sterling Software" "" "Configuration Management"

Experiment using the SUN format and you may find that you do not need to
change the man macros.


-- 
Dale Miller                  UUCP:     dale at ssbell
Sterling Software FSG/IMD    INTERNET: dale%ssbell.uucp at uunet.uu.net
1404 Ft. Crook Rd. South     Phone:    (402) 291-8300 
Bellevue, NE. 68005-2969     FAX:      (402) 291-4362



More information about the Comp.unix.questions mailing list