bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 08/40] man/toe.1m: Fix too-wide tables.


From: G. Branden Robinson
Subject: [PATCH 08/40] man/toe.1m: Fix too-wide tables.
Date: Fri, 12 Jan 2024 13:28:16 -0600

Use text blocks for table entries that will overrun 65n on terminals.
Left-align them to prevent adjustment, which would be an inauthentic
representation of output (as these are meant to be, modulus breaking to
avoid overruning the terminal width).

Fixes:
.../share/man/man1/toe.1:204: warning: table wider than line length minus 
indentation
---
 man/toe.1m | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/man/toe.1m b/man/toe.1m
index dc05a739c..0901c7e89 100644
--- a/man/toe.1m
+++ b/man/toe.1m
@@ -176,8 +176,10 @@ .SH EXAMPLES
 xterm\-r6      xterm X11R6 version
 xterm\-r5      xterm R5 version
 xterm\-mono    monochrome xterm
-.\" The next row overruns the line length on DWB nroff (65n).
-xterm  xterm terminal emulator (X Window System)
+xterm  T{
+.ad l
+xterm terminal emulator (X Window System)
+T}
 vt220  dec vt220
 vt102  dec vt102
 vt100  dec vt100 (w/advanced video)
@@ -205,16 +207,20 @@ .SH EXAMPLES
 \-\-*\-\-\-:   vt102   dec vt102
 \-\-*\-\-\-:   vt220   dec vt220
 \-\-*\-\-\-:   vt52    dec vt52
-.\" The next row overruns the line length on DWB nroff (65n).
-\-\-*\-\-\-:   xterm   xterm terminal emulator (X Window System)
+\-\-*\-\-\-:   xterm   T{
+.ad l
+xterm terminal emulator (X Window System)
+T}
 \-\-*\-\-\-:   xterm\-256color xterm with 256 colors
 \-\-*\-\-\-:   xterm\-color    generic color xterm
 \-\-*\-\-\-:   xterm\-mono     monochrome xterm
 \-\-*\-\-\-:   xterm\-r5       xterm R5 version
 \-\-*\-\-\-:   xterm\-r6       xterm X11R6 version
 \-\-*\-\-\-:   xterm\-vt220    xterm emulating vt220
-.\" The next row overruns the line length on DWB nroff (65n).
-\-\-*\-\-\-:   xterm\-xfree86  xterm terminal emulator (XFree86)
+\-\-*\-\-\-:   xterm\-xfree86  T{
+.ad l
+xterm terminal emulator (XFree86)
+T}
 .T&
 l.
 \&.\|.\|.
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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