From owner-freebsd-hackers Wed Jan 31 15:46:46 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id 12CA137B503 for ; Wed, 31 Jan 2001 15:46:22 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id CAA08888; Thu, 1 Feb 2001 02:46:04 +0300 (MSK) Message-Id: <200101312346.CAA08888@aaz.links.ru> Subject: Re: escape sequence for 'Ic' terminal capability In-Reply-To: <20010201012016.A9412@ringworld.oblivion.bg> from "Peter Pentchev" at "Feb 1, 1 01:20:17 am" To: roam@orbitel.bg (Peter Pentchev) Date: Thu, 1 Feb 2001 02:46:04 +0300 (MSK) Cc: freebsd-hackers@FreeBSD.ORG From: "Aleksandr A.Babaylov" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev writes: > On Tue, Jan 09, 2001 at 10:05:01AM +0200, Peter Pentchev wrote: > > I'm thinking of messing with the syscons ioctl handler to allow setting > > of color values - all EGA- and VGA-compatible video controllers allow this. > > The idea is to later define my termcap(5) entry to let ncurses deal with > > color setting. > > > > termcap(5) lists the 'cc' - 'can change color' and 'Ic' - 'initialize color' > > capabilities. Setting the boolean 'cc' is easy, 'Ic' however presents a bit > > of a problem to me - does anyone know what it is set to on any other terms > > so I can keep a bit of compatibility here, or do I just randomly pick an esc > > sequence, and lead on a happy existence until someone else defines this same > > esc sequence to do something else? :) > > OK, since I started this thread, I got several suggestions, mainly > pointing me at the FBIO_{GET,SET}PALETTE console ioctl's. I still > need the 'Ic' capability to transfer the color information across > network connections (yes, both machines will be running fbsd with > identical kernel/userland local mods). > > So my original question still stands: has anybody seen the 'Ic' > capability actually used in some OS's termcap, so I can borrow > the sequence with an eye on compatiblity, or has 'Ic' been just > a nice idea that nobody has bothered to implement? Look at http://www.tuxedo.org/~esr/terminfo/ -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message