>On Tue, Jan 09, 2001 at 05:32:29PM +0900, Kazutaka YOKOTA wrote:
>> syscons is already capable of changing forground and background colors
>> via escape sequences.  Is it not sufficient for your intended
>> application?
>> 
>> Kazu
>> 
>
>Since I received the same question in private mail more than once,
>I guess I'll have to clarify.  What I'm after is not exactly color
>changes, but *palette* changes - changing the RGB/HLS components
>of an existing color index, in order to display a new color.
>
>I'm writing a full-screen interactive console application (and yes,
>it has to be a console app for many reasons).  One of the design
>requirements is a customizable palette, so users can have some say
>about what they'll be staring at for hours day after day :)

In that case, have you looked at ioctls defined in /usr/include/sys/fbio.h:
FBIO_GETPALETTE and FBIO_SETPALETTE?

Kazu


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to