Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Mar 2013 16:08:15 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Marco Steinbach <coco@executive-computing.de>
Cc:        ports@FreeBSD.org
Subject:   Re: [CFT] New dialog for ports
Message-ID:  <20130317150815.GC72627@ithaqua.etoilebsd.net>
In-Reply-To: <5145D096.1010403@executive-computing.de>
References:  <20130314095529.GH53963@ithaqua.etoilebsd.net> <5145D096.1010403@executive-computing.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--WplhKdTI2c8ulnbP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 17, 2013 at 03:17:58PM +0100, Marco Steinbach wrote:
> Baptiste Daroussin wrote on 14.03.2013 10:55:
> > Hi all,
> >=20
> > Ilya A. Arkhipov wrote dialog4ports which has just been added into the =
ports
> > tree ports-mgmt/dialog4ports, this is intended to be a replacement for =
dialog(1)
> > designed specifically for the options, in particular for optionsng.
> >=20
> > It uses libdialog (recent version) and extend it with a new widget able=
 to deal
> > with both normal and radio options in the same window.
>=20
> I very much like this from the few ports I tried it with for now.
>=20
> Having UI elements in a config dialog behave like real radio groups is=20
> great, separating them from each other with horizontal lines adds=20
> greatly to readability and usabilty from where I sit.
>=20
> Being able to specifiy a descriptive text to be displayed in the heading=
=20
> of radio option groups is a very welcome feature, since that'll give me=
=20
> a chance to be more concise about what the user will get from the group.
>=20
> I think 'make showconfig' should learn to display these, also.
>=20
> Albeit being a rather small change, I quite like the use of a small 'X'=
=20
> letter for ticked options.
>=20
> > dialog4ports will live forever in ports so that it can easily be update=
d and get
> > support for new features on all supported arches at the same time.
> >=20
> > It bundles libdialog on FreeBSD versions that doesn't have a recent lib=
dialog in
> > base (read 8.x)
> >=20
> > dialog4ports also support a new feature: it has a help dialog to be abl=
e to
> > print a human readable help text if possible.
>=20
> That's also very useful.  I thought about asking for having long lines=20
> being automatically reflowed to screen width, but this would probably=20
> open a small can of worms.  Anyway, help is supposed to give hints, not=
=20
> to replace documentation, and using fmt(1) on pkg-help before submission=
=20
> is not exactly rocket science.
>=20
> > Here is a patch to the ports tree that makes it use dialog4ports by def=
ault.
> > What it does is:
> > When make config is requested and dialog4ports is not installed yet the=
 ports
> > tree will install dialog4ports first.
> >=20
> > New feature for maintainer, if a pkg-help file is found inside the port
> > directory then dialog will show to the user a help file is available et=
 propose
> > him to hint F1 or ^E to show the said help file
> >=20
> > http://people.freebsd.org/~bapt/d4p.diff
> >=20
> > Please test!
>=20
> Nice work -- much appreciated :)
>=20
> MfG CoCo
> PS: There's a typo in the message asking for the dialog4ports=20
> installation.  It reads '... installed to you want ...', but probably=20
> should read '... installed, do you want ...'.
>=20

Thanks for tests and feedback, also thanks for the typo, I ll fix before
committing.

regards,
Bapt

--WplhKdTI2c8ulnbP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlFF3F8ACgkQ8kTtMUmk6EwirwCdHPLYHkPDhUlqI9HT9jnP8Bv/
YZEAoJP6HdkYX/L2/HSkCsuRUXXmAMIy
=4NTp
-----END PGP SIGNATURE-----

--WplhKdTI2c8ulnbP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130317150815.GC72627>