On 6/11/2012 2:03 PM, Warren Block wrote: > On Sat, 9 Jun 2012, Warren Block wrote: > >>>> 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" "" > > 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. >
Cool idea. FYI --item-help is not supported on 8.3 and earlier so a OSVERSION check is probably needed. -- Regards, Bryan Drewery
signature.asc
Description: OpenPGP digital signature
