]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
console_codes.4, inode.7: srcfix
authorG. Branden Robinson <g.branden.robinson@gmail.com>
Sun, 1 Sep 2024 03:26:03 +0000 (22:26 -0500)
committerAlejandro Colomar <alx@kernel.org>
Sun, 1 Sep 2024 08:30:37 +0000 (10:30 +0200)
Prepare for `MR` macro migration.

Rewrite man page cross references inside tbl(1) text blocks to use
man(7) macros instead of troff(1) font selection escape sequences.

$ cat fix-man-page-refs-in-tbl-tables-1.sed
# Rewrite man page cross references inside tbl(1) text blocks to use
# man(7) macros instead of troff(1) font selection escape sequences.
/^\.\\"/b
# Case: (handled in commit 9d21f97766, 2024-07-27)
# T{
# See \fBchown\fP(2) for
# T}
/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\) /\
.BR \1 \2\
/
# Case:
# T{
# the map that is loaded by the utility \fBmapscrn\fP(8).
# T}
/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\)\([^0-9a-z]\+\)$/\
.BR \1 \2\3/
# Case:
# T{
# by \fBxterm\fP(1)'s \fBhpLowerleftBugCompat\fP resource).
# T}
/T{$/,/^T}/s/ \\fB\([^\\]*\)\\fP\(([0-9][a-z]*)\)\([^ ]\+\) \(.*\)/\
.BR \1 \2\3\
\4/

Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Message-ID: <20240901032603.khxdcqiqc2pxooky@illithid>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man4/console_codes.4
man/man7/inode.7

index dfbb672ec3997dbcaea636372a40f04840748fc5..a12d21660b38e779ec6a5077bfb6d53830d02ff6 100644 (file)
@@ -173,7 +173,8 @@ ESC ( U             T{
 Select null mapping \- straight to character ROM.
 T}
 ESC ( K                T{
-Select user mapping \- the map that is loaded by the utility \fBmapscrn\fP(8).
+Select user mapping \- the map that is loaded by the utility
+.BR mapscrn (8).
 T}
 ESC )          T{
 Start sequence defining G1 (followed by one of B, 0, U, K, as above).
@@ -709,7 +710,9 @@ It also recognizes
 l l lx.
 ESC F          T{
 Cursor to lower left corner of screen (if enabled
-by \fBxterm\fP(1)'s \fBhpLowerleftBugCompat\fP resource).
+by
+.BR xterm (1)'s
+\fBhpLowerleftBugCompat\fP resource).
 T}
 ESC l          Memory lock (per HP terminals).
                Locks memory above the cursor.
index 497e30e8a888ab373f593b262022332040763457..1fd3de85d58c3bf7e1dbb5208cfacc755ed5c9e3 100644 (file)
@@ -347,7 +347,8 @@ field:
 .TS
 lB l lx.
 S_ISUID          04000 T{
-set-user-ID bit (see \fBexecve\fP(2))
+set-user-ID bit (see
+.BR execve (2))
 T}
 S_ISGID          02000 T{
 set-group-ID bit (see below)