Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2023 20:44:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274343] man(1) fails to render manpages that work correctly both with gnroff and mdocml
Message-ID:  <bug-274343-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274343

            Bug ID: 274343
           Summary: man(1) fails to render manpages that work correctly
                    both with gnroff and mdocml
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: tg@mirbsd.org

Hi again,

still the ports/shells/mksh upstream with bugreports directed my way by my
users.

The user is on 13.2-RELEASE and reports that the mksh(1) manpage does not
display correctly:

  $ man mksh | head -5

  is  a command interpreter intended for both interactive and shell
  script use.  Its command language is a superset of the shell lan-
  guage and largely compatible to  the  original  Korn  shell.   At
  times, this manual page may give scripting advice; while it some-

However, invoking not only GNU groff directly (I told him to use =E2=80=9Cn=
roff -mdoc
-c mksh.1 | less=E2=80=9D) works, but it also works if he invokes mdocml di=
rectly:

$ mandoc mksh.1 | head -10
MKSH(1)                 FreeBSD General Commands Manual                MKSH=
(1)

NAME
     mksh, sh =E2=80=93 MirBSD Korn shell

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

I *was* suspecting the mdocml version at first because older mdocml releases
failed to render manpages with *roff commands/macros in them at all, but th=
at
has been fixed at some point, and apparently, he=E2=80=99s carrying a versi=
on that
does.

At this point, and without access to a FreeBSD system myself, my triage ends
and I have to defer to whomever maintains the man/groff/mdocml subsystems at
your site.

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



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