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

@ -15,14 +15,14 @@ int rfork(int flags)
is a partial implementation of the Plan 9 system call.
It can be used to manipulate some process state and to create
new processes a la
.IR fork (2).
.IM fork (2) .
It cannot be used to create shared-memory processes
(Plan 9's
.B RFMEM
flag); for that functionality use
.I proccreate
(see
.IR thread (3)).
.IM thread (3) ).
.PP
The
.I flags
@ -45,7 +45,7 @@ If set, the child process will be dissociated from the parent. Upon
exit the child will leave no
.B Waitmsg
(see
.IR wait (3))
.IM wait (3) )
for the parent to collect.
.\" .TP
.\" .B RFNAMEG
@ -81,9 +81,9 @@ for the parent to collect.
Each process is a member of a group of processes that all
receive notes when a note is sent to the group
(see
.IR postnote (3)
.IM postnote (3)
and
.IR signal (2)).
.IM signal (2) ).
The group of a new process is by default the same as its parent, but if
.B RFNOTEG
is set (regardless of
@ -154,7 +154,7 @@ will sleep, if necessary, until required process resources are available.
Calling
.B rfork(RFFDG|RFPROC)
is equivalent to calling
.IR fork (2).
.IM fork (2) .
.SH SOURCE
.B \*9/src/lib9/rfork.c
.SH DIAGNOSTICS