Why I only get 8 colors out of ncurses?
I'm coding in Gentoo Linux, using ncurses and testing my applications using the GNOME terminal.
I have no problems using colors, but I only get 8 and it would be nice to have a few more... I know the GNOME terminal has support for a 16 color palette, but I don't know how can I use them all with ncurses. Well, I know way...
It's like this, I have 7 color pairs for the colors: red, blue, yellow, green, cyan, magenta and white with black background. If I use this colors with the attribute A_BOLD (to make the text bold) I don't only get the text in bold but the colors of the text will be the other 7 colors defined in the GNOME palette.
My question is, how can I use this other 7 (or 8 if you count black) colors without having to bold the text?