pmattes / x3270

Family of IBM 3270 emulators
46 stars 18 forks source link

the greenScreen resource in the source does not properly emulate a real 3278 #39

Closed swhobbit closed 2 years ago

swhobbit commented 2 years ago

The x3270 resource x3270.colorScheme.GreenScreen does an incomplete job of emulating a real 3270, as it fails to show what fields are highlighted.

As the x3278 is actually using the GreenScreen the 3279 color map: knowing the default attributes for the four colors (see https://en.wikipedia.org/wiki/IBM_3270#3279), the map can be changed to do use a default green for high intensity fields like so:

x3270.colorScheme.kewGreenScreen: \
        Green3 Green3 green  Green3  \
        Green3 Green3 Green3 green \
        Green3 Green3 Green3 Green3 \
        Green3 Green3 Green3 green \
        white gray10 dimGrey \
        4 2 1 15
swhobbit commented 2 years ago

I updated the sample x3270.colorScheme.kewGreenScreen, it had some colors in the scheme wrong.

pmattes commented 2 years ago

I appreciate the suggestion, but I am removing 'green screen' from the color scheme menu instead, since it is more of a toy than anything of practical use. If you want a green screen, use 3278 emulation, not a color scheme that maps the real 3279 colors onto shades of green.