Linux console tools development discussion
 help / color / mirror / Atom feed
* [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/

<docs/man/man8/>:14 (macro RI): only 1 argument, but more are expected


  Remove space at end of lines: G0 (1) is a direct image of the translation (2) is used to fill the 1. Decimal: 2. Octal: 3. Hexadecimal: 5. Character:
resizecons.8:27:registers. Only changing the number of rows is slightly easier, and per character (0 <


  Set only '[' and ']' in roman font in the chapter SYNOPSIS.

Signed-off-by: Bjarni Ingi Gislason <>
 docs/man/man8/ | 14 +++++++-------
 docs/man/man8/resizecons.8 |  2 +-
 docs/man/man8/ | 32 ++++++++++++++++++++++----------
 3 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/docs/man/man8/ b/docs/man/man8/
index 613c68b..56c6aad 100644
--- a/docs/man/man8/
+++ b/docs/man/man8/
@@ -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:
 2. two-column text file
-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:
-.B 1. Decimal: 
+.B 1. Decimal:
 String of decimal digits not starting with '0'
-.B 2. Octal: 
+.B 2. Octal:
 String of octal digits beginning with '0'.
-.B 3. Hexadecimal: 
+.B 3. Hexadecimal:
 String of hexadecimal digits preceded by "0x".
 .B 4. Unicode:
 String of four hexadecimal digits preceded by "U+".
-.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/ b/docs/man/man8/
index e0e4bed..d9a6e14 100644
--- a/docs/man/man8/
+++ b/docs/man/man8/
@@ -3,15 +3,27 @@
 setfont \- load EGA/VGA console screen font
 .B setfont
-.RI "[-O " "font+umap.orig" "] [-o " "font.orig" ]
-.RI "[-om " "cmap.orig" ]
-.RI "[-ou " "umap.orig" ]
-.RI "[-" "N" "] [" " ..." ]
-.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 [ " ...\&" ]
+.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"
@@ -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)

^ 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 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/ \
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone