From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 DKIM-Filter: OpenDKIM Filter v2.11.0 inpost.hi.is 02NNuFBp007191 Date: Mon, 23 Mar 2020 23:56:14 +0000 From: Bjarni Ingi Gislason To: kbd@lists.altlinux.org Message-ID: <20200323235614.GA21445@rhi.hi.is> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: bjarniig@hi.is User-Agent: Mutt/1.5.20 (2009-12-10) X-Mailman-Approved-At: Tue, 24 Mar 2020 14:02:21 +0300 Subject: [kbd] [PATCH] docs/man/man8: Fix a warning from "groff", fonts and a trailing space X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 23:56:19 -0000 Archived-At: List-Archive: 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 :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 --- 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 (K for the -.B G0 +.B G0 character set and .I )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