bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 37/45] man/curs_add{ch,_wch}.3x: Prevent table decapitation.


From: G. Branden Robinson
Subject: [PATCH 37/45] man/curs_add{ch,_wch}.3x: Prevent table decapitation.
Date: Sat, 25 May 2024 12:44:47 -0500

...employing technique I've applied to many groff man pages.

For formatters that honor *roff requests (anything but mandoc(1)), this
breaks the page early if there isn't enough room to fit the table
heading and first two rows of entries.
---
 man/curs_add_wch.3x | 3 +++
 man/curs_addch.3x   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/man/curs_add_wch.3x b/man/curs_add_wch.3x
index 502425afd..62728462f 100644
--- a/man/curs_add_wch.3x
+++ b/man/curs_add_wch.3x
@@ -197,6 +197,9 @@ .SS "Forms-Drawing Characters"
 The name \*(``ACS\*('' originates in the Alternate Character Set feature
 of the DEC VT100 terminal.
 .PP
+.br
+.ie t .ne 4v
+.el   .ne 5v
 .TS
 Lb Lb Lb Lb Lb
 Lb Lb Lb Lb Lb
diff --git a/man/curs_addch.3x b/man/curs_addch.3x
index cfa7bf121..937b375d9 100644
--- a/man/curs_addch.3x
+++ b/man/curs_addch.3x
@@ -182,6 +182,9 @@ .SS "Forms-Drawing Characters"
 The name \*(``ACS\*('' originates in the Alternate Character Set feature
 of the DEC VT100 terminal.
 .PP
+.br
+.ie t .ne 4v
+.el   .ne 5v
 .TS
 Lb Lb Lb Lb
 Lb Lb Lb Lb
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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