SCOUG-HELP Mailing List Archives
Return to [ 16 |
August |
2002 ]
>> Next Message >>
Content Type: text/plain
=====================================================
If you are responding to someone asking for help who
may not be a member of this list, be sure to use the
REPLY TO ALL feature of your email program.
=====================================================
Does anyone know how to change the colors of the characters in a REXX
driven commandline session (or know where to get this info)? I'm
interested in having a REXX script run from the commandline. The script
will present the user with instructions and a set of choices. I want the
various choices to be selectable by the user typing in the appropriate
character. He, or she, selects the right character from a set of
characters, in the instructions, that are of a different color.
For example, usually the text is white (on a black background) in
commandline sessions. I would like to select commandline REXX-driven
options, by selecting from characters that are blue (maybe).
Continuing: I know that you can set 2 variables as follows:
White_On_Cyan = "1B"x || "[1;37;45m"
Ansi_Off = "1B"x || "[0m"
If you place the first variable, White_On_Cyan, in front of a set of
REXX-driven commandline text, the characters after that variable will
appear as white on a cyan background. Similarly, if you place the second
variable in front of a REXX-driven commandline text, the characters
after that appear as the normal white on black background.
OK! I would like to use other colors besides white-on-cyan. For example,
I would like the text to be blue-on-black, or yellow-on-black, etc.
Thanks for any help on this.
HCM
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
>> Next Message >>
Return to [ 16 |
August |
2002 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|