discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Thomas Klausner <wiz@NetBSD.org>
To: Ingo Schwarze <schwarze@usta.de>
Cc: discuss@mdocml.bsd.lv
Subject: Re: override operating system version
Date: Fri, 26 Dec 2014 00:15:42 +0100	[thread overview]
Message-ID: <20141225231542.GK7071@danbala.tuwien.ac.at> (raw)
In-Reply-To: <20141217172700.GA19376@iris.usta.de>

On Wed, Dec 17, 2014 at 06:27:00PM +0100, Ingo Schwarze wrote:
> That only applies to mdoc(7) pages, and only if -Ios is not given
> on the command line and -DOSNAME is not given at compile time.

Thanks for the pointer. I looked at the man page on NetBSD-6 and -Ios
isn't supported there yet, so I hadn't seen it.

> For man(7) pages, it is left blank by default, and right now,
> that default cannot be overridden, neither at compile time nor
> from the command line.

That sounds good enough for now.

> The easiest way seems to let man(7) use the existing -Ios command
> line option just like mdoc(7).  I mean, the user will hardly care
> what the language of the manual page's source code is, so it's
> hard to see why the two should be different.

I agree.

> Obviously, man.cgi(8) has no command line options, but it uses
> the manpath of the page being shown - for example "NetBSD-6.1.5" in
> http://mdocml.bsd.lv/cgi-bin/man.cgi?query=man&manpath=NetBSD-6.1.5 -
> for the purpose man(1) and mandoc(1) use -Ios.

That's a neat way to do that.

> If you like that approach, i'll probably commit it.

That's the man support for -Ios? Yes, please!

Thanks,
 Thomas
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

      reply	other threads:[~2014-12-25 23:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-17 13:35 Thomas Klausner
2014-12-17 17:27 ` Ingo Schwarze
2014-12-25 23:15   ` Thomas Klausner [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=20141225231542.GK7071@danbala.tuwien.ac.at \
    --to=wiz@netbsd.org \
    --cc=discuss@mdocml.bsd.lv \
    --cc=schwarze@usta.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).