From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
To: util-linux@vger.kernel.org
Subject: [PATCH] agetty.8: Avoid a warning about an unbreakable line
Date: Mon, 6 Aug 2018 00:51:13 +0000 [thread overview]
Message-ID: <20180806005113.GA5494@rhi.hi.is> (raw)
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
next reply other threads:[~2018-08-06 2:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 0:51 Bjarni Ingi Gislason [this message]
2018-08-06 7:04 ` [PATCH] agetty.8: Avoid a warning about an unbreakable line Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180806005113.GA5494@rhi.hi.is \
--to=bjarniig@rhi.hi.is \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).