From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.rz.uni-karlsruhe.de (Debian-exim@smtp1.rz.uni-karlsruhe.de [129.13.185.217]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id oBR08qZp014150 for ; Sun, 26 Dec 2010 19:08:53 -0500 (EST) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1PX0du-0007ow-5v; Mon, 27 Dec 2010 01:08:51 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.72) (envelope-from ) id 1PX0du-00039g-4T; Mon, 27 Dec 2010 01:08:50 +0100 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1PX0du-0006Wk-3V; Mon, 27 Dec 2010 01:08:50 +0100 Received: from schwarze by usta.de with local (Exim 4.72) (envelope-from ) id 1PX0du-000377-2f; Mon, 27 Dec 2010 01:08:50 +0100 Date: Mon, 27 Dec 2010 01:08:50 +0100 From: Ingo Schwarze To: discuss@mdocml.bsd.lv Cc: Thomas Klausner , Nicolas Joly Subject: Re: Sx quoting and Header Message-ID: <20101227000850.GN23914@iris.usta.de> References: <20101225152204.GY21954@danbala.tuwien.ac.at> 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: <20101225152204.GY21954@danbala.tuwien.ac.at> User-Agent: Mutt/1.5.21 (2010-09-15) Hi Thomas, hi Nicolas, Thomas Klausner wrote on Sat, Dec 25, 2010 at 04:22:04PM +0100: > 2. The header for man pages generated with mandoc doesn't have > "NetBSD" in the center. Example: > njoly@petaure [~]> nroff -mandoc /usr/share/man/man4/multicast.4 | head -n 1 > MULTICAST(4) NetBSD Kernel Interfaces Manual MULTICAST(4) > njoly@petaure [~]> mandoc -Tascii /usr/share/man/man4/multicast.4 | head -n 1 > MULTICAST(4) Kernel Interfaces Manual MULTICAST(4) > Not a biggy, but why not leave it as before? :) The newest groff (1.20.1) puts "BSD" into that place, see the following line in upstream groff-1.20.1/tmac/doc-common: .ds doc-volume-operating-system BSD When porting groff-1.20.1 to OpenBSD, i had to apply this local patch to groff: -.ds doc-volume-operating-system BSD +.ds doc-volume-operating-system OpenBSD Judging from the line .ds doc-volume-operating-system FreeBSD in http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/usr.bin/groff/tmac/mdoc.local?rev=1.1 you basically did the same to NetBSD in 2003. In mandoc, the way to do this adjustment is to locally customize the file msec.in. You can just prepend "NetBSD" to the relevant strings in that file and commit to the NetBSD repository. That file is specifically intended for operating system customization. Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv