Kbase P97653: How to display a blink color message using a CHUI program on UNIX
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  17/02/2009 |
|
Status: Verified
GOAL:
How to display a blink color message using a CHUI program on UNIX
GOAL:
Which terminal definition is needed in UNIX to be able to use blinking colors.
GOAL:
How to display a blinking message on a CHUI program on UNIX
FACT(s) (Environment):
UNIX
Progress/OpenEdge Product Family
FIX:
1) Set the environment variable TERM to ansic
TERM=ansic; export TERM
2) Backup your current protermcap file.
3) Locate the definition for ansic in the PROTERMCAP add the following definitions in the color definition section:
:COLOR 62 RED-BLINK=\E[31m\E[5m:\E[34m\E[25m:\
4) Set your terminal or terminal emulator to emulate ANSI or ANSIC.
5) Run the following program to test it:
/* Program to test blinking color */
DISPLAY " Blinking red " WITH FRAME f COLOR RED-BLINK WIDTH 80 20 DOWN.
PAUSE(2).
QUIT.
When color is not set for ANSI emulation the blinking effect remains.