[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing colors on linux framebuffer consoles

From: Thomas Dickey
Subject: Re: changing colors on linux framebuffer consoles
Date: Thu, 15 Apr 2004 15:37:37 -0400
User-agent: Mutt/1.5.4i

On Wed, Apr 14, 2004 at 11:23:23PM -0500, Rick Engebretson wrote:
> I'm working with SuSE 8.0 with the kernel vesa framebuffer graphics driver 
> on an i686 platform. Ncurses, mc, the gpm mouse work nicely on the virtual 
> consoles. But trying to tweak ncurses console colors with "init_color()" 
> doesn't work, and "can_change_color()" returns false. I've tried a few 
> different "TERM=" settings without much change from the default "linux" 
> TERM value. The ncurses man page for color states that RGB values can't be 
> changed on i386, i486 vga platforms. I have the bundled ncurses 5.2-262 

But Linux console does have some control sequences for this.
That's the initc string in the terminfo entry.  Since can_change_color()
is returning false, you're probably not using a terminfo with that.

For instance, I recall noticing that Redhat replaces the linux entry
in terminfo with their own (older) one.

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]