Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 19:11:43 -0700
From:      Adam Weinberger <adam@vectors.cx>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Updated dialog-based config patches
Message-ID:  <20021008021143.GG81796@vectors.cx>
In-Reply-To: <20021008004743.GA32604@xor.obsecurity.org>
References:  <20020930062804.GA50001@xor.obsecurity.org> <20021006202120.GA96047@xor.obsecurity.org> <20021008003309.GD81796@vectors.cx> <20021008004743.GA32604@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>> (10.07.2002 @ 1747 PST): Kris Kennaway said, in 1.4K: <<
> On Mon, Oct 07, 2002 at 05:33:10PM -0700, Adam Weinberger wrote:
> > what should happen for ports with long options descriptions? options
> > wherein there is something important the user must know about enabling
> > that option. once the description for an option gets long, dialog borks
> > and starts clipping text and buttons.
> 
> Perhaps add in a "(see Makefile)" or "(see 'make confighelp')" or
> similar for those cases.  Unfortunately dialog is too limited to
> support multi-line checkbox descriptions.

to stop the sky from caving in, perhaps if the description string is
beyond a certain length, truncate it. and maybe add "..." to the end.

also, it might be nice to automate a "Information about What You Just
Selected" dialog box that can follow the options dialog. something like:
OPTIONWARNINGS='WITH_FOO "Enabling foo will make your computer run \
	faster, but may cause your toaster to explode", \
	WITHOUT_BAK "BAK is no longer your friend'
and then if $1 is true, pop up a dialog msgbox. or string together all
the warnings and put it in one big box. having the ability to give
information about a certain option's usage is really nice, and as long
as users are already making config choices manually, popping up another
box at the same time wouldn't be much more obtrusive, and a lot more
people would read it.

> Do you mean the following?
> 
> OPTIONS_FMT?=--checklist \"Options for ${PORTNAME} ${PORTVERSION}\" 21 70 15 

yeah, that's what i was thinking. ::)

-Adam


--
"Oh good, my dog found the chainsaw."
        -Lilo, "Lilo & Stitch"
Adam Weinberger
adam@vectors.cx


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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