ronn icon indicating copy to clipboard operation
ronn copied to clipboard

Squeeze blank lines by default for -m output

Open thinkerbot opened this issue 12 years ago • 2 comments

A limited, informal survey of the default pager for man indicates that squeezing blank lines is typical. The result is a tidier output.

Surveyed:

This addresses issue #63.

thinkerbot avatar Sep 02 '12 23:09 thinkerbot

Note that given the pager is so variable (and the groff options, I bet) I think that generating a tmp file and using man itself would give the best user experience. That way the user would see exactly what they will see if/when they install the manpage on their system.

I looked into bin/ronn to see what that would take. Doesn't seem terribly hard.

thinkerbot avatar Sep 02 '12 23:09 thinkerbot

Looks like Ronn development is defunct. But I've made a Ronn-NG fork and done this over there, if you're still interested.

apjanke avatar Dec 25 '18 03:12 apjanke