bug-ncurses
[Top][All Lists]
Advanced

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

Re: how to determine startvalue for init_color


From: Thomas Dickey
Subject: Re: how to determine startvalue for init_color
Date: Sun, 22 Jan 2006 17:39:34 -0500 (EST)

On Sun, 22 Jan 2006, Folkert van Heusden wrote:

Am I right that 'init_color' isn't supported on any terminal at all
currently?

no.  It should be usable on the terminals that have the initc property.
I've tested it on Linux console (linux-c-nc) and with xterm compiled for
88- and 256-colors (xterm-256color).  I see that putty also supports this,
but I don't recall testing it.

While testing this, I added linux-color.dat, xterm-16color.dat and xterm-88color.dat file in ncurses/test.

I ran http://www.vanheusden.com/Linux/testncurses-0.1.tgz to see if
they're capable of and xterm, gnome terminal and konsole none of these
can change the colors according to the can_change_color() call.
Running ncurses 5.5 (patch: 20051010).

On Sun, Jan 22, 2006 at 07:13:12PM +0100, Folkert van Heusden wrote:
Hi,

How can I determine what color-indexes I can use for my own colors?
E.g.:
init_color(color, r, g, b);
Now for color, COLOR_RED, COLOR_BLACK are already defined, at what index
for 'color' can I start defining colors WITHOUT destroying the default
ones?


Folkert van Heusden

--
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


Folkert van Heusden

--
Try MultiTail! Multiple windows with logfiles, filtered with regular
expressions, colored output, etc. etc. www.vanheusden.com/multitail/
----------------------------------------------------------------------
Get your PGP/GPG key signed at www.biglumber.com!
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


_______________________________________________
Bug-ncurses mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-ncurses


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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