bugGNU troff - Bugs: bug #55081, me: two-column output does not...

 
 

bug #55081: me: two-column output does not work with very long page lengths

Submitted by:  Dave <barx>
Submitted on:  Fri 23 Nov 2018 10:44:53 PM UTC  
 
Category:  Macro - others Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 23 Nov 2018 10:44:53 PM UTC, original submission:  

I discovered this bug on groff 1.22.2, but it is also present in a groff built from the latest source in git.

For nroff output, it is often desirable to eliminate "page" breaks for text meant to be read in a pager such as "less."  The groff info manual gives advice on how to do this: "set the page length at the beginning of the document to a very large value."

However, this breaks -me's two-column macros.

.pl 158
.2c
Column 1.
.bc
Column 2.

Pipe the above into "nroff -me | grep ." and the output is as expected:

Column 1.                       Column 2.

But change the 158 to any higher number, and the columns are no longer output correctly:

Column 1.
Column 2.

This puts an unreasonable upper limit on the very large value one can specify to accommodate nroff output.

Dave <barx>

 

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

Attach Files:
   
   
Comment:
   

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 barx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5