From owner-freebsd-hackers Tue Jan 9 0:25:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 751EE37B401 for ; Tue, 9 Jan 2001 00:25:01 -0800 (PST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:zo8Jmvms3eB4X1EIKpWs4VyvgS0krbT1@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.11.0/3.7Wpl2) with ESMTP id f098OlH08022; Tue, 9 Jan 2001 17:24:51 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:bm3iVtmRGCLUwwqi95+dd+gyIrB4Z5nd@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.9.3+3.2W/3.7W/zodiac-May2000) with ESMTP id RAA08905; Tue, 9 Jan 2001 17:32:30 +0900 (JST) Message-Id: <200101090832.RAA08905@zodiac.mech.utsunomiya-u.ac.jp> To: Peter Pentchev Cc: freebsd-hackers@FreeBSD.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: escape sequence for 'Ic' terminal capability In-reply-to: Your message of "Tue, 09 Jan 2001 10:05:01 +0200." <20010109100501.C2550@ringworld.oblivion.bg> References: <20010109100501.C2550@ringworld.oblivion.bg> Date: Tue, 09 Jan 2001 17:32:29 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG syscons is already capable of changing forground and background colors via escape sequences. Is it not sufficient for your intended application? Kazu >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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message