On 4 Jan, Peter Pentchev wrote:
> Hi,
>
> I'm writing a console app, which needs to be quite colorful, and to use
> customizable colors. Unfortunately, with ncurses, right after start_color(),
> I get a can_change_color() == FALSE. Besides, COLORS is defined to as many
> as the Co termcap capability, which is 8.
>
> Well, all (well, most ;) PC video adapters can display up to 16 colors,
> if I decide to drop the bold/blinking capabilities, and define all colors
> as suits my taste. Is there a way to define more than 8 colors, and..
> uh.. is there a way to define *any* colors at all? :)
>
Yes, there are many ways. My favorite is to use ANSI escape codes.
Althought I'm sure there are other codes that would work.
I think curses can do it. Someone correct me if I'm wrong.
Jessem.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message