From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 03:33:50 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 375191065670 for ; Mon, 8 Nov 2010 03:33:50 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id AEE498FC0C for ; Mon, 8 Nov 2010 03:33:49 +0000 (UTC) Received: by qyk7 with SMTP id 7so4363061qyk.13 for ; Sun, 07 Nov 2010 19:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=oLvhhpjX1/io+6Qa4k+IZy3yqwKmx+zBgu0p0lw2tg8=; b=hNwmRM8aCJeJdqHOSTEJjAcJaGWOhUdG6GV6Lkr2rdZ7Y+dMtZMvdqyHcXUYrgrXvW rqwAnZuh8v00bunNr9I8GroLUCq4m2GXatw++vfjFzwqwKGcOSyGcI0k/cn57noitkJM lowcaCkNDydALfmDUAnunIYN8T1kbggVT+jr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Q80vgL2EIr0xIIBE5gp4Vu8BMTfulQgJX2vzuxdei76h8VvmM/FwiY0ssx2xzj2XLL RFAi66uMgkGaMZkoqk4sfWpkrRt+tX3hJ3HbKdVM1ruIKMg3lMhl0I27dMm/JA60Hv/+ sWX/VpWMlzLh9u4seocccK5TumoQxooOCCu4w= MIME-Version: 1.0 Received: by 10.224.137.147 with SMTP id w19mr3543214qat.371.1289187228775; Sun, 07 Nov 2010 19:33:48 -0800 (PST) Sender: sektie@gmail.com Received: by 10.220.10.208 with HTTP; Sun, 7 Nov 2010 19:33:48 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> Date: Sun, 7 Nov 2010 19:33:48 -0800 X-Google-Sender-Auth: AyNs8beFdfWT5YXKMo3G6cQpw2w Message-ID: From: Randi Harper To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: babt@freebsd.org, Mark Linimon , Doug Barton , pav@freebsd.org, freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 03:33:50 -0000 Top-posting (sorry) and adding sysinstall@ since I know a few people there would be very interested in such a project. +1. Please, please, please. Yes. >From what I understand - and someone please correct me if I'm wrong - ports and sysinstall are the only tools I know of in base that make all that much use of libdialog. There are bugs in libdialog (and brucec@ probably has more info on this than me) that need fixing. If someone was willing to work on a new libdialog and fix these bugs, I'd be willing to work on updating sysinstall's dialog calls with any necessary changes. I have no special requests as far as things I'd like to see added other than a less confusing way of navigation. I've run into a lot of new users that are all "When do I hit tab? Why do I have to hit space? Why doesn't this work the way I expect?" and I have no good answers for them. libdialog blows goats. -- randi On Fri, Nov 5, 2010 at 3:01 PM, Eitan Adler wrote: > adding randi@ - might be interested in some of what I have to say > below re a bsdl libdialog. > > On Fri, Nov 5, 2010 at 3:51 PM, Doug Barton wrote: > > ... >> >> As I told you last night on IRC I like the idea. Here is a more detailed >> list of reasons: >> >> 1. Replace dialog with something bsdl, and more importantly more >> feature-full. You might also cast your sights on making the code flexibl= e >> enough to help with sysinstall, talk to Randi about that if you're >> interested. > > I willing to license this under the most most free license available > to me. I believe that ncurses is MITL and I'm willing to use that (or > the BSDL 2 clause if legally allowed). > > Regarding replacing dialog and libdialog. I am interested on working > on such a project, perhaps as a GSOC of code project. However my > present goal is only replace dialog's use in ports - and the > flexibility that a new dialog would require more time than I have at > this point. It would also require a complete rewrite of the API used > to call it. > > Furthermore I'd probably use the forms library instead of the menu > library for a dialog replacement. > >> >> 2. The current OPTIONS framework is as good as can be expected given the >> limitations of dialog and mk, but we need better. >> >> One feature we definitely need is the ability to make defaults in the po= rt's >> Makefile "hard" and "soft." A soft default would be the default as speci= fied >> in the Makefile unless the user has a different default in their environ= ment >> (shell env, /etc/make.conf, etc.). > > This is doable using my system. Because it only inherits defaults from > the environment the "soft" default would just be the Makefile setting > options first and /etc/make.conf getting set last. I believe this is > the way things work now. > > > A "hard" default is a concept that we've discussed in the past where a > given port/set of ports needs a feature that is otherwise optional. > For example port foo has a requirement for feature bar. Port baz is > something that can stand alone, but in this case is also a dependency > for foo, and has bar as an option. When the user gets to the option > screen for baz the option for bar should be in selected+grayed out >> mode, preferably with an explanation (required by foo). > > This is interesting - but requires more information than the ports > system has now. I can easily add some code that would grey out and > auto select options marked with an "!" as the option type. However > since this is called from each individual port's folder that > information would already have to be in the environment. > > In addition to >> flexibility in the tools for the screen (like radio buttons, which you h= ave) > > Small note: they are not actually radio buttons - but a menu that > makes mutually exclusive options unselectable - same idea though. > > >> In regards to your idea to allow a "user input" field, while reasonable >> minds can differ con that topic I'm not convinced of its utility. I thin= k >> that such a feature would lead to a lot of user frustration when they >> provide reasonable-seeming strings that the port maintainer did not >> anticipate. I am however willing to be convinced that I'm wrong on this >> point. > > I generally agree with you. This feature is meant for two situations > a) A user selected name, default value, file location, username, etc > b) =A0LOCALIZED_LANG as used by OpenOffice.org > >> As for the code, you might want to consider the idea of making the worki= ng >> parts a shared library and the application itself just a stub (ala libfe= tch, >> libarchive, etc.) That would make the code itself more generally useful = for >> other things like sysinstall, etc. > > Agreed. As I mentioned above I would not be against doing such a > project - perhaps a GSOC project. As of now the code is very ports > specific and can not be easily turned into a library. > > >> >> As for _running_ the code, I'm having issues. :) =A0On recent -current r= unning >> gnome I get: >> >> ./foo.sh: line 7: 13210 Bus error: 10 =A0 =A0 =A0 =A0 =A0 (core dumped) > > bapt@ also reported that he was unable to run it on -current. I have > no clue why. Valgrind offers no clues to me (although I admit I do not > know how to use it very well) > > If you could offer any more information to determine what line is > actually failing - that would be very useful. > >> >> Finally as for your question about direction, I think this is definitely >> something that should be adopted when it's mature. FWIW I also think it'= s >> something that should be a port itself, since that will allow us maximum >> flexibility in updating the code. Of course, my prejudice on that topic >> should be well known by now. :) > > I agree with you that port tools should be part of ports for what that > is worth :-) > However as of now I don't see that changing and this code will likely > need approval to be imported into the base system. > > > > -- > Eitan Adler > From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 08:21:19 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 457F6106566B; Mon, 8 Nov 2010 08:21:19 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id D2D5D8FC15; Mon, 8 Nov 2010 08:21:18 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 30C85E7208; Mon, 8 Nov 2010 08:21:18 +0000 (GMT) Received: from unknown (client-82-26-212-122.pete.adsl.virginmedia.com [82.26.212.122]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Mon, 8 Nov 2010 08:21:17 +0000 (GMT) Date: Mon, 8 Nov 2010 08:21:14 +0000 From: Bruce Cran To: Randi Harper Message-ID: <20101108082114.00002050@unknown> In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: babt@freebsd.org, Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 08:21:19 -0000 On Sun, 7 Nov 2010 19:33:48 -0800 Randi Harper wrote: > >From what I understand - and someone please correct me if I'm wrong - > ports and sysinstall are the only tools I know of in base that make > all that much use of libdialog. There are bugs in libdialog (and > brucec@ probably has more info on this than me) that need fixing. If > someone was willing to work on a new libdialog and fix these bugs, I'd > be willing to work on updating sysinstall's dialog calls with any > necessary changes. There are lots of bugs in libdialog and I agree that a BSD licensed replacement would be a good thing but there's already a newer version of libdialog waiting for us to import - and it's still being actively developed. http://invisible-island.net/dialog/CHANGES shows how many changes have been made since we imported it 15 years ago. -- Bruce Cran From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 08:50:03 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E27801065693; Mon, 8 Nov 2010 08:50:02 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 86AF18FC08; Mon, 8 Nov 2010 08:50:02 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id CE2AFE7211; Mon, 8 Nov 2010 08:50:01 +0000 (GMT) Received: from unknown (client-82-26-212-122.pete.adsl.virginmedia.com [82.26.212.122]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Mon, 8 Nov 2010 08:50:01 +0000 (GMT) Date: Mon, 8 Nov 2010 08:49:58 +0000 From: Bruce Cran To: Randi Harper Message-ID: <20101108084958.000042be@unknown> In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bapt@freebsd.org, Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 08:50:03 -0000 On Sun, 7 Nov 2010 19:33:48 -0800 Randi Harper wrote: > I have no special requests as far as things I'd like to see added > other than a less confusing way of navigation. I've run into a lot of > new users that are all "When do I hit tab? Why do I have to hit space? > Why doesn't this work the way I expect?" and I have no good answers > for them. libdialog blows goats. libdialog from 1995 blows goats; libdialog from 2010 doesn't, at least not so much. They've changed the way checkboxes work for example so that hitting Enter always commits changes (i.e. presses OK/Cancel) and pressing Space changes whether or not an option is checked. -- Bruce Cran From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 09:57:15 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1364B106564A; Mon, 8 Nov 2010 09:57:15 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 703818FC14; Mon, 8 Nov 2010 09:57:14 +0000 (UTC) Received: by wwb28 with SMTP id 28so1610931wwb.31 for ; Mon, 08 Nov 2010 01:57:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=YyXRGAc13r9ZkeYGoynwb2HmaOsNiGL0VqJLdk20IFo=; b=MyBHbBn7lsx4VIwykBhtVOFvohuErMIbw7vuo0G/xQspt6Bv/GLgC3QE+ZzEh/29MN H40UjEkspGACpFxvZSSlzG1bD9G06DvR4HaXDtJp4V9TjQ73rUK8B8Bp4rpwQeQYuDYc h7Die7yvWoM4wHXDVbDE7jDZxxAGtO8UDx448= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Ma6M6QtmUUzk5PMpOkftp8yw+JeyqqOVePyLJjE1macc11oXB8Rdm+OYLJdRTEq9tA VZE6lzPXpyxyjO5PQk69KCz0INsksARZ910hICTfUbqT1Y0cKmpjVa5MPwjtvvWiw/T6 xG38LyeQntlKbsM2iu6kjR8K4vM1JEDzNDoYw= MIME-Version: 1.0 Received: by 10.216.175.18 with SMTP id y18mr5156673wel.30.1289208892264; Mon, 08 Nov 2010 01:34:52 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Mon, 8 Nov 2010 01:34:52 -0800 (PST) In-Reply-To: <20101108084958.000042be@unknown> References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 01:34:52 -0800 X-Google-Sender-Auth: xu3Im8z1jbsZ0RBiD4Vnt6jNFFw Message-ID: From: Garrett Cooper To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: bapt@freebsd.org, Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 09:57:15 -0000 On Mon, Nov 8, 2010 at 12:49 AM, Bruce Cran wrote: > On Sun, 7 Nov 2010 19:33:48 -0800 > Randi Harper wrote: > >> I have no special requests as far as things I'd like to see added >> other than a less confusing way of navigation. I've run into a lot of >> new users that are all "When do I hit tab? Why do I have to hit space? >> Why doesn't this work the way I expect?" and I have no good answers >> for them. libdialog blows goats. > > libdialog from 1995 blows goats; libdialog from 2010 doesn't, at least > not so much. They've changed the way checkboxes work for example so > that hitting Enter always commits changes (i.e. presses OK/Cancel) and > pressing Space changes whether or not an option is checked. I agree with Bruce; I'd put more emphasis behind importing a later libdialog than rewriting libdialog from scratch in BSDL. Given that almost zero people have developed or bugfixed libdialog, unless someone is willing to maintain it for the next 20 or so years, I'd just fallback to a secondary source. Thanks, -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 10:43:17 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88EC01065670; Mon, 8 Nov 2010 10:43:17 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E13778FC16; Mon, 8 Nov 2010 10:43:16 +0000 (UTC) Received: by gxk9 with SMTP id 9so3361111gxk.13 for ; Mon, 08 Nov 2010 02:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=hegM2IJGkDhk5ld2kikgHBeHooLjbJPt5tTekM5Pb24=; b=de/ZGldAvOkLsewQad0fY3ThIQbsogh3SS0hERHyyKvAzVUy2hXbIa30CtzJl++XR/ Hhq4DkL0LobYXYHPGhubx9mzJ7IwXCqfV8JBs/qIeiWK/c5dXXs3z3gDJ9RyxTGTeU4Q ucuEwT+Q4UUZiQooy8ET0AY3lQ3Lr/UwUpXhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=VYu5gSNp26Z61Pk+Y2VPxRoV2YQVvU7RCAQmsypHnHQl4xAuFar5EAeg0jyZ7tF/gE DoV2KJRb2sq/tXm4fb9t8lF16jR9FvtkzYK6A6PbjXw42Qd0g1GAFtEqwEQXG3GQUlEE TKxZzq/xaQXA4I4StCRdXWHcXYcV4sYBQIMQg= MIME-Version: 1.0 Received: by 10.42.180.131 with SMTP id bu3mr3610800icb.129.1289211482211; Mon, 08 Nov 2010 02:18:02 -0800 (PST) Sender: baptiste.daroussin@gmail.com Received: by 10.231.69.212 with HTTP; Mon, 8 Nov 2010 02:18:02 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 11:18:02 +0100 X-Google-Sender-Auth: kFzpLpfxrw2ky6mHABfTGjYlVIs Message-ID: From: Baptiste Daroussin To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 10:43:17 -0000 Hi, the problem with libdialog, is that it doesn't have features we need for the ports infrastructure. With libdialog it is not possible to mix radio button and "normal" button and for the options framework we need the be able to get the following feature imho: simple options: check box exclusive options: radio button exclusive options if a simple option is check (for example option X11 allow to choose between the following options QT3 QT4 GTK etc) group options: a user can check choose between 0-N options (check box) if a other options is activated example a port can be build with 2 or more gui toolkit at the same time: avidemux for example group options with at least one options checked (1-N). As far as I've looked into libdialog it is nearly impossible to handle in a simple (I may be wrong and missed some part of libdialog) Other choices will be : 1/ create a ncurses tool dedicated for the ports as Eitan began to do it (thanks for that :)) (this is my favorite choice) 2/ there is libndialog which BSDL unfortunately 4 clause BSDL (may be the author will accept to change it to a 3 or 2 clause BSDL), which is very closed to libdialog and allow to write easily more complexe ui. So that we could rewrite a dialog compatible tool extended with more complexe UI dedicated to the ports (similat to Eitan work). (http://www.pell.portland.or.us/~orc/Code/ndialog/dialog.html, https://github.com/Orc/ndialog) the latest version from github compiles fine on freebsd, the work to port sysinstall and sade to libndialog is pretty easy, if this is direction we take, I can manage porting all the tools that depend on libdialog in base to ndialog. regards, Bapt From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:07:06 2010 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCBDE10656FF for ; Mon, 8 Nov 2010 11:07:06 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C05E08FC2B for ; Mon, 8 Nov 2010 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8B76xo088227 for ; Mon, 8 Nov 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8B767q088225 for freebsd-sysinstall@FreeBSD.org; Mon, 8 Nov 2010 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Nov 2010 11:07:06 GMT Message-Id: <201011081107.oA8B767q088225@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:07:07 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/151229 sysinstall sysinstall(8) - shift-tab doesn't work as expected o bin/150995 sysinstall sysinstall(8): corruption of partition table s bin/150237 sysinstall sysinstall(8): Suggestion: installer should suggest th o bin/148350 sysinstall [patch] sysinstall(8) does not set "ntpdate chosen ser f bin/148220 sysinstall sysinstall(8): 9.0-current gets "Cannot resolv hostnam o bin/148201 sysinstall sysinstall(8): core dump (Error 10) while trying to in f bin/148143 sysinstall sysinstall(8) 8.1-RC1 segfault o bin/146299 sysinstall sysinstall(8): cannot create slice o bin/145735 sysinstall sysinstall(8) trashes Vista-created partition tables o bin/142960 sysinstall [patch] sysinstall(8) comparison of cdrom.inf CD_VERSI o bin/142867 sysinstall sysinstall(8): in a custom installation re-entering th o bin/140843 sysinstall sysinstall(8): cannot software install from usb o bin/140842 sysinstall sysinstall(8): destroyed ncurses interface with FBSD8. o bin/138423 sysinstall sysinstall(8): Installer (and sade) get wrong number o o bin/137864 sysinstall [patch] sysinstall(8): add possibility to shutdown/pow o bin/137713 sysinstall sysinstall(8): installer partition editor generates in f bin/136161 sysinstall sysinstall(8) installs wrong architecture on amd64 o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar s bin/123304 sysinstall sysinstall(8): missing sensible and user friendly prog o bin/121503 sysinstall sysinstall(8): 7.0 upgrade doesn't let me mount all of o bin/119077 sysinstall [patch] sysinstall(8) - reading packages from index is o bin/113979 sysinstall [patch] sysinstall(8) does not support UFS1 filesystem o bin/112757 sysinstall sysinstall(8): sysinstall(8): in the FDISK tool we can o bin/108191 sysinstall sysinstall(8): Disklabel editor help text (by F1 key) o bin/107830 sysinstall sysinstall(8): Change Units (Z) in fdisk doesn't work o bin/102498 sysinstall sysinstall(8): Cursor doesn't track sysinstall hilight a bin/101762 sysinstall sysinstall(8) does not obey /usr/ports symlink while i o bin/97108 sysinstall sysinstall(8): write failure on transfer (wrote -1 byt o bin/93275 sysinstall sysinstall(8): Failure to install after restarting ins o bin/90656 sysinstall sysinstall(8): 6.0-RELEASE (i386) cannot be installed o bin/80371 sysinstall cannot install 5.4-RC3 from DOS partition o bin/79840 sysinstall sysinstall(8): Partitioning and formating a new disk f o bin/79621 sysinstall sysinstall(8): sysinstall(8) does not create a device o bin/78964 sysinstall sysinstall(8): can not write labels to hdd on installa f bin/73511 sysinstall sysinstall(8): SCSI drive install failure - RC2 o bin/73410 sysinstall sysinstall(8): Sysinstall could not allocate disklabel o bin/70002 sysinstall sysinstall(8): fails to locate FTP dirs if the OS has o bin/69986 sysinstall sysinstall(8): [patch] no job control in fixit shell o o bin/69942 sysinstall sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69723 sysinstall sysinstall(8): [request] allow to continue from packag o bin/62702 sysinstall sysinstall(8): backup of /etc and /root during sysinst o alpha/61940 sysinstall sysinstall(8): Can't disklabel new disk from FreeBSD/a o bin/61890 sysinstall sysinstall(8): fdisk(8) uses incorrect calculations fo o bin/60632 sysinstall sysinstall(8): UI bug in partition label screen in sys o bin/59708 sysinstall sysinstall(8): [patch] add sSMTP support for Mail sele o bin/53341 sysinstall sysinstall(8): [patch] dump frequency in sysinstall is o bin/46905 sysinstall sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/41949 sysinstall sysinstall(8): sysinstall sorts /etc/rc.conf during ne o bin/41850 sysinstall sysinstall(8): sysinstall fails to create root filesys f bin/40260 sysinstall sysinstall(8): hang when detecting devices (No CD/DVD s conf/39580 sysinstall sysinstall(8): [request] more secure mount options o bin/38056 sysinstall sysinstall(8): User (creation)'s "Member groups" item a bin/32375 sysinstall sysinstall(8): sysinstall doesn't respect User generat s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 54 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:08:12 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5088D10656C3; Mon, 8 Nov 2010 11:08:12 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 33FC88FC08; Mon, 8 Nov 2010 11:08:10 +0000 (UTC) Received: by wyb34 with SMTP id 34so3278960wyb.13 for ; Mon, 08 Nov 2010 03:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=YIa6OtQeVlnAVrNbVPIRxVOfNow5nXVtm+Glhs4coAI=; b=IH6YVD914supv+cUwzj3djr+IuoLjW0iSmZmHl/Ker0D1Fth6YDu6rKEtxqEA7nOTi Hjr+9zxNT8wlHOLaDRh2tRd+AOvytCgMk7ktFl3yI5/aDuoQ0E9SUCgdclCnnkLUfD8Y yxkDmCWznVksuKlDGpfI552GfiJ1cYOlJJbiA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pwYhLDCTUSVGLrlcqyQGtRHwFQ6iLTEv5yRnm/ncxbS7Uz/NihWUf5Pg1oIY0n2A1S BNCIyMviUA2XQmUK10oVhyFZpLCAN/7ARi3lwUKbnFw3DugDiMhFAUbYQlZB6XciZuj4 1eB3J01tVITMsrZYswF4rca4v8pBkFVMjscwo= MIME-Version: 1.0 Received: by 10.216.46.200 with SMTP id r50mr4139832web.45.1289214489054; Mon, 08 Nov 2010 03:08:09 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Mon, 8 Nov 2010 03:08:08 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 03:08:08 -0800 X-Google-Sender-Auth: AKv_OOsilHyOeHJ1KYM_2mpuAPI Message-ID: From: Garrett Cooper To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:08:12 -0000 On Mon, Nov 8, 2010 at 2:18 AM, Baptiste Daroussin wrote: > Hi, > > the problem with libdialog, is that it doesn't have features we need > for the ports infrastructure. > > With libdialog it is not possible to mix radio button and "normal" > button and for the options framework we need the be able to get the > following feature imho: > > simple options: check box > exclusive options: radio button > exclusive options if a simple option is check (for example option X11 > allow to choose between the following options QT3 QT4 GTK etc) > group options: a user can check choose between 0-N options (check box) > if a other options is activated example a port can be build with 2 or > more gui toolkit at the same time: avidemux for example > group options with at least one options checked (1-N). > > As far as I've looked into libdialog it is nearly impossible to handle > in a simple (I may be wrong and missed some part of libdialog) > > Other choices will be : > 1/ create a ncurses tool dedicated for the ports as Eitan began to do > it (thanks for that :)) (this is my favorite choice) > 2/ there is libndialog which BSDL unfortunately 4 clause BSDL (may be > the author will accept to change it to a 3 or 2 clause BSDL), which is > very closed to libdialog and allow to write easily more complexe ui. > So that we could rewrite a dialog compatible tool extended with more > complexe UI dedicated to the ports (similat to Eitan work). > (http://www.pell.portland.or.us/~orc/Code/ndialog/dialog.html, > https://github.com/Orc/ndialog) the latest version from github > compiles fine on freebsd, the work to port sysinstall and sade to > libndialog is pretty easy, if this is direction we take, I can manage > porting all the tools that depend on libdialog in base to ndialog. There's also option 3, which is: a. Use the code posted up at http://invisible-island.net/dialog/ (GPLed like our copy in base, but whatev). b. Implement the missing features there. c. Contribute back to someone who's actively working on libdialog. I'm just of the opinion that there's little value in BSD licensed libdialog to be honest *shrugs*... Thanks! -Garrett From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:08:46 2010 Return-Path: Delivered-To: sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B2311065674 for ; Mon, 8 Nov 2010 11:08:46 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E29338FC1F for ; Mon, 8 Nov 2010 11:08:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8B8jpK089647 for ; Mon, 8 Nov 2010 11:08:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8B8jmb089645 for sysinstall@FreeBSD.org; Mon, 8 Nov 2010 11:08:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Nov 2010 11:08:45 GMT Message-Id: <201011081108.oA8B8jmb089645@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:08:46 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/72895 sysinstall sysinstall(8): Sysinstall generates invalid partition 1 problem total. From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:14:45 2010 Return-Path: Delivered-To: sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83B651065694; Mon, 8 Nov 2010 11:14:45 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 593A48FC1C; Mon, 8 Nov 2010 11:14:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8BEjkR001257; Mon, 8 Nov 2010 11:14:45 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8BEjkJ001253; Mon, 8 Nov 2010 11:14:45 GMT (envelope-from brucec) Date: Mon, 8 Nov 2010 11:14:45 GMT Message-Id: <201011081114.oA8BEjkJ001253@freefall.freebsd.org> To: brucec@FreeBSD.org, sysinstall@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: bin/72895: sysinstall(8): Sysinstall generates invalid partition table X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:14:45 -0000 Synopsis: sysinstall(8): Sysinstall generates invalid partition table Responsible-Changed-From-To: sysinstall->freebsd-sysinstall Responsible-Changed-By: brucec Responsible-Changed-When: Mon Nov 8 11:14:06 UTC 2010 Responsible-Changed-Why: Assign to freebsd-sysinstall. http://www.freebsd.org/cgi/query-pr.cgi?pr=72895 From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:14:45 2010 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83B651065694; Mon, 8 Nov 2010 11:14:45 +0000 (UTC) (envelope-from brucec@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 593A48FC1C; Mon, 8 Nov 2010 11:14:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8BEjkR001257; Mon, 8 Nov 2010 11:14:45 GMT (envelope-from brucec@freefall.freebsd.org) Received: (from brucec@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8BEjkJ001253; Mon, 8 Nov 2010 11:14:45 GMT (envelope-from brucec) Date: Mon, 8 Nov 2010 11:14:45 GMT Message-Id: <201011081114.oA8BEjkJ001253@freefall.freebsd.org> To: brucec@FreeBSD.org, sysinstall@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: brucec@FreeBSD.org Cc: Subject: Re: bin/72895: sysinstall(8): Sysinstall generates invalid partition table X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:14:45 -0000 Synopsis: sysinstall(8): Sysinstall generates invalid partition table Responsible-Changed-From-To: sysinstall->freebsd-sysinstall Responsible-Changed-By: brucec Responsible-Changed-When: Mon Nov 8 11:14:06 UTC 2010 Responsible-Changed-Why: Assign to freebsd-sysinstall. http://www.freebsd.org/cgi/query-pr.cgi?pr=72895 From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 11:32:18 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8D431065673; Mon, 8 Nov 2010 11:32:18 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6C78FC13; Mon, 8 Nov 2010 11:32:18 +0000 (UTC) Received: by iwn39 with SMTP id 39so5994876iwn.13 for ; Mon, 08 Nov 2010 03:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=sG4bF4SnMVLnu3d1EhrXhKn0JCMey2hFTzJlnYhWhdw=; b=pr0Vc0JZBYMS/VnG0Pt3iQMH1ERX+VxiRFUG/cNW/U22xt2WLkmS2NdagG1COIE1U4 HFsxmtxRH4+iQyHbTJe7D4YYJdq5Qcn7uBV76Nh+mjtV05T62IaiONtDMa35f3MBXV5I IqsV3yEmMhr4uy1XTn+Em6K0UvCYqN15JDqDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=P8AqP1ukF16RBz9ZbduavFmQEt7ZhV6yu03Pj2UpvzzCIDON7tynGBgYgVwuH0JwE+ xNnCZ79IUNBLZcolx6wMKEEQFoHl8aNyMUB2lvZ2LM5feKtXVAP8s8WYjbEJ81HdBL5k /hXtVZfEsbC8leHUQ8jXaUJ8r5l8WuNWmluWk= MIME-Version: 1.0 Received: by 10.42.76.145 with SMTP id e17mr3299153ick.62.1289215937835; Mon, 08 Nov 2010 03:32:17 -0800 (PST) Sender: baptiste.daroussin@gmail.com Received: by 10.231.69.212 with HTTP; Mon, 8 Nov 2010 03:32:17 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 12:32:17 +0100 X-Google-Sender-Auth: XkHP430yM1W06CCiWhIFsOyUFCA Message-ID: From: Baptiste Daroussin To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:32:18 -0000 > =A0 =A0There's also option 3, which is: > > a. Use the code posted up at http://invisible-island.net/dialog/ > (GPLed like our copy in base, but whatev). > b. Implement the missing features there. > c. Contribute back to someone who's actively working on libdialog. > > =A0 =A0I'm just of the opinion that there's little value in BSD licensed > libdialog to be honest *shrugs*... > Thanks! > -Garrett > by the way libdialog is now LGPLv2. --- regards, Bapt From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 14:38:51 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE10B1065670; Mon, 8 Nov 2010 14:38:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3E7008FC16; Mon, 8 Nov 2010 14:38:50 +0000 (UTC) Received: by gwj16 with SMTP id 16so3530659gwj.13 for ; Mon, 08 Nov 2010 06:38:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=8POurp4wvw25lnhbBHEnar//zmzxMIoYBSY5SiwFEBE=; b=OLWF2vgkOlU6VVNpK6BagdduZxMAKryDLqeqHKpyg7ABsMStUgFbcg9ZrPKQadSEbM tdD16UrlH8uvU+6IqztcLgjoM0vuQqDezRj8EYreK7vP70TgIts6AskWZf7Q4bNTUn3x XIVrrXp+PEqKUAnnkAtrpcdtgtSD8f/UG8cuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=N00bdTmuMlGDg5i492B3wA8mydbjP7kCqzoDrj5B83G2OkyZKpRpj/j3BrcCepz3ii 78OvCjf+hMQLiOgFz0NoY10+G9FYLp7JfaNdaVwIhAvfK5NprnjwHJEU6IRGiBLoZ8dB FUdPjyLjFL0Us30uc7rtvLKakKz+ZomwWwBH8= MIME-Version: 1.0 Received: by 10.42.21.17 with SMTP id i17mr3846538icb.263.1289227130198; Mon, 08 Nov 2010 06:38:50 -0800 (PST) Sender: baptiste.daroussin@gmail.com Received: by 10.231.69.212 with HTTP; Mon, 8 Nov 2010 06:38:50 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> Date: Mon, 8 Nov 2010 15:38:50 +0100 X-Google-Sender-Auth: riw_r2Ic8785_hXLCAwdyjtuH8E Message-ID: From: Baptiste Daroussin To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Doug Barton , Eitan Adler , pav@freebsd.org, Mark Linimon , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 14:38:52 -0000 2010/11/8 Baptiste Daroussin : >> =A0 =A0There's also option 3, which is: >> >> a. Use the code posted up at http://invisible-island.net/dialog/ >> (GPLed like our copy in base, but whatev). >> b. Implement the missing features there. >> c. Contribute back to someone who's actively working on libdialog. >> >> =A0 =A0I'm just of the opinion that there's little value in BSD licensed >> libdialog to be honest *shrugs*... >> Thanks! >> -Garrett >> > > =A0by the way libdialog is now LGPLv2. > > --- > regards, > Bapt > After invetigating a few on http://invisible-island.net/dialog/ updateing it appears to be a huge work. in fact updating gnu/lib/libdialog and gnu/usr.bin/dialog is pretty easy I got the patch for that if anyone interested. but in base libdialog is also used in at least in sysinstall, sade abd tzsetup and the api of libdialog is completely different between the version we have and the version upstream. The work to ports sysinstall, sade, tzsetup etc will be quite huge. regards, Bapt From owner-freebsd-sysinstall@FreeBSD.ORG Mon Nov 8 15:40:01 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94F01065670; Mon, 8 Nov 2010 15:40:01 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8276F8FC13; Mon, 8 Nov 2010 15:40:01 +0000 (UTC) Received: by yxk30 with SMTP id 30so108424yxk.13 for ; Mon, 08 Nov 2010 07:40:00 -0800 (PST) Received: by 10.42.223.132 with SMTP id ik4mr3284347icb.163.1289229344225; Mon, 08 Nov 2010 07:15:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.143.15 with HTTP; Mon, 8 Nov 2010 07:15:24 -0800 (PST) In-Reply-To: References: <4CD4602C.2080804@FreeBSD.org> <20101108084958.000042be@unknown> From: Eitan Adler Date: Mon, 8 Nov 2010 10:15:24 -0500 Message-ID: To: Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 Cc: freebsd ports , freebsd-sysinstall@freebsd.org Subject: Re: Proposed OPTIONS replacement X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 15:40:01 -0000 If there is interest in writing a BSDL libdialog I would be interested in working on such a project for the Google Summer of Code. I'm cross posting to -ports and -sysinstall because this part of the discussion started on -sysinstall. Please keep future discussion on -ports as that is what the focus of my proposal is. ... > With libdialog it is not possible to mix radio button and "normal" > button and for the options framework we need the be able to get the > following feature imho: > > simple options: check box My program has this > exclusive options: radio button My program has this > exclusive options if a simple option is check (for example option X11 > allow to choose between the following options QT3 QT4 GTK etc) My program does has this capability yet. I'm not exactly sure how to indicate this on the command line. Perhaps some kind of --requires-other option? > group options: a user can check choose between 0-N options (check box) > if a other options is activated example a port can be build with 2 or > more gui toolkit at the same time: avidemux for example > group options with at least one options checked (1-N). My program does not yet have this capability. Perhaps a --min and a --max option for radio options? This might be a pain to implement due to the way my program handles radio options. If there is a major need for this feature I'll spend the time adding the feature. > As far as I've looked into libdialog it is nearly impossible to handle > in a simple (I may be wrong and missed some part of libdialog) I don't know libdialog very well, but I know that with dialog(1) this is impossible. > Other choices will be : > 1/ create a ncurses tool dedicated for the ports as Eitan began to do > it (thanks for that :)) (this is my favorite choice) I'm still looking for a comprehensive code review. I really want to get my program as good as possible. -- Eitan Adler From owner-freebsd-sysinstall@FreeBSD.ORG Tue Nov 9 17:12:50 2010 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BDB21065672; Tue, 9 Nov 2010 17:12:50 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id E89678FC1A; Tue, 9 Nov 2010 17:12:49 +0000 (UTC) Received: from [208.206.78.30] (port=39174 helo=dt.vicor.com) by postoffice.vicor.com with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.71) (envelope-from ) id 1PFrkU-0003hN-NT; Tue, 09 Nov 2010 09:12:49 -0800 From: Devin Teske To: Ramblewski David In-Reply-To: <7EF5DBE4C76A7B4DA655334E9F2BFD26F3C451921B@FRSPX100.fr01.awl.atosorigin.net> References: <7EF5DBE4C76A7B4DA655334E9F2BFD26F3C451921B@FRSPX100.fr01.awl.atosorigin.net> Content-Type: text/plain Organization: Vicor, Inc Date: Tue, 09 Nov 2010 09:12:46 -0800 Message-Id: <1289322766.4270.11.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-41.el4) Content-Transfer-Encoding: 7bit X-Scan-Signature: addf82e302fb7b54175bfd27340b229c X-Scan-Host: postoffice.vicor.com Cc: "freebsd-questions@freebsd.org" , freebsd-sysinstall@freebsd.org Subject: Re: Specifying "Install Root" on non interactive sysinstall X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 17:12:50 -0000 On Tue, 2010-11-09 at 10:18 +0100, Ramblewski David wrote: > Hi, > > I'm looking for a solution to jumpstart FreeBSD on an non interactive way. > The solution provided by the Handbook recommend to use sysinstall program, that's what I'm trying to do. -sysinstall@ would have been a better choice for this question. Cross-posting my reply. > The servers are using PXE boot to mount an mfsbsd filesystem, everything works as expected until now. > I manually create the slice, labels and mount the partitions on "/mnt" partition. You might just want to try adding "diskInteractive=YES" to your install.cfg file. That way, you don't have to manually partition/slice/label your disk _before_ you load the config. By setting diskInteractive, when installCommit is called, it will: a. if `disk' is not set (e.g. disk=da0) throw up a menu to select which disk you want to partition b. throw you into the FDISK partition editor c. throw you into diskabel e. ask which boot code you want to install (if any) to the MBR Just a suggestion. > Then I manually launch "sysinstall loadConfig" to install packages classes but I didn't find the way to precise an "Install Root" for /mnt whereas it works if I did it on a interactive way using the options menu. Put this into your install.cfg: # Required by distExtractAll (called indirectly by installCommit): installRoot=/mnt > Does anyone know how to solve this issue? > > Here is my install.cfg file: > ------------------ > # Turn on extra debugging. > debug=YES > > # Ok, this ought to turn off ALL prompting, don't complain to me that you > # lost a machine because you netbooted it on the same subnet as this > # box > nonInteractive=YES > noWarn=YES > tryDHCP=YES > > # My host specific data > hostname=polbsd > domainname=priv.atos.fr > > ################################ > # Which installation device to use > nfs=10.28.222.1:/opt/local/jumpstart/tftpboot/BSD/NFS > netDev=bge0 > mediaSetNFS > ################################ > > ################################ > # Select which distributions we want. > dists= base SMP manpages ports Hmmm. Must be an older release. The SMP kernel has gone missing in FreeBSD-8.x. > distSetCustom > ################################ > > # OK, everything is set. Do it! > installCommit > > shutdown > ------------------ > > > Thanks, > > David -- Cheers, Devin Teske -> CONTACT INFORMATION <- Business Solutions Consultant II FIS - fisglobal.com 510-735-5650 Mobile 510-621-2038 Office 510-621-2020 Office Fax 909-477-4578 Home/Fax devin.teske@fisglobal.com -> LEGAL DISCLAIMER <- This message contains confidential and proprietary information of the sender, and is intended only for the person(s) to whom it is addressed. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -> FUN STUFF <- -----BEGIN GEEK CODE BLOCK----- Version 3.1 GAT/CS d(+) s: a- C++(++++) UB++++$ P++(++++) L++(++++) !E--- W++ N? o? K- w O M+ V- PS+ PE Y+ PGP- t(+) 5? X+(++) R>++ tv(+) b+(++) DI+(++) D(+) G+>++ e>+ h r>++ y+ ------END GEEK CODE BLOCK------ http://www.geekcode.com/ -> END TRANSMISSION <- From owner-freebsd-sysinstall@FreeBSD.ORG Tue Nov 9 17:50:14 2010 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE54A106564A for ; Tue, 9 Nov 2010 17:50:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DCB9A8FC1F for ; Tue, 9 Nov 2010 17:50:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA9HoEmI032206 for ; Tue, 9 Nov 2010 17:50:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA9HoEui032200; Tue, 9 Nov 2010 17:50:14 GMT (envelope-from gnats) Date: Tue, 9 Nov 2010 17:50:14 GMT Message-Id: <201011091750.oA9HoEui032200@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Devin Teske Cc: Subject: Re: bin/151229: sysinstall(8) - shift-tab doesn't work as expected X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Devin Teske List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 17:50:15 -0000 The following reply was made to PR bin/151229; it has been noted by GNATS. From: Devin Teske To: bug-followup@FreeBSD.org, bruce@cran.org.uk Cc: Devin Teske Subject: Re: bin/151229: sysinstall(8) - shift-tab doesn't work as expected Date: Tue, 09 Nov 2010 09:46:59 -0800 This appears to be related to terminal emulation settings provided by /etc/termcap as cons25 works fine while everything else (xterm*, vt*, ans*) all seem to have problems. On the console (where TERM=cons25), shift+tab works as expected. Almost anywhere else -- via ssh for example where TERM=xterm -- shift +tab is not recognized/emulated so libdialog gets the leading escape character out of the sequence produced by shift+tab (ESC+[Z), and therefore it exits the menu. It should be noted that all libdialog-based programs are effected, including dialog(1), not just sysinstall(8). -- Devin Teske dteske@vicor.com