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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message