From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from danbala.ifoer.tuwien.ac.at (danbala.ifoer.tuwien.ac.at [128.130.168.64]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id f9eb2669; for ; Thu, 25 Dec 2014 18:15:45 -0500 (EST) Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 60986A5BB; Fri, 26 Dec 2014 00:15:42 +0100 (CET) Date: Fri, 26 Dec 2014 00:15:42 +0100 From: Thomas Klausner To: Ingo Schwarze Cc: discuss@mdocml.bsd.lv Subject: Re: override operating system version Message-ID: <20141225231542.GK7071@danbala.tuwien.ac.at> References: <20141217133520.GZ1188@danbala.tuwien.ac.at> <20141217172700.GA19376@iris.usta.de> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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