[PATCH] agetty.8: Avoid a warning about an unbreakable line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Bjarni Ingi Gislason <bjarniig@xxxxxxxxx>

---

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
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux