bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue using more than 255 color pairs


From: Bill Gray
Subject: Re: Issue using more than 255 color pairs
Date: Sun, 16 Jul 2023 17:15:06 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 7/16/23 15:31, William McBrine wrote:
Presumably, low intensity would be A_DIM rather than A_LOW.

   Taking a look at

https://pubs.opengroup.org/onlinepubs/7908799/xcurses/curses.h.html

lists the fifteen attr_t constants as (rearranged here to put the six 'highlight' attributes together) :

WA_ALTCHARSET  Alternate character set
WA_BLINK       Blinking
WA_BOLD        Extra bright or bold
WA_DIM         Half bright
WA_INVIS       Invisible
WA_PROTECT     Protected
WA_REVERSE     Reverse video
WA_STANDOUT    Best highlighting mode of the terminal
WA_UNDERLINE   Underlining

WA_LEFT        Left highlight
WA_RIGHT       Right highlight
WA_LOW         Low highlight
WA_TOP         Top highlight
WA_HORIZONTAL  Horizontal highlight
WA_VERTICAL    Vertical highlight

which suggests to me that A_LOW isn't A_DIM and it isn't A_UNDERLINE. I'd think the six 'highlight' attributes would be similar, except that they 'highlight' different parts of the character cell.

Dennis, that terminal is probably gradually transitioning from "old obsolete stuff" to "valued piece of historical computing equipment", if it's not there already. I'm curious about what you see on it, too.

-- Bill



reply via email to

[Prev in Thread] Current Thread [Next in Thread]