From owner-freebsd-ports@FreeBSD.ORG Tue Oct 5 18:34:54 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B28910657D2 for ; Tue, 5 Oct 2010 18:34:54 +0000 (UTC) (envelope-from obrien@NUXI.org) Received: from dragon.nuxi.org (trang.nuxi.org [74.95.12.85]) by mx1.freebsd.org (Postfix) with ESMTP id F220A8FC33 for ; Tue, 5 Oct 2010 18:34:53 +0000 (UTC) Received: from dragon.nuxi.org (obrien@localhost [127.0.0.1]) by dragon.nuxi.org (8.14.4/8.14.4) with ESMTP id o95IYrvQ020933; Tue, 5 Oct 2010 11:34:53 -0700 (PDT) (envelope-from obrien@dragon.nuxi.org) Received: (from obrien@localhost) by dragon.nuxi.org (8.14.4/8.14.4/Submit) id o95IYq2h020932; Tue, 5 Oct 2010 11:34:52 -0700 (PDT) (envelope-from obrien) Date: Tue, 5 Oct 2010 11:34:52 -0700 From: "David O'Brien" To: David DEMELIER Message-ID: <20101005183452.GF7829@dragon.NUXI.org> References: <4C93AA31.5080202@DataIX.net> <20100918223933.GB85995@dragon.NUXI.org> <20101002002605.GA8018@dragon.NUXI.org> <4CA844E5.7060303@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 9.0-CURRENT X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? User-Agent: Mutt/1.5.16 (2007-06-09) Cc: FreeBSD Ports Subject: Re: OPTIONS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2010 18:34:54 -0000 On Sun, Oct 03, 2010 at 11:45:01AM +0200, David DEMELIER wrote: > 2010/10/3 Matthew Seaman : > > On 03/10/2010 09:22:46, David DEMELIER wrote: > >> I agree. As I said in 4, OPTIONS should follow the defined knob in > >> make.conf. But for not boolean knobs there is something we can also > >> do, spawn a little textbox to define an option with a string. > >> [X] WITH_X foo bar > >> [ ] WITH_Y foo bar baz > >> [fr_FR en_GB] LANGS to be build > >> > >> Here pressing enter on LANGS would spawn a little textbox that can be > >> fulfilled by the user. The little problem is how to tell to OPTIONS > >> that it's not a boolean entry. > > > > And the rest?  Pursuing this idea through to its logical conclusion, > > you'ld end up implementing radio buttons, text entry boxes, drop down > > lists -- all the normal bits used in html forms. > > Don't you like this? sysinstall was made with dialog. And folks hate that. jkh wanted to move the TurboC text-GUI library, but we never did. Accelerators are one of the things that dialog seems to not handle very well. In fact our OPTIONS suggest they are supported, but hitting "N" when building ports/misc/mc-light does not deselect NLS. > > In fact, you might just as well write a small HTML form, display it > > using lynx or w3c or some other text mode browser[*], and then have the > > form action feed into a CGI program that outputs a small Makefile with > > appropriate variable definitions in it. I like this statement -- as it shows just how complex this will get when taken to its natural conclusion. -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? Let's not play "Jeopardy-style quoting"