From owner-cvs-all Sun Jan 10 06:30:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25601 for cvs-all-outgoing; Sun, 10 Jan 1999 06:30:20 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25594 for ; Sun, 10 Jan 1999 06:30:16 -0800 (PST) (envelope-from nik@nothing-going-on.demon.co.uk) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.8.8/8.8.8) id NAA05300; Sun, 10 Jan 1999 13:25:08 GMT (envelope-from nik) Date: Sun, 10 Jan 1999 13:25:07 +0000 From: Nik Clayton To: Dag-Erling Smorgrav Cc: committers@FreeBSD.ORG Subject: Re: sysctl descriptions Message-ID: <19990110132507.A24731@catkin.nothing-going-on.org> References: <86u2y0btan.fsf@niobe.ewox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <86u2y0btan.fsf@niobe.ewox.org>; from Dag-Erling Smorgrav on Sat, Jan 09, 1999 at 12:05:20PM +0100 Organization: Nik at home, where there's nothing going on Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Sat, Jan 09, 1999 at 12:05:20PM +0100, Dag-Erling Smorgrav wrote: > The attached patches implement a mechanism for retrieving a sysctl's > description. I haven't tested the patches yet, but they compile > cleanly against a fairly recent (couple of hours old) -current. [...] With my Doc. Proj. hat on, I'm opposed. While on the face of it this is a great idea, it doesn't address support for different languages. While I realise this isn't important for a lot of people, over on -doc we're starting to get more and more people popping in and saying "Hi, I'd like to help with translation and localisation". Japanese, Spanish, Italian, French, German, Korean. . . I do think that in order to ensure the information is kept up to date the documentation strings *must* be kept close to the code they document. But actually keeping those strings in the kernel isn't necessary. Building a kernel could also update /usr/share/doc/sysctl/_KERNELNAME_/_LANGCODE_/* with the information, and sysctl(8) could be patched to read from these files instead. Where _KERNELNAME_ is your current kernel name (different kernels might have different sysctls enabled) and _LANGCODE_ is 'en', 'ja', 'de' and so on. Or perhaps this would automatically update sysctl(3) instead? N -- subterra superque womblia liber To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message