Messages in this thread | | | Date | Thu, 17 Sep 1998 10:01:07 +0200 (CEST) | From | Geert Uytterhoeven <> | Subject | Re: Frame buffer device thinkings... |
| |
On Wed, 16 Sep 1998, Olaf Titz wrote: > On a completely unrelated framebuffer issue: I have a simple program
Let's hope it have _something_ to do with frame buffer devices :-)
> which swaps colormap entries to give me a black-on-white screen. > (Which isn't exactly the same as the "inverse" option, because that > swaps foreground and background, so if I set text to display in red I > get black-on-red instead of the desired red-on-white.) My problem is > that the palette is reset to the default on every console switch. I'd > like to have it persist across switches, but I don't know how > impossible that would be. Comments?
ioctl FBIOPUTCMAP on /dev/fb0 (if you use a frame buffer device console). More info in <linux/fb.h>.
Greetings,
Geert
-- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |