util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] agetty.8: Avoid a warning about an unbreakable line
@ 2018-08-06  0:51 Bjarni Ingi Gislason
  2018-08-06  7:04 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Bjarni Ingi Gislason @ 2018-08-06  0:51 UTC (permalink / raw)
  To: util-linux

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

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

---

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(-)

diff --git a/term-utils/agetty.8 b/term-utils/agetty.8
index 5a480808d..1ef938769 100644
--- a/term-utils/agetty.8
+++ b/term-utils/agetty.8
@@ -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
 
-- 
2.18.0

-- 
Bjarni I. Gislason

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-06  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06  0:51 [PATCH] agetty.8: Avoid a warning about an unbreakable line Bjarni Ingi Gislason
2018-08-06  7:04 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).