From: Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org,
Ian Hunter <ian@ianhunter.me>
Subject: Re: Error in read.1p
Date: Sat, 28 Sep 2019 21:35:06 +0200 [thread overview]
Message-ID: <20190928193506.GA21590@comp.lan> (raw)
In-Reply-To: <20190927174541.cykfcoglc2v4ovud@localhost.localdomain>
On Sat, Sep 28, 2019 at 03:45:43AM +1000, G. Branden Robinson wrote:
> I don't have manpages-posix-2013a installed (because I'm a Debian
> user and the package is in Debian's unofficial non-free package archive,
> which I don't use).
>
> But I grabbed the source package, unpacked it, and took a closer look.
>
> The text of the man page sources is derived from the POSIX standard
> which is copyrighted by IEEE, and not licensed for modification.
>
> Nothing indicates who was responsible for the preparation of these man
> page sources. As you noted below, recent Austin Group bug traffic
> suggests to me that they maintain nroff sources for at least part of the
> IEEE 1003 standards documentation; whether these man pages were
> generated or hand-written is not clear, but on inspection they're clean
> enough to be the latter.
>
> > I think this might make people want to report such bugs here.
>
> You're right, it sure looks that way. I was mistaken if I suggested you
> came to the wrong place--the documentation clearly directs you here.
> Other files in the distribution, like man-pages-posix-2013-a.Announce,
> speak of "the Linux man-pages maintainer", and
> man-pages-posix-2013-a.lsm identifies Michael Kerrisk as the maintainer.
>
> > Also, I also wasn't able to find any mention of austingroupbugs.net
> > neither in man-pages-posix-2013-a/README nor at
> > https://www.kernel.org/doc/man-pages except for this
> > http://man7.org/linux/man-pages/changelog.html (at least using
> > Google's site: operator). Could this information be put somewhere?
>
> This is a good question for Michael.
Thank you for this explanation, it's clear that info in the tarball is
misleading.
> > That didn't work for me because /etc/groff/man.local is never opened:
>
> Hmm! What happens when you type "man --version"?
Actually, I have 2 man programs installed: /opt/man-db/bin/man which
is a part of man-db package and /usr/bin/man which is the default man
that Slackware comes with. Their versions are:
$ /usr/bin/man --version
man, version 1.6g
$ /opt/man-db/bin/man --version
man 2.8.4
I needed man-db because the default man had some problems with showing
manpages in Japanese:
https://www.linuxquestions.org/questions/slackware-14/%60lang%3Dja_jp-utf-8-man-man%27-doesn%27t-work-4175606785/#post5715992. Not
that I can read Japanese, it was just a test.
Back to the point - neither /usr/bin/man nor /opt/man-db/bin/man look
for /etc/groff/man.local:
$ strace -f /usr/bin/man ./read.1p |& grep 'man.local'
[pid 24026] open("/home/ja/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24026] open("/usr/lib64/groff/site-tmac/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24026] open("/usr/share/groff/site-tmac/man.local", O_RDONLY) = 5
$ strace -f /opt/man-db/bin/man ./read.1p |& grep 'man.local'
[pid 24139] open("/home/ja/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24139] open("/usr/lib64/groff/site-tmac/man.local", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 24139] open("/usr/share/groff/site-tmac/man.local", O_RDONLY) = 4
I think that /etc/groff is Debian addition:
http://soc.if.usp.br/manual/groff/README.Debian. Official
documentation in `man troff' says:
-mname
Read in the file name.tmac. If it isn't found, try tmac.name instead.
It will be first searched for in directories given with the -M command
line option, then in directories given in the GROFF_TMAC_PATH
environment variable, then in the current directory (only if in unsafe
mode), the home directory, /usr/lib64/groff/site-tmac,
/usr/share/groff/site-tmac, and /usr/share/groff/1.22.3/tmac.
> On my Debian-based system, even just running "nroff -man" over an
> (uncompressed) man page source file opens it
It does for me as well.
> > I have a hard time trying to understand the whole process and need
> > some reading on the subject.
>
> groff is the GNU implementation of a family of programming languages for
> (...)
Wow, fantastic explanation!
> Which distribution are you using?
Slackware 14.2.
> Does "echo $GROFF_TMAC_PATH" emit anything on your system?
No, it's not set.
--
Arkadiusz Drabczyk <arkadiusz@drabczyk.org>
prev parent reply other threads:[~2019-09-28 19:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 2:41 Error in read.1p Ian Hunter
2019-09-26 18:17 ` Arkadiusz Drabczyk
2019-09-26 18:23 ` Arkadiusz Drabczyk
2019-09-26 20:45 ` G. Branden Robinson
2019-09-27 12:27 ` Arkadiusz Drabczyk
2019-09-27 17:45 ` G. Branden Robinson
2019-09-28 19:35 ` Arkadiusz Drabczyk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190928193506.GA21590@comp.lan \
--to=arkadiusz@drabczyk.org \
--cc=g.branden.robinson@gmail.com \
--cc=ian@ianhunter.me \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.