[Top][All Lists]

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

Re: Obtaining and setting RGB values

From: Thomas Dickey
Subject: Re: Obtaining and setting RGB values
Date: Thu, 29 Oct 2009 05:45:22 -0400 (EDT)

On Thu, 29 Oct 2009, Thomas Dickey wrote:

On Wed, Oct 28, 2009 at 03:42:00PM -0400, Markus Mottl wrote:
We have tried the newest ncurses release, compiled it with the required
flags for supporting 256 colors, used different terminals under Linux
and Mac OS X (xterm, gnome-terminal, rxvt, iTerm) with different
TERM-settings, etc., but querying and setting colors is obviously
impossible in any configuration.

For a quick check of setting colors, I use the 256colors2.pl script
in xterm (with/without the "-r" option).  If the palettes don't reverse
when changing the "-r" option, the terminal doesn't support setting

(other than as used for restoring color settings in those scripts, I don't
have something at hand that queries colors).

Thomas E. Dickey

reply via email to

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