[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57665] tbl: want better TTY support for extremely long tables
From: |
G. Branden Robinson |
Subject: |
[bug #57665] tbl: want better TTY support for extremely long tables |
Date: |
Fri, 9 Oct 2020 05:26:29 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Update of bug #57665 (project groff):
Severity: 1 - Wish => 2 - Minor
Item Group: New feature => Incorrect behaviour
Status: In Progress => Fixed
Open/Closed: Open => Closed
Planned Release: None => 1.22.5
_______________________________________________________
Follow-up Comment #6:
commit ffef301cb320f13292f20d53f4fd2a52a5e70a47
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Fri Oct 9 19:57:43 2020 +1100
Fix man(7) continuous rendering/tbl interaction.
Stop tbl from injecting spurious blank lines (and emitting spurious
warnings about tables and "text blocks" not "fitting on a page") into
long tables in man pages when continuous rendering is used (the default
for nroff output devices).
* src/preproc/tbl/table.cpp (USE_KEEPS_REG): New preprocessor symbol
stores name of groff register for dynamic determination of keep usage.
(table::init_output): If the NOKEEP flag is not set, then in generated
groff output, see if the usekeeps register is defined; if not, define
it and enable usage of keeps.
(table::do_row): In groff output, check usekeeps register before
calling keep and release macros.
(table::do_bottom): In groff output, check usekeeps register before
calling release macro.
* tmac/an-old.tmac (TS): Set the usekeeps register used by tbl to the
logical complement of the man(7) cR (continuous rendering) register.
Problem appears to date back to the introduction of continuous
rendering in groff 1.17 (3 May 2001).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57665>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/