[kbd] [PATCH] docs/man/man5: Fix warnings from "groff"

Bjarni Ingi Gislason bjarniig at rhi.hi.is
Fri Mar 20 22:07:35 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/man5/keymaps.5

<docs/man/man5/keymaps.5>:81 (macro BI): only 1 argument, but more are expected
<docs/man/man5/keymaps.5>:94 (macro BI): only 1 argument, but more are expected
<docs/man/man5/keymaps.5>:336 (macro BI): only 0 argument, but more are expected
an-end-check:<docs/man/man5/keymaps.5>: Warning: Different number of .RS and .RE calls, an-RS-open=1 at end of file

Signed-off-by: Bjarni Ingi Gislason <bjarniig at rhi.hi.is>
---
 docs/man/man5/keymaps.5 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/man/man5/keymaps.5 b/docs/man/man5/keymaps.5
index 4d9fe52..82d5903 100644
--- a/docs/man/man5/keymaps.5
+++ b/docs/man/man5/keymaps.5
@@ -78,7 +78,7 @@ represent keyboard actions, of which up to 256 can be bound to a single
 key. The actions available include outputting character codes or
 character sequences, switching consoles or keymaps, booting the machine
 etc. (The complete list can be obtained from dumpkeys(1) by saying
-.BI " dumpkeys -l"
+.B " dumpkeys -l"
 \&.)
 .LP
 Each
@@ -91,7 +91,7 @@ If Shift+CapsLock should not produce a lower case symbol, put lines like
 .LP
 .RS
 .nf
-.BI "keycode 30 = +a  A"
+.B "keycode 30 = +a  A"
 .fi
 .RE
 .LP
@@ -333,8 +333,7 @@ key action code sends. The syntax of string definitions is:
 .B string
 .I keysym
 .B =
-.BI
-"text"
+.BI """" text """"
 .RE
 .LP
 .I text
@@ -429,6 +428,7 @@ the "spare" action code F100 not normally bound to any key.
 .nf
 altgr keycode 32 = F100
 string F100 = "du\\ndf\\n"
+.RE
 .LP
 .SH "SEE ALSO"
 .BR loadkeys (1),
-- 
2.25.1


More information about the kbd mailing list