From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, T_TVD_MIME_EPI autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 4221 invoked from network); 4 Oct 2021 18:07:20 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 4 Oct 2021 18:07:20 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 7bef13ef for ; Mon, 4 Oct 2021 13:07:17 -0500 (EST) Received: from cameronkatri.com (cameronkatri.com [206.189.178.249]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id fbe138e8 for ; Mon, 4 Oct 2021 13:07:16 -0500 (EST) Received: from FreeBSDY540 (c-73-84-80-103.hsd1.fl.comcast.net [73.84.80.103]) by cameronkatri.com (Postfix) with ESMTPSA id 888DF40352; Mon, 4 Oct 2021 14:07:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cameronkatri.com; s=20201109; t=1633370835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ny8McXhHu7VJHLkWsop1ImZ2h7Wpa7OoSesAOoZ49jw=; b=a45FM0KHyMFiARiASsZ9J9Tbyhh9gGco40atdC5tnCsKEPBTqNEnRy48jAAz/B2T2jvW5G 67LpBGlhtCzrsfL7mAG4diu6bEXz/gasbX2priufLnB8NMQsP6dacnxQFVkgr/D49Kqpuc ex6S37P0H1esCJEziJRCO/mEgmkpQGU= Date: Mon, 4 Oct 2021 14:07:15 -0400 From: Cameron Katri To: Ingo Schwarze Cc: discuss@mandoc.bsd.lv Subject: Re: Specify man section name at runtime Message-ID: <20211004180715.yhztmn455f77s25r@FreeBSDY540> References: <20211003174918.nn45mg6rmuaou2fa@FreeBSDY540> <20211003231630.mb65kbrsb4cpb4yn@FreeBSDY540> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qokks3utyic7mi2g" Content-Disposition: inline In-Reply-To: --qokks3utyic7mi2g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 04, 2021 at 10:06:59AM +0200, Ingo Schwarze wrote: > Hi Cameron, >=20 > Cameron Katri wrote on Sun, Oct 03, 2021 at 07:16:30PM -0400: >=20 > > Well this is a very niche use case, but on FreeBSD they patch msec.in > > to say "FreeBSD General Commands Manual" etc. >=20 > I think that patching is ill-advised. In manual pages, the operating > system name is supposed to be printed in the footer line (lower left > corner), not in the header line. One consequence of the FreeBSD > patching is that if you format manual pages of another operating system > on FreeBSD, the header line will always include the misleading string > "FreeBSD" anyway, and as you observed, there is no way to tell mandoc > to leave it out. >=20 > The string in the footer line, on the other hand, defaults to uname(3), > which already includes "FreeBSD" by default, and can be overridden > both by the "-I os=3D" option on the command line and by the .Os macro > in the manual page. >=20 > The file msec.in does not exist for the purpose of branding that > FreeBSD abuses it for, but to accomodate differing volume conventions > of operating systems. For example, illumos has traditionally been > using the System V convention that includes >=20 I will try and get this patch removed from FreeBSD, which I agree is a much better solution. - Cameron Katri --=20 Cameron Katri Email: me@cameronkatri.com PGP Fingerprint: 7D3B36CEA40FCC2181FB6DCDBAFFD97826540F1C --qokks3utyic7mi2g Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEfTs2zqQPzCGB+23Nuv/ZeCZUDxwFAmFbQtIACgkQuv/ZeCZU DxwcFQf+IVurALWKToT4w0W1tPo7y79T8JEuZmpKnOqFAhRkOr4VNMGrXwSDtC/A F+zvjMF/qhK4alTyMjwKWbDi+Q+SvFC6h2y/VKEzQeXtUHNV2r2rdqFhHuPfoLDw 6o8yxSSsQohh84yzPV9+yQuA6BGqrXfasHi3Ej3jJPJTRLr0bcyorF+2/u7JYKF/ HxJ3IywCqhM5ZF2mudScPpDG+2xldG8uwx0Z3nWvpOKjpZvk07aSNauMOKOALZfr /11VdjAKMXoUOZifK/S/C809zB057dKC8JgPHaCmlZRGZecDpj81VnSudm5eQYTi XuP+iOP47QK32Mo0Zer3x8uQcX0TZg== =GbI6 -----END PGP SIGNATURE----- --qokks3utyic7mi2g-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv