Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2008 15:58:19 -0400
From:      Wesley Shields <wxs@FreeBSD.org>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: There is no way to know what port options mean (in general)
Message-ID:  <20080327195819.GB56935@atarininja.org>
In-Reply-To: <1206541372.78560.60.camel@pav.hide.vol.cz>
References:  <20080326053328.GA29448@duncan.reilly.home> <20080326093858.GA78756@eos.sc1.parodius.com> <20080326133611.GD23226@atarininja.org> <20080326141048.M53995@FreeBSD.org> <20080326141829.GE23226@atarininja.org> <1206541372.78560.60.camel@pav.hide.vol.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 26, 2008 at 03:22:52PM +0100, Pav Lucistnik wrote:
> Wesley Shields p??e v st 26. 03. 2008 v 10:18 -0400:
> 
> > Sounds to me like you are thinking of including the description in the
> > dialog.  This sounds like a good idea to me and is something I can look
> > into doing instead of my proposal.
> 
> Yes, that was my thought, it must be easily visible in the "blue
> screen", otherwise it will not be seen, most of the time.
> 
> Something which would add a three line textbox below the dialog window,
> listing a long description for the item currently under the cursor.
> 
> I can see it already! :) Can you code it?

As a first pass I've got an almost working skeleton which uses --hfile
and pulls the descriptions from OPTIONS variable (using a 4th field).

It also adds --hline "Please use ? for a detailed description" to the
dialog call.

I need to clean it up and make it handle the case where the 4th field is
not there.  I'm going on a mini-vacation in an hour but will hopefully
finish it up early next week.

It's not quite what you were expecting but I'm not sure how to make
dialog show two windows at once - admittedly I have not looked too hard
at that.

I'll post a final patch when I have it ready.

-- WXS



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