[Bug 274343] man(1) fails to render manpages that work correctly both with gnroff and mdocml

[email protected] Tue, 04 Aug 2026 13:24:39 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274343

--- Comment #8 from Wolfram Schneider <[email protected]> ---
@mirabilos: Sorry, I forgot to mention that I tested with the system
/usr/bin/man command on FreeBSD as well before closing the issue.

 /usr/bin/man -l man1/mksh.1.gz|head
MKSH(1)                 FreeBSD General Commands Manual                MKSH=
(1)

NAME
     mksh, sh - MirBSD Korn shell

SYNOPSIS
     mksh [-+abCefhiklmnprUuvXx] [-T [!]tty | -] [-+o option] [-c string |
          -s | file [argument ...]]
     builtin-name [argument ...]


Which looks fine to me.

On FreeBSD, the /usr/bin/man is a shell script which tries to find the real
path of a manpage, and then call mandoc or groff to render the manpage.

/usr/bin/gzcat man1/mksh.1.gz | mandoc | less -s

or:

/usr/bin/gzcat man1/mksh.1.gz | tbl | groff -S -P-h -Wall -mtty-char -mandoc
-Tascii -P-c | less -s

--=20
You are receiving this mail because:
You are the assignee for the bug.=