* [kbd] [PATCH] docs/man/man8: Fix a warning from "groff", fonts and a trailing space
@ 2020-03-23 23:56 Bjarni Ingi Gislason
0 siblings, 0 replies; only message in thread
From: Bjarni Ingi Gislason @ 2020-03-23 23:56 UTC (permalink / raw)
To: kbd
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@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-23 23:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-23 23:56 [kbd] [PATCH] docs/man/man8: Fix a warning from "groff", fonts and a trailing space Bjarni Ingi Gislason
Linux console tools development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
public-inbox-index kbd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.kbd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git