Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2001 11:28:07 +0200
From:      Peter Pentchev <roam@orbitel.bg>
To:        Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: escape sequence for 'Ic' terminal capability
Message-ID:  <20010109112807.F2550@ringworld.oblivion.bg>
In-Reply-To: <200101090924.SAA09223@zodiac.mech.utsunomiya-u.ac.jp>; from yokota@zodiac.mech.utsunomiya-u.ac.jp on Tue, Jan 09, 2001 at 06:24:30PM %2B0900
References:  <20010109100501.C2550@ringworld.oblivion.bg> <200101090832.RAA08905@zodiac.mech.utsunomiya-u.ac.jp> <20010109103434.E2550@ringworld.oblivion.bg> <200101090924.SAA09223@zodiac.mech.utsunomiya-u.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 09, 2001 at 06:24:30PM +0900, Kazutaka YOKOTA wrote:
> 
> >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

Yes, I have, and I'm considering reusing that code, or possibly calling
it.  However, I still wonder why there isn't an escape sequence interface -
kinda hard to specify ioctl's in termcap(5) :)

-- 
G'luck,
Peter

-- 
This inert sentence is my body, but my soul is alive, dancing in the sparks of your brain.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010109112807.F2550>