Skip to contentSkip to conversation

agetty.8: Avoid a warning about an unbreakable line

PATCH Applied Bjarni Ingi Gislason 2 participants 2 messages Aug 6, 2018 Util-Linux package

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 agetty.8: Avoid a warning about an unbreakable line

Make the indent depend on the formatting command, nroff or troff.

---

Warning from "test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z"

[ "test-groff" is a developmental version of "groff" ]

Input file is ././term-utils/agetty.8

.../git/groff/build/../tmac/an-old.tmac:382: backtrace: macro 'B'
troff: <./term-utils/agetty.8>:330: warning [p 5, 8.7i]: can't break line

 term-utils/agetty.8 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
term-utils/agetty.8 +2 -1
index 5a480808d..1ef938769 100644
@@ -326,7 +326,8 @@ For a Hayes modem with a fixed 115200 bps interface to the machine
 modem/computer DCD track modem/modem DCD, makes a DTR drop cause a
 disconnection, and turns on auto-answer after 1 ring):
 
-.RS
+.ie n .RS 0
+.el .RS
 .B /sbin/agetty\ \-\-wait\-cr\ \-\-init\-string\ 'ATE0Q1&D2&C1S0=1\\015'\ 115200\ ttyS1
 .RE
 
Signature · 4 lines
2.18.0

-- 
Bjarni I. Gislason
maintainer Applied
#1 lore raw
Quoted 2 lines · Bjarni Ingi Gislason
 term-utils/agetty.8 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com