Re: Color -- Yes/No -> Si/No / ixnay / better input routine

From: [email protected]
Date: Tue Jun 26 2001 - 15:20:44 CEST


In a message dated 6/26/01 1:58:41 AM Central Daylight Time,
[email protected] writes:

As a scheme it fails utterly on those old lunchbox computers that have orange
& black plasma displays. And it's not very useful for those users who are
colorblind. But it could be an added option of some sort, early on; "Use
color emphisis (y) or text (n) or both (b):"
 

  required() { if COLORPROMPT prompt GREEN $*
                   else if TEXTPROMPT prompt "REQUIRED" $*
                          else if COLORTEXTPROMPT prompt GREEN "REQUIRED" $*
                                 else prompt $*
                                 endif
                          endif
                   endif }
        optional() { prompt YELLOW $* }
        expert_only() { prompt RED $* }
 
        (are only examples!)
 
 
I'm not too worried about any flavor of Linux being called effeminate;
somewhere in the lwn.net Tux collection is a Tux wearing a pink tutu. A
Linux user of any culture who's worried about being called effeminate is
probably wedded to using that other operating system anyway.

htom

<<
 A simple solution is :
 
    1. to introduce color as first parameter in the prompt()
    2. create new functions, like:
 
        required() { prompt GREEN $* }
        optional() { prompt YELLOW $* }
        expert_only() { prompt RED $* }
 
        (are only examples!)
 
 But a chromodynamics-Setup fall on the taste's land; someone can
 find it irriting, or confusing, or too inusual. Finally, in the
 Sicilia, Spain and in an unknown count of other latin countries,
 a such muLinux will be simply classified as "effeminate" and
 definitively unistalled :-) May we, Alfie, accept this risk?
 
 Michele >>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:19 CET