Consultor Eletrônico



Kbase 15909: COLOR DISPLAY BOLD not working v6 code to v7 conversion
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
COLOR DISPLAY BOLD not working v6 code to v7 conversion

Work around to still use COLOR DISPLAY BOLD from your v6 code in v7.
It will require an entry being added to your protermcap file.

This was added to protermcap->

:COLOR 100 BOLD=2\E[1m:2\E[m:
* added COLOR 100 because it was not in use.

* BOLD is the attribute you wanted to use.

* 2\E[1m:2\E[m:\ is the HS and HR protermcap start and stop
sequences for bold listed in the protermcap for xterm terminal.

This will give you the expected behavior in the following program->

def var a as char.
def var b as char.
b = "TEST".
a = "TEST".
color display BOLD a.
display a.
display b.

(variable b is used as a normal display for comparison)

Depending on the term you are using, the COLOR ### and
start and stop sequences for bold (HR & HS) will vary.

Refer to COLOR and COLOR PHRASE in Language Reference Volume 1 and to
System Adminastration Guide COLOR in PROTERMCAP for more information

rve 7/11/96

Progress Software Technical Support Note # 15909