bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 34/40] man/term.5: Fix overset line.


From: G. Branden Robinson
Subject: [PATCH 34/40] man/term.5: Fix overset line.
Date: Fri, 12 Jan 2024 14:05:05 -0600

Drop relative inset from displayed example so that the example of
infocmp(1) output doesn't overrun the traditional 65n line length.

This doesn't work on DWB 3.3 because its `EX`/`EE` macro applies
indentation (and inter-paragraph spacing) anyway.  Pretty
non-orthogonal, and it appears to be an ill-advised deviation from Ninth
Edition Unix's macros.  Sources of the latter are hard to come by, but
the following (both descendants of Research Unix) are suggestive.

https://minnie.tuhs.org/cgi-bin/utree.pl?file=V10/cmd/mk/export/tmac.an
https://github.com/9fans/plan9port/blob/master/tmac/tmac.an

In any event, DWB's descendant Heirloom Doctools does _not_ share this
problem; its EX and EE macros are compatible with Ninth Edition Unix and
GNU man(7).
---
 man/term.5 | 2 --
 1 file changed, 2 deletions(-)

diff --git a/man/term.5 b/man/term.5
index 79aa21646..c6effd226 100644
--- a/man/term.5
+++ b/man/term.5
@@ -393,7 +393,6 @@ .SH EXAMPLES
 As an example, here is a description for the Lear-Siegler
 ADM\-3, a popular though rather stupid early terminal:
 .PP
-.RS 4
 .EX
 adm3a|lsi adm3a,
         am,
@@ -402,7 +401,6 @@ .SH EXAMPLES
         cuf1=\*^L, cup=\eE=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\*^K,
         home=\*^\*^, ind=\*^J,
 .EE
-.RE
 .PP
 and a hexadecimal dump of the compiled terminal description:
 .PP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]