bug-ncurses
[Top][All Lists]
Advanced

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

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


From: G. Branden Robinson
Subject: Re: [PATCH 08/40] man/toe.1m: Fix too-wide tables.
Date: Sun, 14 Jan 2024 06:51:07 -0600

Hi Thomas,

At 2024-01-13T16:41:04-0500, Thomas Dickey wrote:
> On Fri, Jan 12, 2024 at 01:28:16PM -0600, G. Branden Robinson wrote:
> > 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).
> 
> that trades one problem for another -- wrapping lines which makes the
> output differ radically from the original.
> 
> These lines are 65 and 51 characters in the output of toe:
> 
> *---*-:       xterm           xterm terminal emulator (X Window System)
> *---+-:       xterm-xfree86   xterm terminal emulator (XFree86)
> 
> and in the (up-til-now) manpage formatted like this (76 and 68 characters):
> 
>            --*---: xterm           xterm terminal emulator (X Window System)
>            --*---: xterm-xfree86   xterm terminal emulator (XFree86)
> 
> but with this change 61 and 58 characters:
> 
>            --*---: xterm           xterm terminal emulator (X
>                                    Window System)
>            --*---: xterm-xfree86   xterm terminal emulator
>                                    (XFree86)

This is easily fixed.  I forgot to add the 'x' column modifier to these
tables, so tbl(1) set them too conservatively.

Also, I see that my too-clever-for-DWB trick that came up last week[1]
also afflicts this page.  I'll fix it, and check for other occurrences.

Regards,
Branden

[1] https://lists.gnu.org/archive/html/bug-ncurses/2024-01/msg00042.html

Attachment: signature.asc
Description: PGP signature


reply via email to

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