OPTIONS

David DEMELIER demelier.david at gmail.com
Sun Oct 3 10:48:42 UTC 2010


2010/10/3 Dominic Fandrey <kamikaze at bsdforen.de>:
> On 03/10/2010 12:29, David DEMELIER wrote:
>> 2010/10/3 Dominic Fandrey <kamikaze at bsdforen.de>:
>>> On 03/10/2010 11:45, David DEMELIER wrote:
>>>> 2010/10/3 Matthew Seaman <m.seaman at infracaninophile.co.uk>:
>>>> I don't want something complex, checkbox, textbox, radiobuttons is enough.
>>>
>>> Textbox is _very_ complex. Think of all the code you'd have to
>>> add to ports to check what was entered by the user.
>>> At the very least you have to verify that whatever was provided
>>> is valid. For the feature not to become annoying you'd have to
>>> be a lot more fuzzy and complex, though.
>>>
>>
>> What do you mean by valid? In the way that the user can't insert any
>> no alpha-numeric characters or an entry that is only valid to the
>> application ?
>>
>
> Text fields are arbitrary and you'd probably want to limit it to
> a specific purpose, like a list of languages.
>
> So is de_* an acceptable language? Do you delimit with space, pipe
> or semicolon? Do people really want to be bothered with learning
> the specific syntax of your ports text input fields?
>

In the openoffice ports you have LOCALIZED_LANG knob, I needed to
check which kind of delimiters was needed and it's a space, so delimit
by space is enough.

-- 
Demelier David


More information about the freebsd-ports mailing list