Re: [dev] [stali] How to view manpages?

From: Michael Forney <mforney_AT_mforney.org>
Date: Mon, 17 Oct 2016 23:25:12 -0700

On Mon, Oct 17, 2016 at 6:53 PM, Evan Gates <evan.gates_AT_gmail.com> wrote:
> The plan for now is to use 9 base troff and a pager which has not yet
> been picked. Currently 9 base troff has been added to the src repo,
> but the mdoc macros still need to be included (the ones from heirloom
> troff worked). As such you should be able to manually view pages using
> the man macros but not the mdoc macros (e.g. sbase man pages won't
> work). I don't think there is a plan yet on how to handle the
> search/troff/pager setup, whether a man script like plan 9's or
> something else entirely. A minor point, the man macros included with 9
> base troff seem to add page breaks. I started to learn troff to remove
> them but I got side tracked by other projects.
>
> If you come up with a good solution start a discussion.

Why not mdocml[0]? It supports man and mdoc macros, and also has can
find and display man pages when invoked as 'man'.

[0] http://mdocml.bsd.lv/
Received on Tue Oct 18 2016 - 08:25:12 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 18 2016 - 08:36:10 CEST