diff options
| author | Dmitri Vereshchagin <dmitri.vereshchagin@gmail.com> | 2024-01-31 20:47:13 +0300 |
|---|---|---|
| committer | Dan Cross <crossd@gmail.com> | 2025-07-27 09:58:50 -0400 |
| commit | 10564b11755ff2d48d0f5073c46571e806fa6fb4 (patch) | |
| tree | 229252742051d83558fff2352642d0f57ba66615 /man/man3/9p.3 | |
| parent | 00446db7d8fdb3ea56fa104643b34823960f7be2 (diff) | |
| download | plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.tar.gz plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.zip | |
tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package. The NEWS file states
that the inclusion of the macro "was prompted by its introduction to
Plan 9 from User Space's troff in August 2020." From d32deab it seems
that the name for Plan 9 from User Space's implementation was suggested
by groff maintainer G. Brandon Robinson.
Not sure if the intention was to make these definitions compatible, but
it would be nice if they were.
Currently, Plan 9 from User Space's .MR expects its second argument to
be parenthesized. groff's .MR does not. This results in extra
parentheses appearing in manual references when viewing Plan 9 from User
Space's manual pages on a system using groff.
Diffstat (limited to 'man/man3/9p.3')
| -rw-r--r-- | man/man3/9p.3 | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/man/man3/9p.3 b/man/man3/9p.3 index 86b37faf..ee6a00a7 100644 --- a/man/man3/9p.3 +++ b/man/man3/9p.3 @@ -106,13 +106,13 @@ and .B Fid structures are allocated one-to-one with uncompleted requests and active fids, and are described in -.MR 9p-fid (3) . +.MR 9p-fid 3 . .PP The behavior of .I srv depends on whether there is a file tree (see -.MR 9p-file (3) ) +.MR 9p-file 3 ) associated with the server, that is, whether the .B tree @@ -172,11 +172,11 @@ as .BI /srv/ name . .IP Fork a child process via -.MR rfork (3) +.MR rfork 3 or .I procrfork (see -.MR thread (3) ), +.MR thread 3 ), using the .BR RFFDG , .RR RFNOTEG , @@ -208,7 +208,7 @@ The parent returns to the caller. .LP If any error occurs during this process, the entire process is terminated by calling -.MR sysfatal (3) . +.MR sysfatal 3 . .SS Service functions The functions in a .B Srv @@ -324,7 +324,7 @@ where is the program name variable as set by .I ARGBEGIN (see -.MR arg (3) ). +.MR arg 3 ). .TP .I Attach The @@ -699,7 +699,7 @@ the service loop (which runs in a separate process from its caller) terminates using .I _exits (see -.MR exits (3) ). +.MR exits 3 ). .PD .PP If the @@ -744,6 +744,6 @@ or is maintained elsewhere. .SH SOURCE .B \*9/src/lib9p .SH SEE ALSO -.MR 9p-fid (3) , -.MR 9p-file (3) , +.MR 9p-fid 3 , +.MR 9p-file 3 , .IR intro (9p) |
