Util-Linux Archive on lore.kernel.org
 help / 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	[flat|nested] 2+ messages in thread

* Re: [PATCH] agetty.8: Avoid a warning about an unbreakable line
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2018-08-06  7:04 UTC (permalink / raw)
  To: Bjarni Ingi Gislason; +Cc: util-linux

On Mon, Aug 06, 2018 at 12:51:13AM +0000, Bjarni Ingi Gislason wrote:
>  term-utils/agetty.8 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, back to index

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

Util-Linux Archive on lore.kernel.org

Archives are clonable: git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org util-linux@archiver.kernel.org
	public-inbox-index util-linux


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox