groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groff] improve a few terminal renderings of special characters


From: Ralph Corderoy
Subject: Re: [groff] improve a few terminal renderings of special characters
Date: Thu, 30 Aug 2018 11:58:49 +0100

Hi John,

> I should ask, what's the most reliable way of running `man -a -w`?
> I thought this was universal to `man` implementations

Neither are POSIX.

> but Solaris told me otherwise. illumos uses `man -w` to update the
> `makewhatis` database

whereis(1)?  Again, not POSIX, but might not deviate so much.

    $ whereis sleep | fmt
    sleep: /usr/bin/sleep /usr/share/man/man3/sleep.3.gz
    /usr/share/man/man3/sleep.3p.gz /usr/share/man/man1/sleep.1.gz
    /usr/share/man/man1/sleep.1p.gz
    $ whereis -m sleep | fmt
    sleep: /usr/share/man/man3/sleep.3.gz /usr/share/man/man3/sleep.3p.gz
    /usr/share/man/man1/sleep.1.gz /usr/share/man/man1/sleep.1p.gz
    $

> The reason this is important is because it's how the NodeJS
> environment shells out to the system to locate manpages for
> display/processing.

The locations vary, e.g. a user's $MANPATH.  Have the user specify it?

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]