tmac: introduce real manual reference macro instead of overloading IR

The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
This commit is contained in:
Russ Cox 2020-08-13 23:41:59 -04:00
parent a1c4307800
commit 977b25a76a
297 changed files with 1790 additions and 1774 deletions

View file

@ -64,7 +64,7 @@ fields) of all currently open headers
(see
.I symopen
in
.IR mach-symbol (3)).
.IM mach-symbol (3) ).
When dynamically linked objects have been attached,
they are present in this linked list,
and therefore included in searches by
@ -73,7 +73,7 @@ and therefore included in searches by
and
.I findsym
(see
.IR mach-symbol (3)).
.IM mach-symbol (3) ).
.TP
.I corhdr
The file header for the core dump, if any.
@ -118,9 +118,9 @@ loaded.
uses all of these functions while
parsing an argument vector as would be passed to
a debugger like
.IR db (1)
.IM db (1)
or
.IR acid (1).
.IM acid (1) .
It expects a list of executable files, core dump files, or process ids,
given in any order.
If extra arguments are given (for example, more than one executable, or both
@ -133,9 +133,9 @@ fills them in as best it can.
.SH SOURCE
.B \*9/src/libmach
.SH "SEE ALSO
.IR mach (3),
.IR mach-file (3),
.IR mach-map (3)
.IM mach (3) ,
.IM mach-file (3) ,
.IM mach-map (3)
.SH BUGS
The interface needs to be changed to support
multiple threads, each with its own register set.