Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 14:44:04 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        Warren Block <wblock@wonkity.com>
Cc:        Dave Hayes <dave@jetcafe.org>, Doug Barton <dougb@freebsd.org>, FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: Documenting 'make config' options
Message-ID:  <4FD64A84.4070203@shatow.net>
In-Reply-To: <alpine.BSF.2.00.1206111256520.84255@wonkity.com>
References:  <CAOgwaMvsv3e1TxDauV038Pp7LRiYeH7oAODE%2Bw-pxHt9oGrXMA@mail.gmail.com> <201206020012.q520CEcf057568@hugeraid.jetcafe.org> <20120602004230.GA14487@in-addr.com> <201206040224.q542OBqk085897@hugeraid.jetcafe.org> <20120604043233.GB32597@lonesome.com> <201206040841.q548fVHa091169@hugeraid.jetcafe.org> <CADLo83-9jE1zAtdXrA78=K5AE7yR4UsMh=efeC5L4kXijaDFaQ@mail.gmail.com> <201206041841.q54IfUow001060@hugeraid.jetcafe.org> <20120604191343.GF10783@isuckatdomains.isuckatdomains.net> <201206041932.q54JWONA001600@hugeraid.jetcafe.org> <4FCDA15C.2000700@digsys.bg> <201206061859.q56IxvLx045828@hugeraid.jetcafe.org> <4FCFC846.5050508@FreeBSD.org> <201206070527.q575R1sX052893@hugeraid.jetcafe.org> <4FD37B40.2030500@FreeBSD.org> <alpine.BSF.2.00.1206091850110.71605@wonkity.com> <4FD3F149.10602@FreeBSD.org> <alpine.BSF.2.00.1206091902210.71605@wonkity.com> <alpine.BSF.2.00.1206092238420.72835@wonkity.com> <alpine.BSF.2.00.1206111256520.84255@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA1E74684E9D1822545371D2B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 6/11/2012 2:03 PM, Warren Block wrote:
> On Sat, 9 Jun 2012, Warren Block wrote:
>=20
>>>> That's a nice idea, how do you make it work with dialog?
>>>
>>> No idea, this is still the design phase. :)  Actually, a message I
>>> now can't find suggested that dialog may be able to do it unchanged.
>>
>> Followup:
>>
>> dialog --item-help \
>>  --checklist "Contrived options description example" 21 70 15 \
>>  "ABC" "Enable ABC encapsulation of convoluted insoluble    ..." "on" =
\
>>  "variations when the complementary quantum reversal feature is
>> undesirable" \
>>  "DOCS" "Build and install documentation" "on" "" \
>>  "XYZ" "Enabling XYZ sets compiler go-fast stripes, defeats ...," "off=
" \
>>  "all safeguards, and begins a wholesale, awesome, breathtaking data
>> mangling" \
>>  "NLS" "Native Language Support via gettext utilities" "on" ""
>=20
> Here is a patch to do it.
>=20
> To use, apply patch.  Pick a port and edit the option descriptions to b=
e
> longer than 49 characters.  Then run 'make config'.
>=20
> Notes:
>=20
> This patch only does descriptions for the plain options right now.
> Changes to the multi and single options would be the same thing.  (Not
> done because I'm hoping someone better at make(1) will have cleaner
> methods.)
>=20
> There's a cosmetic problem.  The last description line at the bottom of=

> the screen remains after dialog exits.  I have not found a way to clear=

> it in dialog.
>=20

Cool idea.

FYI --item-help is not supported on 8.3 and earlier so a OSVERSION check
is probably needed.

--=20
Regards,
Bryan Drewery


--------------enigA1E74684E9D1822545371D2B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJP1kqIAAoJEG54KsA8mwz5GkQP+QHXCiFhxynzOPhlxVmu/gs8
Cw3VbQo9E5TL4O989oqCVzcUOJ7TaRfYBDSCS8IG1i4wfRLuxzvLk/Xa3TDOt+Cg
P+Z/qLuxRUk1fM833i0Pz2tryk0nwMADIbasqLeGESUWLAX363ob7Xb2v9O95BeO
q1jSWM18ORAhzQRYkNQhnlpoAEJQY8YFrqbELSmA90z0VdNKQHi/r3bEAEOJX+Gi
AXk6F+tszDb3ZotsrrRMd4Bx2sHDvYvCyshsXNlyAOagBX4Ei/OtHLzI5zExJcv7
WOa4Wq7pRF4J/GEepmbhL1XAT5TqCTkE7PQzjVWgPpgk3WyvoqwQVIBaQbhZPAXp
gK7MroumC2+yRBj7aaKdC34RgkW4U/CpW0uFc7HsD4uaGzwyqDwEEJXrc7z8Elpc
+dwBVfRA+/FXnPIUgGPFUySwGZCSS/8LnJyP4c7fKr50gciCrt1m+dVDeCwDIsvD
AHBSni69+9vJBP4qUzAhN10vgFfNp208Xy0t60D7IwOdT/ghXgRt3i9hbItrZhn8
3JtXCGVclh16RfseacjBK8i2WCMFOwmIv/AJ3sUiw/JFdB7NhvAW3QmOZaYp05Am
6xYWs7sohXd8wevPU6WtFtVAw3y7Ws1Qestk1FV/VL8QRZ/9fR3EtPwWPF98Xusv
9ZMk3d65sLd0mJSVJsWp
=JrUm
-----END PGP SIGNATURE-----

--------------enigA1E74684E9D1822545371D2B--



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