lkml.org 
[lkml]   [1998]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:1.706 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site