Home | History | Annotate | only in /src/share/tmac
History log of /src/share/tmac
RevisionDateAuthorComments
 1.32 24-Dec-2019  uwe G/c the list of old files that are gone for decades.
 1.31 25-Oct-2008  apb branches: 1.31.60;
Use ${TOOL_SED} instead if plain sed in Makefiles.
 1.30 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.29 21-Oct-2003  lukem Rework how MAKEVERBOSE operates:

* Don't bother prefixing commands with a line of ${_MKCMD}\
and instead rely upon "make -s". This is less intrusive on
all the Makefiles than the former. Idea from David Laight.

* Rename the variables use to print messages. The scheme now is:
_MKMSG_FOO Run _MKMSG 'foo'
_MKTARGET_FOO Run _MKMSG_FOO ${.TARGET}
From discussion with Alistair Crooks.
 1.28 19-Oct-2003  lukem implement MAKEVERBOSE
 1.27 30-Jun-2003  wiz Don't install macros any longer (except doc2html) we're now using
the GNU groff ones.
 1.26 26-Feb-2000  mycroft Treat these like other include files. This way:
* they are installed in the `make includes' pass.
* they are only updated if changed (which makes `make UPDATE=1' much faster).
 1.25 23-Jan-2000  mycroft More .mk file fallout. *sigh*
 1.24 30-Aug-1999  christos Revert 1.19 -> 1.20 change by thorpej. This should work as it is.
 1.23 10-Jul-1999  christos Arrange so that we can compile from a different location
 1.22 13-Jan-1999  ross New module: doc2html.
 1.21 15-Feb-1998  thorpej Make this work as if we were using suffix rules.
 1.20 15-Feb-1998  thorpej Make a note that if additional troff macro definitions are added, the
dependency list in bsd.man.mk should be updated.
 1.19 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.18 09-May-1997  mycroft Eliminate bogus redefinitions of standard targets.
 1.17 27-Mar-1997  mycroft No need to override BINDIR here.
 1.16 27-Mar-1997  mycroft If we're going to run things through strip.sed, let's be consistent about it.
 1.15 24-Mar-1997  christos - Makefile cleanups
 1.14 18-Oct-1996  thorpej Use ${INSTALL}.
 1.13 15-Oct-1996  perry RCSid Police
 1.12 20-Apr-1995  mycroft Remove read-only files before trying to rewrite them. From Greg Hudson.
 1.11 02-Jun-1994  jtc Change BINOWN -> BINGRP where appropriate.
 1.10 10-Feb-1994  cgd kill bogus install -d's, and clean slightly
 1.9 30-Sep-1993  jtc Always use `install -d' to make sure directory exists & has correct
ownership and permissions.

Use `:', rather than `.' to separate user and group in chown commands
in case we ever decide to remove the support for the (obsolete) `.'
separator.
 1.8 30-Sep-1993  jtc Removed tmac.an.old, the GNU man macros since we want all GPL'd source
in /usr/src/gnu. In fact, the macros are allready being installed from
the groff distribution.
 1.7 31-Jul-1993  mycroft Add RCS indentifiers.
 1.6 22-Jul-1993  jtc Now that all of the manual pages that used the "old" mandoc macros
have been upgraded to use the "new" mandoc macros, we can safely
remove support for tmac.doc.old
 1.5 09-Apr-1993  cgd make sure directories to install stuff exist before installing
 1.4 30-Mar-1993  cgd moved tmac.doc.old in from the distribution /usr/share tree, and fixed
the makefile... another place where the original source tree
was insonsistent w/the binary dist.
 1.3 30-Mar-1993  cgd fixed so that "tmac.an.old" is installed, so old man pages can be made,
on a fresh distribution.
 1.2 28-Mar-1993  cgd fixed strip.sed symlink problem, and moved "tmac.doc.old" into list of
things to not install
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.31.60.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.9 04-Jul-2017  wiz Update README. Noted by kre.
 1.8 29-Mar-2004  wiz Add README detailing where current versions of the files
previously in this dir can be found; requested by perry.
 1.7 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.5 08-Nov-2000  wiz Fix some obvious typos.
XXX: Casing isn't very consistent here.
 1.4 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.3 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.2 15-Oct-1996  perry RCSid Police
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.9 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.7 07-Feb-2002  ross Define strings for < > & <= >=
 1.6 07-Feb-2002  ross KNF, err, well, "indent"
 1.5 03-Jan-2002  tv Use groff's ".mso" to find tmac files in /usr/share/tmac, rather than
hardcoding a path. (This allows these files to be relocated easily.)
 1.4 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.3 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.2 28-May-1997  cgd fix a long-standing (since 1993) problem with the invocations of the 'real'
.Dd and .TH macros (after loading the right sets of macros). Both were
being called with a different number of macros than they were actually
called with, and that was screwing up Dd's processing of its arguments.
This fix is groff-specific. It's apparently possible to do this is a
non-groff-specific way, but relatively hard, and my roff skills just aren't
up to it (and I have no intention of changing that 8-). I've marked the
lines that are groff-specific, at least.
 1.1 27-Mar-1997  mycroft If we're going to run things through strip.sed, let's be consistent about it.
 1.30 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.29 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.28 25-Feb-2003  wiz Make .Nm without arguments, but with punctuation, work.
Patch from Christian Limpach (chris at pin lu) on tech-userlevel.
 1.27 21-Jan-2003  wiz Warn if Rv has no function name argument.
 1.26 03-Jan-2002  tv branches: 1.26.2;
Use groff's ".mso" to find tmac files in /usr/share/tmac, rather than
hardcoding a path. (This allows these files to be relocated easily.)
 1.25 23-Jun-2001  itojun when two .%A are present, print them as "ONE and TWO, ..."
not "ONE, and TWO, ..." (no comma after ONE). PR 13286. checked by wiz.

comment by "Brian J. Kifiak" <bk@rt.fm> on openbsd mailing list.
 1.24 13-May-2000  mycroft branches: 1.24.4;
Avoid using \\n(C? in .lV, as it may not be initialized yet. Instead call
.aT to determine the argument type, as in .bV.
 1.23 24-Mar-1999  mycroft Ross points out that removing the .ne inside .It can cause widows in troff
mode. So, put it back -- in troff mode only -- but preceded by an explicit
break to prevent the widows previously mentioned.
 1.22 23-Mar-1999  mycroft Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne. groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines. Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
 1.21 16-Mar-1999  mycroft Use \n(dn to test whether the quoting diversion is empty, rather than
comparing the input line number. The latter fails with things like:
.Oc Oc
because there is nothing in the diversion when the second Oc is executed,
which caused the command that adds \*(b2 to the output to be eaten.
 1.20 09-Mar-1999  ross Kill groffisms that crept in with delta 1.8.
 1.19 09-Mar-1999  ross Call Popwarn only if groff
 1.18 09-Mar-1999  ross Partial .warn cleanup .. if mdoc didn't generate warnings all by
itself, we could do a .warn-enabled sweep of the man pages.
* Mainly, kill strings by redefining them as null instead of using .rm
* Push and pop the warning level around unavoidable trouble spots
* Do all of this only if in groff
* Fix a really obscure bug in .Nm
* Make the .em warning an abort.
 1.17 07-Mar-1999  mycroft Oops; previous was wrong.
 1.16 07-Mar-1999  mycroft Fix an old type that doesn't appear to matter.
 1.15 06-Mar-1999  mycroft Oops; fix pasto.
 1.14 06-Mar-1999  mycroft Fix the space-after-period problem.
 1.13 06-Mar-1999  mycroft Minor cleanup.
 1.12 06-Mar-1999  mycroft Minor cleanup.
 1.11 06-Mar-1999  mycroft Minor cleanup.
 1.10 06-Mar-1999  mycroft Minor cleanup.
 1.9 06-Mar-1999  mycroft Fix problem with extra spaces after a .Xr, because .aZ was being called twice.
 1.8 13-Jan-1999  ross * Add a debug-mode message when beginning an eB diversion. This is to help
find the actual source of the common "automatically ending `eb' diversion
on exit" error. This generally means you tried something like `.Em Do not'
which accidently calls the `Do' request, which _must_ be followed by Dc.
* Add a .Me request for marking up menu entries.
* Print the source line number on the "Extraneous .Ed" error. (Duhh.)
* New requests for HTML integration: .Mt (mailto) and .Lk (link).
* Rename the .em built-in to e@ and print an error if .em is ever
accidently invoked.
 1.7 26-Dec-1998  ross Fix bug in .D1 macro.

D1 (dee-one) has two bogus-looking lines that are not in Dl (dee-ell); and
what they do is delete the first parameter unless it is a callable macro.
This may have something to do with the reason why dee-ell is used 418 times
in /usr/share/man vs only 6 times for the crippled dee-one.
 1.6 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.5 24-Nov-1997  lukem add -column, -dash, -hyphen to .Bl usage string
 1.4 15-Sep-1997  lukem Support first argument of .Nm being "", so that the following works:
===
.Nm foo
...
The following options are supported by
.Nm "" :
===
It could be smarter, but it works :)

Thanks to Christoph Badura <bad@ora.de> for providing this!
 1.3 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.2 15-Oct-1996  perry RCSid Police
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.24.4.1 15-Mar-2003  he Pull up revision 1.28 (requested by wiz in ticket #26):
Make .Nm without arguments, but with punctuation, work.
 1.26.2.1 26-Feb-2003  jmc Pullup rev 1.28 (requested by wiz in ticket 1184)
Make .Nm without arguments, but with punctuation, work.
Makes man pages from -current format correctly on 1.6.x
 1.63 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.62 29-Mar-2004  jmc Welcome to 2.0
 1.61 07-Aug-2003  agc branches: 1.61.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.60 09-Dec-2002  scw s/walnut/evbppc/
 1.59 19-Jul-2002  scw Add sh5/evbsh5.
 1.58 18-Jul-2002  wiz Add cats, cesfic, hp700, hpcarm, netwinder, shark, x86_64.
Fix acorn32, algor, playstation2.
Problem reported by Matthias Drochner.
 1.57 11-Jul-2002  wiz 'environment', not 'enviroment'
 1.56 30-May-2002  augustss Add pmppc.
 1.55 22-May-2002  tv And it would probably be nice if 1.6 were reflected in the list of version
numbers.
 1.54 22-May-2002  tv 1.6 has branched. Welcome to "NetBSD 1.6A".
 1.53 24-Mar-2002  bjh21 branches: 1.53.2;
Rename arm26 -> acorn26.
 1.52 07-Mar-2002  simonb Add evbarm and evbmips.
 1.51 06-Mar-2002  simonb Add "sbmips".
 1.50 27-Feb-2002  scw Add mvmeppc.
 1.49 23-Nov-2001  bjh21 Add acorn32
 1.48 19-Oct-2001  uch add playstation2 port.
 1.47 13-Jun-2001  wiz add sun2
 1.46 13-Jun-2001  simonb Update for the walnut port.
 1.45 07-Jun-2001  briggs Add sandpoint.
 1.44 05-Jun-2001  thorpej Add algor.
 1.43 07-Apr-2001  jhawk Restore stripped comments accidently removed in rev 1.14 (1997!) when
the comment-stripped version was checked in over the source
version by mycroft. Where are those bricks?
 1.42 18-Jan-2001  itojun add dreamcast and hpcsh
 1.41 22-Aug-2000  wdk Add mipsco port
 1.40 04-Jul-2000  kleink Roll forward towards 1.5; addresses PR misc/10493 from Love.
 1.39 24-Jun-2000  soren Add sgimips.
 1.38 14-May-2000  tsutsui branches: 1.38.4;
Add cobalt.
 1.37 11-May-2000  bjh21 Add arm26 port
 1.36 18-Feb-2000  soren Add new ports.
 1.35 08-Jan-2000  tron Fix manual page formatting problem. Fix supplied by Patrick Welche
in PR misc/9131.
 1.34 10-Dec-1999  itohy Add news68k
 1.33 08-Dec-1999  simonb Display the header of system specific manpages as
NetBSD/foo Manual Name
instead of
NetBSD Manual Name (foo Architecture)
Manual page headers now fix within 80 columns.

Work by Chris Demetrioui six or more months ago, with minor updates to
current reality by me.
 1.32 23-Aug-1999  ross branches: 1.32.4;
Mark Ap as callable.
 1.31 28-Apr-1999  ross * Make Qq callable.
* Dump hyphenation type in the register dump macro.
 1.30 23-Mar-1999  mycroft branches: 1.30.2;
Fix the `missing footer' problem. See the comment for details.
 1.29 23-Mar-1999  mycroft Make Qo and Qc callable again.
 1.28 23-Mar-1999  mycroft Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne. groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines. Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
 1.27 16-Mar-1999  mycroft Use \n(dn to test whether the quoting diversion is empty, rather than
comparing the input line number. The latter fails with things like:
.Oc Oc
because there is nothing in the diversion when the second Oc is executed,
which caused the command that adds \*(b2 to the output to be eaten.
 1.26 09-Mar-1999  ross We didn't get the .Bl / .El match fix done tonight.. go back to a warning so the
tree will build.
 1.25 09-Mar-1999  ross Predefine the dD string. (.warn-harden)
Detect a net deficit of .El requests (and abort)
 1.24 10-Feb-1999  ross Back out last rev. "Nice try".
 1.23 09-Feb-1999  ross Fix the bug that was inserting blank lines between `pages' in tty
mdoc(7) man(1) output. (There aren't supposed to be any `pages'.)
 1.22 25-Jan-1999  ross Make .Ux be callable.
 1.21 13-Jan-1999  ross * Add number registers for Lk, Mt, Nx, and Me; mainly so these can be
callable by parsed macros.

* Improve the .Ss orphan-protection.
 1.20 11-Jan-1999  garbled Add additional AT&T UNIX macros for versions 1-5. Change default for
.Os to NetBSD 1.4 instead of "4.4 BSD"

Note.. many of the undocumented macros in here are broken, like the .Px,
and .As macros. Someone with more clue should fix them.
 1.19 08-Nov-1998  ross Changes to .Nx macro.
* Don't print the `et' in an itty bitty point size just because we want
small caps for the rest of `NetBSD'.
* Define an Nx number register so the macro becomes sort-of callable. It
does punctuation wrong, looking at argument count rather than argument
type, so this will need fixing before it is truly `parsed and callable'.
 1.18 28-Apr-1998  fair add .SH to the list of non-mdoc macros that mdoc will complain about
 1.17 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.16 05-Feb-1998  perry remove da30 and Tahoe gunk; make I386 into i386 even if it isn't conventional
 1.15 20-Dec-1997  kleink Add entries for 1.3A and 1.4.
 1.14 17-Nov-1997  mycroft Fix y2k problem.
 1.13 02-Jul-1997  phil branches: 1.13.2;
Remove unneeded files, merge back in NetBSD local changes.
 1.12 28-May-1997  cgd add missing entries for ".Os NetBSD <version>" versions. also, fix
a few that were there but incorrect (e.g. s/0.9a/0.9A/ in output text).
When updating .Nx, don't forget to update this, too!
 1.11 15-Oct-1996  perry RCSid Police
 1.10 07-Sep-1996  mycroft Add architecture-specific macros that were missing (alpha, arm32, mvme68k,
an pica).
 1.9 06-Jul-1996  leo Add the atari.
 1.8 16-Jun-1996  oki added header string for x68k architecture
 1.7 19-Dec-1995  perry branches: 1.7.4;
Added macros to make section 9 man pages default to "NetBSD Kernel Manual".
I would have prefered the "Kernel Internals Manual", but some man pages
in the kernel section have names too long to make that possible without
messing up the title lines. (Sigh.) Also designated "KM" to indicate
"NetBSD Kernel Manual" for completeness.
 1.6 03-Jan-1995  mycroft Recognize version 1.1.
 1.5 31-Aug-1994  chopps add our architechures to .Dt
 1.4 17-Jul-1993  cgd add OS defn's for 0.9a and 1.0. also change 0.8a and 0.9 to be
non-experimental
 1.3 06-Jun-1993  deraadt fixed an annoying typo in the headers of 90% of manuals: NetBSDd -> NetBSD
 1.2 03-May-1993  cgd change UNIX to NetBSD (EEK!), and add NetBSD OS names
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.4.2 10-Dec-1996  mycroft From trunk:
Add missing architecture-specific macros.
 1.7.4.1 16-Jun-1996  oki from trunk: added header string for x68k architecture
 1.13.2.1 30-Nov-1997  mellon Pull rev 1.14 up from trunk (mycroft)
 1.30.2.3 13-Dec-2000  he Apply patch (requested by he):
Bump visible version number to 1.4.3A, to indicate that we're
no longer exactly at 1.4.3.
 1.30.2.2 24-Aug-1999  he Pull up revision 1.31->1.32:
Mark Ap as callable, fixes formatting of a few man pages. (ross)
 1.30.2.1 28-Apr-1999  perry pullup 1.30->1.31 (ross): fixes bug that made .Qq not callable
 1.32.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.38.4.9 01-Aug-2002  he Apply patch (requested by he):
Mark this with 1.5.4_ALPHA.

This starts the cycle towards 1.5.4.
 1.38.4.8 11-Apr-2002  he Apply patch (requested by fredb):
Mark this as NetBSD 1.5.3.
(Accidentally forgotten when the system itself was marked.)
 1.38.4.7 11-Mar-2002  he Apply patch (requested by he):
Mark what we have now as ``Release Candidate 1'' (1.5.3_RC1).
 1.38.4.6 30-Sep-2001  he Apply patch (requested by he):
Mark this with 1.5.3_ALPHA.
 1.38.4.5 17-Aug-2001  tv Welcome to NetBSD 1.5.2.
 1.38.4.4 29-Jul-2001  jhawk Pull up via patch (requested by jhawk):
Mark this as 1.5.2_ALPHA
 1.38.4.3 18-Nov-2000  tv Bump oS to NetBSD 1.5.1.
 1.38.4.2 15-Aug-2000  jhawk Pullup rev 1.40 (kleink), requested by jhawk:
Roll forward towards 1.5; addresses PR misc/10493 from Love.
 1.38.4.1 24-Jun-2000  soren Pull up rev. 1.39:
Add sgimips.
 1.53.2.20 02-Mar-2004  jmc Welcome to 1.6.2_STABLE
 1.53.2.19 30-Jan-2004  he Mark the tree as being 1.6.2.
The netbsd-1-6-PATCH002 and netbsd-1-6-PATCH002-RELEASE tags will be
moved to correspond for these three files momentarily.
 1.53.2.18 08-Jan-2004  jmc Welcome to RC4
 1.53.2.17 26-Nov-2003  jmc Welcome to 1.6.2_RC3
 1.53.2.16 14-Nov-2003  jmc Update to 1.6.2_RC2
 1.53.2.15 27-Oct-2003  jmc Update to 1.6.2_RC1
 1.53.2.14 22-Apr-2003  jmc Welcome to 1.6.1_STABLE
 1.53.2.13 01-Apr-2003  jmc Update for 1.6.1_RELEASE
 1.53.2.12 25-Mar-2003  jmc Update to 1.6.1_RC3 (oops forgot to do this before tagging)
 1.53.2.11 15-Feb-2003  jmc Update to 1.6.1_RC2
 1.53.2.10 28-Jan-2003  jmc Update to 1.6.1_RC1
 1.53.2.9 30-Sep-2002  lukem Change the version of the netbsd-1-6 branch from "1.6" to "1.6_STABLE".
(We won't change this to "1.6.1_BETA1" until we start the 1.6.1 release cycle.)
 1.53.2.8 07-Sep-2002  lukem 1.6
 1.53.2.7 01-Sep-2002  lukem now at RC3. branch is locked down, ready for release.
 1.53.2.6 27-Aug-2002  lukem Welcome to NetBSD 1.6_RC2
 1.53.2.5 11-Aug-2002  lukem We're now at NetBSD 1.6_RC1
 1.53.2.4 29-Jul-2002  lukem move to 1.6_BETA5
 1.53.2.3 19-Jul-2002  lukem Pull up revision 1.58 (requested by wiz in ticket #523):
Add cats, cesfic, hp700, hpcarm, netwinder, shark, x86_64.
Fix acorn32, algor, playstation2.
Problem reported by Matthias Drochner.
 1.53.2.2 03-Jul-2002  lukem we're now 1.6_BETA4. thanks to Klaus Heinz in [misc/17460]
 1.53.2.1 22-May-2002  tv Initialize the branch; welcome to "NetBSD 1.6_BETA1".
 1.61.2.10 29-Oct-2005  jmc Update for 2.0.3
 1.61.2.9 16-Mar-2005  tron Welcome to 2.0.2
 1.61.2.8 16-Jan-2005  jmc Welcome to 2.0.1
 1.61.2.7 29-Nov-2004  jmc branches: 1.61.2.7.2;
Welcome to the 2.0 release (finally)
 1.61.2.6 12-Nov-2004  jmc Welcome to 2.0RC5
 1.61.2.5 08-Oct-2004  jmc Welcome to 2.0_RC4
 1.61.2.4 04-Oct-2004  jmc Welcome to 2.0_RC3
 1.61.2.3 01-Oct-2004  jmc Welcome to 2.0RC2
 1.61.2.2 23-Sep-2004  jmc Welcome to 2.0_RC1
 1.61.2.1 29-Mar-2004  jmc Update to 2.0_BETA
 1.61.2.7.2.11 26-Oct-2005  riz Welcome to 2.1_STABLE
 1.61.2.7.2.10 21-Oct-2005  riz branches: 1.61.2.7.2.10.2;
Welcome to 2.1
 1.61.2.7.2.9 12-Oct-2005  riz Welcome to 2.1_RC6
 1.61.2.7.2.8 18-Sep-2005  riz Welcome to 2.1_RC5
 1.61.2.7.2.7 15-Sep-2005  riz Welcome to 2.1_RC4
 1.61.2.7.2.6 31-Aug-2005  riz Welcome to 2.1_RC3
 1.61.2.7.2.5 29-Aug-2005  riz Welcome to 2.1_RC2
 1.61.2.7.2.4 26-Aug-2005  riz Welcome to 2.1_RC1
 1.61.2.7.2.3 16-Mar-2005  jmc This branch is 2.0_STABLE (until 2.1comes out). Note that 2.0.2 exists but the
version otherwise stays at 2.0 here
 1.61.2.7.2.2 16-Mar-2005  tron Welcome to 2.0.2
 1.61.2.7.2.1 23-Dec-2004  jmc Welcome to 2.0_STABLE
 1.61.2.7.2.10.2.1 26-Oct-2005  riz Welcome to 2.1.0_STABLE
 1.10 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.9 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.8 03-May-1999  ross Render .Sx markup in bold.
 1.7 09-Mar-1999  ross branches: 1.7.2;
.warn-harden
 1.6 13-Jan-1999  ross Call .e@ instead of .em, second half of .em protection.
 1.5 10-Nov-1998  ross Don't hardwire point size 10 (and 9 for .Tn); use the .s value (and for
the .Tn macro, .s - 1) in effect when mdoc is initially read.
 1.4 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.3 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.2 15-Oct-1996  perry RCSid Police
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.7.2.1 04-May-1999  perry pullup 1.7->1.8 (simonb)
 1.9 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.8 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.7 23-Mar-1999  mycroft Fix the `mysterious blank lines' problem (in 98% of cases, anyway). This was
due to unconditional use of .ne. groff apparently inserts some virtual trap
at the end of each page, and this was causing the .ne commands to output extra
lines. Solution is to only use them in troff.

Also fix a related bug in .It, where it would insert a page break in the middle
of a sentence.

Remove the end of page trap in nroff mode, as this causes .sp to sometimes eat
the space due to the nearby trap.

Lastly, undue a previous change that broke the formatting of the SYNOPSIS
section, until we determine the right way to fix that.
 1.6 23-Mar-1999  mycroft Remove blank line.
 1.5 13-Jan-1999  ross Call .e@ instead of .em, second half of .em protection.
 1.4 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.3 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.2 15-Oct-1996  perry RCSid Police
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.78 29-Mar-2004  wiz Remove files that do not get installed any longer, to avoid
further confusion.
The corresponding files now live in gnu/dist/groff/tmac (still
BSD licensed!), but the only files that should be changed are in
gnu/usr.bin/groff/tmac, see also
http://www.netbsd.org/developers/releng/release-process.html
 1.77 08-Sep-2003  wiz Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.
 1.76 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22309, verified by myself.
 1.75 08-May-2003  uebayasi Make libmagic known as a system library, and install manual page links
of the libmagic functions.

Submitted by Hiroshi Ura <ura at hiru dot aoba dot yokohama dot jp> in
PR21496.


Reviewed By: wiz
 1.74 22-Jan-2003  thorpej Add a case for librt (POSIX Real-time Library)
 1.73 12-Jan-2003  thorpej Add a symbol for libpthread.
 1.72 09-Aug-2002  thorpej Add libpmc.
 1.71 14-May-2002  bjh21 Add a symbol for IEEE Std 1003.1-2001.
 1.70 28-Dec-2001  wiz Add libusbhid.
 1.69 29-Nov-2001  wiz ISO 8802-3:1989 -> ISO/IEC 8802-3:1989
Ok'd by kleink.
 1.68 24-Nov-2001  jdolecek back off previous - according to Klaus Klein, reference
should be made to actual CAE Specifications only, SUSv2 is
just a collection of standards
 1.67 23-Nov-2001  jdolecek add '-susv2' - Single UNIX (TM) Specification, Version 2 (SUSv2'', Unix98'')
 1.66 21-Nov-2001  wiz Use even more standard names for standards.
 1.65 22-Oct-2001  kleink Add a 1003.1g-2000 macro.
 1.64 04-Oct-2001  wiz Actually, we don't have libhesiod -- the functions are in libc.
Noted by Gregory McGarry.
 1.63 03-Oct-2001  gmcgarry mdoc'ify pcap.3
 1.62 16-Sep-2001  wiz Add libhesiod.
 1.61 13-Sep-2001  thorpej Add libpci.
 1.60 04-Jul-2001  kleink Add a libm68k library macro.
 1.59 14-Apr-2001  kleink Rename isoC to isoC90.
 1.58 05-Jan-2001  garbled Add libcdk to these two files
 1.57 05-Jan-2001  blymn added libform
 1.56 31-Oct-2000  itojun declare .Lb symbol for libintl.
 1.55 05-Jul-2000  ad Add Ox macro (OpenBSD).
 1.54 04-Jul-2000  kleink Changes references from ``ISO C'' to ``ISO C90''.
 1.53 14-May-2000  veego Remove the last traces of libahdi.
 1.52 05-Mar-2000  kleink Add an -isoC99 macro; while I'm here, correct white space usage in other
ISO/IEC document numbers.
 1.51 10-Feb-2000  kleink Whitespace nit in -p1003.1-96.
 1.50 05-Feb-2000  jdc Add libahdi entries.
 1.49 24-Nov-1999  kleink Add .Lb libmenu.
 1.48 04-Jul-1999  itojun branches: 1.48.4;
add LIBRARY section into libipsec manpages.
add ".Lb libipsec" for this.
 1.47 03-Jul-1999  kleink * Change the -p1003.1-96 macro to output a reference to its corresponding
ISO/IEC document.
* Add macros for ISO C, including AMD1 and TCor1/2.
* Add a macro for XNS5.2 D2.0, to be used for IPv6-related references for the
time being.
 1.46 22-May-1999  kleink Remove the susv2 macro: it is not a standard document `as such' that can be
referred to.
 1.45 22-May-1999  jwise Add flags to .St for more volumes of the X/Open SUSV2
 1.44 22-May-1999  ross New: -xcu5 (X/Open Commands and Utilities Issue 5)
New: -susv2 (Version 2 of the Single UNIX Specification)
Fixed: a dozen others: lots of cargo-cult "small caps" applied to lower
case, unneeded \& prefixes, and IEEE Std#### rewritten as IEEE Std ####.
 1.43 09-Mar-1999  ross Viciously cleanup the .St (Standards) macro.
 1.42 06-Feb-1999  kleink Add a macro for our friend, the System V Interface Definition.
 1.41 13-Jan-1999  ross New symbolic characters for HTML integration: <, >, &, _
\*<, \*>, \*& : safely output <>& in both -mdoc or -mdoc2html
\*_ : hard space for both -mdoc and -mdoc2html
 1.40 11-Jan-1999  garbled Add additional AT&T UNIX macros for versions 1-5. Change default for
.Os to NetBSD 1.4 instead of "4.4 BSD"

Note.. many of the undocumented macros in here are broken, like the .Px,
and .As macros. Someone with more clue should fix them.
 1.39 08-Nov-1998  ross Changes to .Nx macro.
* Don't print the `et' in an itty bitty point size just because we want
small caps for the rest of `NetBSD'.
* Define an Nx number register so the macro becomes sort-of callable. It
does punctuation wrong, looking at argument count rather than argument
type, so this will need fixing before it is truly `parsed and callable'.
 1.38 29-Sep-1998  kleink Add a macro for 1003.1-1996.
 1.37 11-Sep-1998  mycroft Change .Bsx output slightly.
 1.36 09-Aug-1998  thorpej Add a "Bsx" macro, BSDI BSD/OS.
 1.35 08-May-1998  kleink Posix -> POSIX
 1.34 20-Mar-1998  fair correct HISTORY section of ls(1) to note that Ls(1) exited in 5th Edition UNIX from Bell Labs; add that version to At macro in mdoc, all per PR#4790
 1.33 15-Feb-1998  thorpej Put RCS IDs in the right place.
 1.32 06-Feb-1998  perry add -Lite and -Lite2 handling to .Bx
 1.31 05-Feb-1998  perry add OSS library
 1.30 05-Feb-1998  perry add .Lb directive for use in LIBRARY sections. Ought to document this.
 1.29 05-Feb-1998  perry Replace the old .Nx macro (which was not parsed and callable, in spite
of what the documentation claimed) with a new one that is parsed and
callable, and far simplyer -- it turns ".Nx FOO ." into "NetBSD FOO."
without needing to have version numbers hard coded in.
Add a .Fx macro that is a copy of the .Nx macro except that it prints
"FreeBSD" instead of "NetBSD" -- this should make any future "HISTORY"
sections which credit FreeBSD easier, and will not require that we
constantly track their macro versions.
 1.28 20-Dec-1997  kleink Change the -xpg4.2 abbreviation to ``XPG4.2''.
 1.27 24-Nov-1997  lukem fix support for .Nx 1.4
 1.26 24-Nov-1997  lukem s/1.3a/1.4/
 1.25 23-Nov-1997  lukem support ".Nx 1.3a"
 1.24 17-Jul-1997  kleink Remove extraneous trailing space from ``ANSI C'' invented in lite2 import.
 1.23 15-Jul-1997  kleink Added an entry for POSIX.1c.
 1.22 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.21 17-Apr-1997  jtc Add entry for POSIX.1b
 1.20 16-Mar-1997  is Support NetBSD-1.2C, -1.2D, and -1.2E just in case.
 1.19 20-Jan-1997  cgd add definitions for "1.2a" and "1.2b" arguments to the .Nx macros (For
1.2A and 1.2B, respectively). clean up the strings resulting from
other Nx uses slightly. (previously, 1.0A would be printed as 1.0a, etc.
Now it's printed correctly.)
 1.18 18-Oct-1996  explorer Fix the Nx macro yet again... If someone else knows nroff better than I do,
please make this .Nx thing generic
 1.17 16-Oct-1996  explorer ooops, killed a 1.3 -- readded...
 1.16 16-Oct-1996  explorer Fix Perry's .Nx macro:

.Nx -> NetBSD
.Nx 1.2 -> NetBSD 1.2
.Nx 1.2 . -> NetBSD 1.2.
.Nx . -> NetBSD.
 1.15 15-Oct-1996  perry RCSid Police
 1.14 15-Oct-1996  perry Added support for in Nx macro for NetBSD 1.3
 1.13 17-Sep-1996  thorpej Fix two typos in the System V.3 macros.
 1.12 07-Sep-1996  mycroft Add .At V.3.
 1.11 26-Apr-1996  jtc Add -xpg4.2
 1.10 23-Apr-1996  mycroft Add suport for `.Nx 1.2'.
 1.9 13-Nov-1995  pk Add `1.1' to Nx macro.
 1.8 20-Nov-1994  jtc branches: 1.8.2;
Added -xpg3 and -xpg4.
 1.7 24-Feb-1994  jtc Add .St -ieee754.
Needed for some upcoming math library manpages.
 1.6 20-Feb-1994  cgd add a Nx (NetBSD) macro
 1.5 25-Nov-1993  jtc Need ".At V.2" macro for describing things that came from ATT SysV.2.
 1.4 09-Nov-1993  jtc New -p1003.1 macro (no -88 or -90 suffixes), to be used when we are
describing features that will be added to a future POSIX draft.
 1.3 19-Aug-1993  jtc Added -p1003.1-90 and -p1003.2-92 to list of known standards.
 1.2 13-Aug-1993  cgd change 'ANSI C3.159-1989' to 'ANSI X3.159-1989', as is appropriate
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.2.1 13-Nov-1995  pk Update from trunk: add `1.1' to Nx.
 1.48.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.71 23-Jan-2020  uwe Provide ability to override <title>

If \*[title-section] is non-empty, use it to override the title
instead of appending it. Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.
 1.70 23-Dec-2019  uwe Fix if/else syntax in previous.
 1.69 03-Dec-2019  uwe Use groff -Tencoding argument to emit <meta charset="..."/>
 1.68 26-Nov-2019  kre PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out. Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.

With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
 1.67 22-Nov-2016  kamil branches: 1.67.6; 1.67.14; 1.67.16;
Add entry for pthread_dbg in share/tmac/doc2html

pthread_dbg is POSIX Debug Threads Library

Sponsored by <The NetBSD Foundation>
 1.66 22-Nov-2015  kamil branches: 1.66.2;
+libpanel: Z-order for curses windows
 1.65 03-Aug-2013  wiz The *roff macro argument is "-isoC-2011"; adapt.
 1.64 03-Aug-2013  matt Add ISO C11
 1.63 11-Feb-2011  christos branches: 1.63.4; 1.63.10;
Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
 1.62 16-May-2009  plunky branches: 1.62.2;
change description for libbluetooth to "Bluetooth Library" as it is
more than just host lookup these days
 1.61 12-May-2009  plunky remove libsdp as improved functionality has been enabled in libbluetooth.
 1.60 01-May-2009  perry add support for St -p1003.1-2008
 1.59 14-Sep-2008  apb branches: 1.59.4;
* For .Sh, generate <h3 id="...">...</h3>.
* For .Ss, generate <h4 id="...">...</h4>.
This makes internal cross references from .Sx work.

While here, change .SH and .SS to do likewise, instead of using
<h3><a name="...">...</a></h3> and <h4><a name="...">...</a></h4>.
 1.58 10-Sep-2008  apb Define Am, so HTML man pages can use \*[Am] to get an ampersand.
Non-HTML man pages were already able to use \*[Am].
 1.57 27-Aug-2008  lukem More .St changes, to bring in line with the groff versions and in-tree usage:
* remove unused -isoC-amd2
* enable -ieee1275-94 (renamed from -ieee1275)
 1.56 26-Aug-2008  lukem Add some .St iso9945 variants used in groff_mdoc.7
 1.55 26-Aug-2008  lukem Support -Bl -nested by ignoring it.
(according to mdoc(7) it's only for -enum, but libevent/evdns.3 uses it
for -tag, and it does cause different formatting behaviour with the latter.)
 1.54 26-Aug-2008  lukem Add a few missing standards.
Force an actual .Error on an unknown .St, rather than just printing ERROR
(i.e., be consistent with other errors in this file.)
Be consistent with tabs.
 1.53 30-Apr-2008  martin branches: 1.53.2;
Convert TNF licenses to new 2 clause variant
 1.52 15-Dec-2007  apb branches: 1.52.4; 1.52.6;
Add doc2html support for Bro/Brc/Brq.
 1.51 15-Dec-2007  apb Fix the definition of .Fl. Now this construct works:

.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.
 1.50 19-Jun-2006  gdamore branches: 1.50.10;
Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.) This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
 1.49 11-Jun-2005  wiz Improve .An support: recognize -nosplit.
 1.48 07-Feb-2005  wiz End <font> tag with </font>. From Greg A. Woods in private mail.

Remove </font> before </body> since there is no corresponding <font>.
 1.47 07-Feb-2005  wiz Fix Fx handling; closes my PR 29235.
Will probably also need an additional fix like Nx and Ox do (see PR 29236).
 1.46 07-Feb-2005  wiz Add simple An handling. Modified version of a patch by Greg A. Woods
in private mail. Closes my PR 29241.
 1.45 08-Sep-2003  wiz Use St -isoC-9X instead of St -isoC9X, to be in sync with groff.
 1.44 04-Jul-2003  wiz Add libevent.
 1.43 01-Jul-2003  wiz Add IEEE 1275-1994 (already in mdoc.local).
 1.42 08-May-2003  uebayasi Make libmagic known as a system library, and install manual page links
of the libmagic functions.

Submitted by Hiroshi Ura <ura at hiru dot aoba dot yokohama dot jp> in
PR21496.


Reviewed By: wiz
 1.41 25-Feb-2003  wiz Add libpcap.
 1.40 22-Jan-2003  thorpej Add libpthread and librt.
 1.39 09-Aug-2002  thorpej Add libpmc.
 1.38 27-May-2002  bjh21 Change the end of caps mode from <font size="+0"> to </font>. This gets the
tag nesting more correct, and is necessary to get the INSTALL notes to
render correctly in Konqueror. The results still look sensible in w3m,
Lynx and Mozilla.
 1.37 15-May-2002  bjh21 branches: 1.37.2;
Add a symbol for IEEE Std 1003.1-2001.
 1.36 07-Feb-2002  ross Invert the default of DOC_XR and generate an href anchor by default.
Also, assume that any man page called "index.html" will actually be
installed (sigh) as "xindex.html", which is what bsd.man.mk actually
does now.
 1.35 07-Feb-2002  ross Fix a number of bugs and and start over again on the style sheet.
 1.34 05-Feb-2002  ross Don't make broken links out of incomplete .Xr requests.
 1.33 28-Dec-2001  wiz Add libusbhid.
 1.32 29-Nov-2001  wiz ISO 8802-3:1989 -> ISO/IEC 8802-3:1989
Ok'd by kleink.
 1.31 21-Nov-2001  wiz Use even more standard names for standards.
 1.30 22-Oct-2001  kleink Add a 1003.1g-2000 macro.
 1.29 04-Oct-2001  wiz Actually, we don't have libhesiod -- the functions are in libc.
Noted by Gregory McGarry.
 1.28 16-Sep-2001  wiz Add libhesiod.
 1.27 13-Sep-2001  thorpej Add libpci.
 1.26 04-Jul-2001  kleink Add a libm68k library macro.
 1.25 03-Jul-2001  lukem add St -xns5.2d2.0
 1.24 02-Jul-2001  lukem add AT&T v1 and v5
 1.23 14-Apr-2001  kleink Rename isoC to isoC90.
 1.22 05-Jan-2001  garbled Add libcdk to these two files
 1.21 05-Jan-2001  blymn Added libform.
 1.20 31-Oct-2000  itojun declare .Lb symbol for libintl.
 1.19 05-Jul-2000  ad Add Ox macro (OpenBSD).
 1.18 04-Jul-2000  kleink Changes references from ``ISO C'' to ``ISO C90''.
 1.17 14-May-2000  veego Remove the last traces of libahdi.
 1.16 05-Mar-2000  kleink Add an -isoC99 macro; while I'm here, correct white space usage in other
ISO/IEC document numbers.
 1.15 10-Feb-2000  kleink Whitespace nit in -p1003.1-96.
 1.14 05-Feb-2000  jdc Add libahdi entries.
 1.13 24-Nov-1999  kleink Add .Lb libmenu.
 1.12 04-Jul-1999  itojun branches: 1.12.4;
add LIBRARY section into libipsec manpages.
add ".Lb libipsec" for this.
 1.11 01-Jun-1999  ross * Sync .St with the main mdoc
* Fix (some of) the bugs with .Fn
 1.10 30-Apr-1999  ross Fix bugs reported by mycroft, except one.
 1.9 18-Mar-1999  ross branches: 1.9.2;
Kill Nm-save warning.
 1.8 09-Mar-1999  ross Improve appearance, tone down the .Sh size, define a <style> for color
headings, etc. Please feel free to fiddle with this stuff, people...
 1.7 07-Mar-1999  mycroft Make Pq, Po, Pc, Oo, Oc callable.
 1.6 07-Mar-1999  mycroft Escape some punctuation, and make Oo and Oc aliases for Bo and Bc.
 1.5 07-Mar-1999  mycroft Sort of add .Oo and .Oc. Needs more work.
 1.4 06-Feb-1999  kleink Add a macro for our friend, the System V Interface Definition.
 1.3 28-Jan-1999  ross Define mode-null-{on,off} for turning off special modes.
Turn off any special modes when Ns is called.
 1.2 17-Jan-1999  ross Fix bug with html < and > chars found by Alan Barrett.
 1.1 13-Jan-1999  ross New macro package for automatically converting -mdoc input to HTML.
Use: nroff -mdoc2html input_file...
Or, for the completely general case,
Use: groff -P-b -P-u -P-o -Tascii -ww -mdoc2html input_file ...
This was originally intended for just the new distrib/notes and other
non-man-page project documentation, but in fact it can get almost all of
the man pages right at this point.

In many cases, I would suggest that original documentation not be written
in HTML or ASCII any more. A good example would be "supported devices".
It's presently duplicated, in the install notes, the web pages, and the
man pages. If written in -mdoc, it can automatically be a man page, a www
page feature, and a printable, downloadable file. We can generate PostScript
and the "unix enhanced text" format used by more(1), as well as plain old
ascii, and all using in-tree tools.

TNF Copyright.
 1.9.2.1 30-Apr-1999  perry pullup 1.9->1.10 (ross)
 1.12.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.37.2.1 28-May-2002  lukem Pull up revision 1.38 (requested by bjh21):
Change the end of caps mode from <font size="+0"> to </font>. This gets the
tag nesting more correct, and is necessary to get the INSTALL notes to
render correctly in Konqueror. The results still look sensible in w3m,
Lynx and Mozilla.
 1.50.10.1 09-Jan-2008  matt sync with HEAD
 1.52.6.1 18-May-2008  yamt sync with head.
 1.52.4.2 05-Oct-2008  mjf Sync with HEAD.
 1.52.4.1 02-Jun-2008  mjf Sync with HEAD.
 1.53.2.2 24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.53.2.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.59.4.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.62.2.1 17-Feb-2011  bouyer Sync with HEAD
 1.63.10.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.63.4.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.66.2.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.67.16.3 26-Jan-2020  martin Pull up following revision(s) (requested by uwe in ticket #652):

distrib/notes/Makefile.inc: revision 1.54
distrib/notes/common/main: revision 1.561
distrib/notes/common/main: revision 1.562
share/tmac/doc2html: revision 1.71

Use .Os NetBSD/\*M \*V to get more informative footer.

Provide ability to override <title>

If \*[title-section] is non-empty, use it to override the title
instead of appending it. Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.

Override HTML <title> to something more informative.
Requested by martin@

Use -mdoc2html to generate HTML TOC to avoids warnings.
 1.67.16.2 09-Dec-2019  martin Pull up following revision(s) (requested by uwe in ticket #519):

share/tmac/doc2html: revision 1.69

Use groff -Tencoding argument to emit <meta charset="..."/>
 1.67.16.1 26-Nov-2019  martin Pull up following revision(s) (requested by kre in ticket #485):

share/tmac/doc2html: revision 1.68

PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out. Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.
With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
 1.67.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.67.6.1 26-Nov-2019  martin Pull up following revision(s) (requested by kre in ticket #1461):

share/tmac/doc2html: revision 1.68

PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out. Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.
With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
 1.2 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.1 02-Jul-1997  phil branches: 1.1.1;
Initial revision
 1.1.1.1 02-Jul-1997  phil Update to Lite-2
 1.2 30-Sep-1993  mycroft Clean up deleted files.
 1.1 30-Mar-1993  cgd fixed so that "tmac.an.old" is installed, so old man pages can be made,
on a fresh distribution.
 1.5 27-Mar-1997  mycroft If we're going to run things through strip.sed, let's be consistent about it.
 1.4 15-Oct-1996  perry RCSid Police
 1.3 22-Jul-1993  jtc Now that all of the manual pages that used the "old" mandoc macros
have been upgraded to use the "new" mandoc macros, we can safely
remove support for tmac.doc.old
 1.2 13-May-1993  cgd from J.T. Conklin <conklin@kaleida.com>:
When the -mandoc macros encounter a .TH, it loads the old -man macros,
slices up a new .TH, and hands off.

But the .TH arguments are not quoted in the new .TH invokation.
Dates, section names, etc., are split up and scattered across the
headers and footers of the manpage.

Very ugly.

Fix:
The following patch to /usr/share/tmac/tmac.andoc quotes the arguments
before they are (re)interpreted by .TH.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 02-Jul-1997  phil Update to Lite-2
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.3 30-Sep-1993  mycroft Clean up deleted files.
 1.2 28-Apr-1993  cgd 386BSD -> NetBSD
 1.1 30-Mar-1993  cgd moved tmac.doc.old in from the distribution /usr/share tree, and fixed
the makefile... another place where the original source tree
was insonsistent w/the binary dist.
 1.2 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.1 02-Jul-1997  phil branches: 1.1.1;
Initial revision
 1.1.1.1 02-Jul-1997  phil Update to Lite-2
 1.2 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.1 02-Jul-1997  phil branches: 1.1.1;
Initial revision
 1.1.1.1 02-Jul-1997  phil Update to Lite-2
 1.2 02-Jul-1997  phil Remove unneeded files, merge back in NetBSD local changes.
 1.1 02-Jul-1997  phil branches: 1.1.1;
Initial revision
 1.1.1.1 02-Jul-1997  phil Update to Lite-2

RSS XML Feed