From owner-freebsd-ports@FreeBSD.ORG Mon Jun 11 19:44:04 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95654106566B for ; Mon, 11 Jun 2012 19:44:04 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 3C75A8FC08 for ; Mon, 11 Jun 2012 19:44:04 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; q=dns; s=sweb; b=kpcWyv8t404gzTFfyCcYFAOjgJwjVDSA 0uMsDgtyeOZ68YlkwRntMrYXWNR425nUsyB2vF4DGiEfodDcCZLejy++G8jt9A4B kIRVh2nQl11LDRkMXtTwPgBxLyik8/y2ivRomLX3Ua745yM/NNhD4ItIs+giHrPk MjfoxMEu+w8= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type; s=sweb; bh=SyMjrVZKZ842RwVfb5uRQZ97LPU3wwvaOCm+g/ QiBqA=; b=a9cD15xoH/1iVaJueYqEX89UFSvAGoLe+HcwMUbrMKyp06P6N4g55D PpHGLvhHd9pkeZLWN1oiCWixDIrbsR1qjIxcCJMMz4RGxQIjDVVolXIkBJr0ARMa CSHTFoDD4XM15v7GFFsQO/jv8sJCXpSOfqZ1lFHwPCxKLgNnSQXVc= Received: (qmail 61240 invoked from network); 11 Jun 2012 14:44:01 -0500 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 11 Jun 2012 14:44:01 -0500 Message-ID: <4FD64A84.4070203@shatow.net> Date: Mon, 11 Jun 2012 14:44:04 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Warren Block References: <201206020012.q520CEcf057568@hugeraid.jetcafe.org> <20120602004230.GA14487@in-addr.com> <201206040224.q542OBqk085897@hugeraid.jetcafe.org> <20120604043233.GB32597@lonesome.com> <201206040841.q548fVHa091169@hugeraid.jetcafe.org> <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> <4FD3F149.10602@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA1E74684E9D1822545371D2B" Cc: Dave Hayes , Doug Barton , FreeBSD ports list Subject: Re: Documenting 'make config' options X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2012 19:44:04 -0000 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--