OPTIONS

Dominic Fandrey kamikaze at bsdforen.de
Sun Oct 3 12:09:21 UTC 2010


On 03/10/2010 12:48, David DEMELIER wrote:
> 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.
> 

I have set LOCALIZED_LANG wrongly before. An excellent example,
why text input boxes are /very dangerous/.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 


More information about the freebsd-ports mailing list