bugGNU roff - Bugs: bug #64224, [nroff] want feature to auto-size...


bug #64224: [nroff] want feature to auto-size dimensioning registers to the terminal

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Sun 21 May 2023 12:54:44 AM UTC
Category:  Core Severity:  1 - Wish
Item Group:  Feature change Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sun 21 May 2023 12:54:44 AM UTC, original submission:  

A while back I mused to the mailing list:

> Registers for setting line length, page offset, page
> length, and vertical spacing trickled into the various macro packages in
> an inconsistent way over the years.
> One of the post-1.23 projects I have in mind is to complete the set for
> all macro packages and teach nroff about them so I can do something
> highly satisfying: give nroff an option to auto-size output to the
> terminal dimensions.

I foresee a couple of orthogonal dimensions of configuration here.

1.  Does the user want to simulate an infinite page length?

2.  Should the line length be set to "eat up" the entire terminal width, or set a large page offset so as to center the document in the terminal window?

We also might have to pretend that the terminal height is one line shorter than it actually is, to accommodate the prompt line used by pagers.  That might be a 3rd axis of configuration.

G. Branden Robinson <gbranden>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gbranden (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-599c.
    Corresponding source code