2021-08-14 12:43:15 UTC
When defining screens using the "screen section" in Cobol,
one can add "foreground-color is n" and "background-color is n".
Now, the numeric parameter n has valid values between 0 and 7.
But our terminal emulator (and the ANSI/VT ESC sequence standard)
has 16 settings. In our emulator (Extra!) they are 0-15.
If I try to set the value to 15 I get:
%COBOL-F-SCRCOLVAL, FOREGROUND-COLOR or BACKGROUND-COLOR clause
value must be between 0 and 7 inclusive.
We are looking at options like redefining "colour 7" in Extra!
to be 255,255,255 (pure white) instead of the current 192,192,192
which results in a light grey background.
I'll ask VSI directly also if this restriction can be expanded
to include all colour options as can be seen here:
but thought I'd just ask if someone have seen this before
and might have some other solution.