[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in new curs_inopts(3x) table
From: |
Thomas Dickey |
Subject: |
Re: bug in new curs_inopts(3x) table |
Date: |
Sun, 13 Aug 2023 15:48:47 -0400 |
On Sun, Aug 13, 2023 at 08:36:58AM -0500, G. Branden Robinson wrote:
> [CCing Ingo to confirm resolution of mandoc 1.14.6 bug]
>
> Hi Thomas,
>
> Documenter's Workbench 3.3 tbl throws diagnostics and truncates the
> curs_inopts(3x) page upon encountering its new table.
>
> $ DWBHOME=. ./bin/tbl /tmp/branden/curs_inopts.3x.orig | less
> File /tmp/branden/curs_inopts.3x.orig, line 306: Tried to widen table after
> first row
> tbl quits
>
> Other implementations that are close to AT&T tbl will, I expect, have
> the same problem. GNU tbl, Heirloom Doctools tbl, and mandoc are all
> fine with it. They do not complain even though the table format syntax
> might be suspect. (GNU tbl "rectangularizes" the shape of the table
> after reading its format, and my understanding of Lesk's original tbl
> paper is that AT&T tbl did too. Maybe a bug, or maybe I misunderstand.)
yes... I only checked it with groff, and it looked fine here :-)
> Here is a patch.
>
> --- /tmp/branden/curs_inopts.3x.orig 2023-08-13 07:59:40.964704089 -0500
> +++ /tmp/branden/curs_inopts.3x 2023-08-13 08:00:13.624651014 -0500
> @@ -302,10 +302,9 @@
> This implementation provides four functions which may be used to detect
> if the corresponding flags were set or reset:
> .TS
> -l l l
> -_ _ _ _
> -l l l .
> +l l l.
> \fBQuery\fP \fBSet\fP \fBReset\fP
> +_
> is_cbreak cbreak nocbreak
> is_echo echo noecho
> is_nl nl nonl
thanks (too much copy/paste yesterday :-( )
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature