[kbd] [PATCH] docs/man/man8: Fix a warning from "groff", fonts and a trailing space
Bjarni Ingi Gislason
bjarniig at rhi.hi.is
Tue Mar 24 02:56:14 MSK 2020
Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z
[ "test-groff" is a developmental version of "groff" ]
Input file is ./docs/man/man8/setfont.8.in
<docs/man/man8/setfont.8.in>:14 (macro RI): only 1 argument, but more are expected
####
Remove space at end of lines:
mapscrn.8.in:25:.B G0
mapscrn.8.in:62:Format (1) is a direct image of the translation
mapscrn.8.in:65:Format (2) is used to fill the
mapscrn.8.in:76:.B 1. Decimal:
mapscrn.8.in:79:.B 2. Octal:
mapscrn.8.in:82:.B 3. Hexadecimal:
mapscrn.8.in:88:.B 5. Character:
resizecons.8:27:registers. Only changing the number of rows is slightly easier, and
setfont.8.in:72:bytes per character (0 <
###
Set only '[' and ']' in roman font in the chapter SYNOPSIS.
Signed-off-by: Bjarni Ingi Gislason <bjarniig at rhi.hi.is>
---
docs/man/man8/mapscrn.8.in | 14 +++++++-------
docs/man/man8/resizecons.8 | 2 +-
docs/man/man8/setfont.8.in | 32 ++++++++++++++++++++++----------
3 files changed, 30 insertions(+), 18 deletions(-)
diff --git a/docs/man/man8/mapscrn.8.in b/docs/man/man8/mapscrn.8.in
index 613c68b..56c6aad 100644
--- a/docs/man/man8/mapscrn.8.in
+++ b/docs/man/man8/mapscrn.8.in
@@ -22,7 +22,7 @@ mode by outputting a special escape sequence to the console device.
This sequence is
.I <esc>(K
for the
-.B G0
+.B G0
character set and
.I <esc>)K
for the
@@ -59,10 +59,10 @@ command can read the map in either of two formats:
.br
2. two-column text file
.br
-Format (1) is a direct image of the translation
+Format (1) is a direct image of the translation
.I table. The 256-bytes tables are direct-to-font,
the 512-bytes tables are user-to-unicode tables.
-Format (2) is used to fill the
+Format (2) is used to fill the
.I table
as follows: cell with offset mentioned in the first column is filled
with the value mentioned in the second column.
@@ -73,19 +73,19 @@ table, otherwise it is a direct-to-font table.
Values in the file may be specified in one of several
.B formats:
.br
-.B 1. Decimal:
+.B 1. Decimal:
String of decimal digits not starting with '0'
.br
-.B 2. Octal:
+.B 2. Octal:
String of octal digits beginning with '0'.
.br
-.B 3. Hexadecimal:
+.B 3. Hexadecimal:
String of hexadecimal digits preceded by "0x".
.br
.B 4. Unicode:
String of four hexadecimal digits preceded by "U+".
.br
-.B 5. Character:
+.B 5. Character:
Single character enclosed in single quotes. (And the binary value is used.)
Note that blank, comma, tab character and '#' cannot be specified
with this format.
diff --git a/docs/man/man8/resizecons.8 b/docs/man/man8/resizecons.8
index 81efa6e..1a13ee4 100644
--- a/docs/man/man8/resizecons.8
+++ b/docs/man/man8/resizecons.8
@@ -24,7 +24,7 @@ screen.
The most difficult part of this is (b), since it requires detailed
knowledge of the video card hardware, and the setting of numerous
-registers. Only changing the number of rows is slightly easier, and
+registers. Only changing the number of rows is slightly easier, and
.I resizecons
will try to do that itself, when given the
.I -lines
diff --git a/docs/man/man8/setfont.8.in b/docs/man/man8/setfont.8.in
index e0e4bed..d9a6e14 100644
--- a/docs/man/man8/setfont.8.in
+++ b/docs/man/man8/setfont.8.in
@@ -3,15 +3,27 @@
setfont \- load EGA/VGA console screen font
.SH SYNOPSIS
.B setfont
-.RI "[-O " "font+umap.orig" "] [-o " "font.orig" ]
-.RI "[-om " "cmap.orig" ]
-.RI "[-ou " "umap.orig" ]
-.RI "[-" "N" "] [" "font.new ..." ]
-.RI "[-m " "cmap" ]
-.RI "[-u " "umap" ]
-.RI "[-C " "console" ]
-.RI "[-h" "H" ]
-.RI "[-v] [-V]"
+.RB [ -O
+.IR font+umap.orig ]
+.RB [ -o
+.IR font.orig ]
+.RB [ -om
+.IR cmap.orig ]
+.RB [ -ou
+.IR umap.orig ]
+.RB [ -\c
+.IR N ]
+.RI [ "font.new ...\&" ]
+.RB [ -m
+.IR cmap ]
+.RB [ -u
+.IR umap ]
+.RB [ -C
+.IR console ]
+.RB [ -h\c
+.IR H ]
+.RB [ -v ]
+.RB [ -V ]
.IX "setfont command" "" "\fLsetfont\fR command"
.SH DESCRIPTION
The
@@ -69,7 +81,7 @@ Raw font files are binary files of size
bytes, containing bit images for each of 256 characters,
one byte per scan line, and
.I N
-bytes per character (0 <
+bytes per character (0 <
.I N
<= 32).
Most fonts have a width of 8 bits, but with the framebuffer device (fb)
--
2.25.1
More information about the kbd
mailing list