public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
To: Alejandro Colomar <alx@kernel.org>
Cc: linux-man@vger.kernel.org
Subject: [PATCH 05/10] utmp.5: srcfix
Date: Sat, 31 Aug 2024 22:25:30 -0500	[thread overview]
Message-ID: <20240901032530.wrvbtb4wisgnkcns@illithid> (raw)
In-Reply-To: <5bec58a0a261f834a2fc29d471b0b984822905b7.1725161054.git.g.branden.robinson@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2347 bytes --]

Prepare for `MR` macro migration.

Migrate man page cross references in unfilled examples from using font
selection escape sequences to font alternation macros to set man page
cross references.

Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
---
 man/man5/utmp.5 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/man/man5/utmp.5 b/man/man5/utmp.5
index 0139241ed..1d7291e7f 100644
--- a/man/man5/utmp.5
+++ b/man/man5/utmp.5
@@ -48,13 +48,17 @@ .SH DESCRIPTION
 #define EMPTY         0 /* Record does not contain valid info
                            (formerly known as UT_UNKNOWN on Linux) */
 #define RUN_LVL       1 /* Change in system run\-level (see
-                           \fBinit\fP(1)) */
+                           \c
+.BR init (1))\ \c
+*/
 #define BOOT_TIME     2 /* Time of system boot (in \fIut_tv\fP) */
 #define NEW_TIME      3 /* Time after system clock change
                            (in \fIut_tv\fP) */
 #define OLD_TIME      4 /* Time before system clock change
                            (in \fIut_tv\fP) */
-#define INIT_PROCESS  5 /* Process spawned by \fBinit\fP(1) */
+#define INIT_PROCESS  5 /* Process spawned by \c
+.BR init (1)\ \c
+*/
 #define LOGIN_PROCESS 6 /* Session leader process for user login */
 #define USER_PROCESS  7 /* Normal process */
 #define DEAD_PROCESS  8 /* Terminated process */
@@ -81,12 +85,15 @@ .SH DESCRIPTION
                                      messages */
     struct  exit_status ut_exit;  /* Exit status of a process
                                      marked as DEAD_PROCESS; not
-                                     used by Linux \fBinit\P(1) */
+                                     used by Linux \c
+.BR init (1)\ \c
+*/
     /* The ut_session and ut_tv fields must be the same size when
        compiled 32\- and 64\-bit.  This allows data files and shared
        memory to be shared between 32\- and 64\-bit applications. */
 #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
-    int32_t ut_session;           /* Session ID (\fBgetsid\fP(2)),
+    int32_t ut_session;           /* Session ID (\c
+.BR getsid (2) ),
                                      used for windowing */
     struct {
         int32_t tv_sec;           /* Seconds */
-- 
2.30.2


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2024-09-01  3:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5bec58a0a261f834a2fc29d471b0b984822905b7.1725161054.git.g.branden.robinson@gmail.com>
2024-09-01  3:25 ` [PATCH 02/10] namespaces.7: srcfix G. Branden Robinson
2024-09-01  3:25 ` [PATCH 03/10] wctrans.3, wctype.3: srcfix G. Branden Robinson
2024-09-01  3:25 ` [PATCH 04/10] utmp.5: ffix G. Branden Robinson
2024-09-01  3:25 ` G. Branden Robinson [this message]
2024-09-01  3:25 ` [PATCH 06/10] suffixes.7: srcfix G. Branden Robinson
2024-09-01  3:25 ` [PATCH 07/10] lirc.4: srcfix G. Branden Robinson
2024-09-01  3:26 ` [PATCH 08/10] console_codes.4, inode.7: srcfix G. Branden Robinson
2024-09-01  8:33   ` Alejandro Colomar
2024-09-01  3:26 ` [PATCH 09/10] man/: srcfix (1/2) G. Branden Robinson
2024-09-01  8:35   ` Alejandro Colomar
2024-09-01  3:26 ` [PATCH 10/10] man/: srcfix (2/2) G. Branden Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240901032530.wrvbtb4wisgnkcns@illithid \
    --to=g.branden.robinson@gmail.com \
    --cc=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox