On 11/15/06, Thomas Dickey <address@hidden> wrote:
You could for instance design an alternate terminfo entry which tells
ncurses that the terminal does not support BOLD+color, and alter the
setaf/setab strings to use the BOLD attribute as part of their
computation.
Ok, at the moment I have only a vague idea about what terminfo is and
how it works, but if i understand correctly what you suggest is this:
-modify the terminfo so ncurses thinks the terminal supports 16
colors, but not bold, this will then cause COLORS to be 16 and make
init_color() work for all 16 colors
-modify setaf/setab strings to change the way ncurses will change the
current color, namely, also setting the bold attr for colors >8
Is that about right? Or did i misunderstand?