From owner-freebsd-arch Thu Feb 15 11:24:28 2001 Delivered-To: freebsd-arch@freebsd.org Received: from blizzard.sabbo.net (smtp.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id 0785C37B491; Thu, 15 Feb 2001 11:24:20 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.112]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id f1FJOHn07174; Thu, 15 Feb 2001 21:24:18 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.2/8.11.2) with ESMTP id f1FJOIm20467; Thu, 15 Feb 2001 21:24:18 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A8C2CDC.307458AE@FreeBSD.org> Date: Thu, 15 Feb 2001 21:24:12 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Ruslan Ermilov Cc: arch@FreeBSD.org Subject: Re: [Call for *quick* review] architecture-specific manpages References: <20010215211404.A44780@sunbay.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ruslan Ermilov wrote: > [Bcc'ed to -developers] > > Hi! > > The attached patch implements one nice feature of original BSD man(1), > to look into the machine-specific subdirectory, specifically: > > : As some manual pages are intended only for specific architectures, > : man searches any subdirectories, with the same name as the current > : architecture, in every directory which it searches. Machine specific > : areas are checked before general areas. The current machine type may > : be overridden by setting the environment variable MACHINE to the name > : of a specific architecture. > > This would eliminate the need to MLINK every arch-specific file to the > parent directory, and would allow us to have both architecture-specific > and generic manpages with the same name in the same section. > > Comments? Why not to use HW_MACHINE mib to get current arch, so it would just work [tm] w/o the need to define MACHINE env variable? -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message