bug-ncurses
[Top][All Lists]
Advanced

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

Re: Frustration sets in .......


From: Bryan Christ
Subject: Re: Frustration sets in .......
Date: Thu, 16 Apr 2009 10:26:18 -0500

Ben,

You probably should look at the man pages for init_color() for which you
will supply RGB values.

Keep in mind that you are sacrificing portability because there are
quite a few terminals that don't support these higher color ranges.

Bryan

On Thu, 2009-04-16 at 15:17 +0000, Ben Duncan wrote:
> Arrgggg ... Ok, I have been trying to google and figure out HOW to use 256 
> colors with my project. So far, All I have gotten is frustrated. I have
> extended colors in Ncurses and in my xterm working, but have found no
> easy explanation on using 256 colors inside of a C program.
> 
> Anyone got some simple C program examples, something along the lines
> of the attached perl program to do this with ?
> 
> 
> Thanks ...
> 
> 
> 





reply via email to

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