From owner-freebsd-hackers Tue Jan 9 0: 6:34 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.189]) by hub.freebsd.org (Postfix) with SMTP id 5C24D37B400 for ; Tue, 9 Jan 2001 00:06:14 -0800 (PST) Received: (qmail 2988 invoked by uid 1000); 9 Jan 2001 08:05:01 -0000 Date: Tue, 9 Jan 2001 10:05:01 +0200 From: Peter Pentchev To: freebsd-hackers@FreeBSD.org Subject: escape sequence for 'Ic' terminal capability Message-ID: <20010109100501.C2550@ringworld.oblivion.bg> Mail-Followup-To: freebsd-hackers@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, 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? :) G'luck, Peter -- This sentence was in the past tense. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message