Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2012 13:20:04 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Dave Hayes <dave@jetcafe.org>, FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: Documenting 'make config' options
Message-ID:  <alpine.BSF.2.00.1206111317380.84255@wonkity.com>
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
On Mon, 11 Jun 2012, Warren Block wrote:

> Here is a patch to do it.
>
> To use, apply patch.  Pick a port and edit the option descriptions to be 
> longer than 49 characters.  Then run 'make config'.
>
> Notes:
>
> 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.)
>
> 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.

And another note: VIS_WIDTH is set to 49 because that is the size 
available for a description on a standard 80x24 terminal (less one 
column for a "+" indicator).  But it can be dynamically determined with 
dialog --print-maxsize.



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