Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2026 13:24:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 274343] man(1) fails to render manpages that work correctly both with gnroff and mdocml
Message-ID:  <bug-274343-9-DJP9PXLCHj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-274343-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274343

--- Comment #8 from Wolfram Schneider <wosch@FreeBSD.org> ---
@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

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274343-9-DJP9PXLCHj>