[Bug 264501] bc(1): Multiple issues in manual page

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Jun 2022 16:28:22 UTC

Stefan Eßer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
             Status|Open                        |In Progress

--- Comment #4 from Stefan Eßer <se@FreeBSD.org> ---
(In reply to Gavin D. Howard from comment #3)

I have found the cause of the broken elements and URLs:

The man page is rendered with "groff -man", and with default settings this
enables block justification and hyphenation.

Adding 2 macros (.nh and .ad l) to the start of the man page solves the issue.

This causes left justified ragged lines and disables hyphenation.

But since the default settings are inappropriate (at least for man pages that
contain long options in the SYNOPSYS and long URLs in the text), I'm wondering
whether it might be possible to run "groff" with options that change the
processing to no hyphenation and ragged lines without the need of macros in
each affected man-page.

And I still do not understand why the man pages are formatted with groff,

We have mandoc and it seems its default formatting option are sane ...

You are receiving this mail because:
You are on the CC list for the bug.