Framebuffer (devel question)
Jaymz Julian
jaymz at artificial-stupidity.net
Sun Mar 5 02:59:29 PST 2006
On Sat, Mar 04, 2006 at 05:38:35PM +0000, chinlu chinawa wrote:
> The target app. I'm referring to, would run on a xserver which is not
> going to have a mouse running on it, nor a wm. Just a black background
> and a xterm (-fa), for which I need text and images (not overlapping
> one to each other at any time) I provide within a ncurses app. of my
> own. For more info, this app, doesn't scroll either, it's static, and
> I've put it to work successfully within a tty.
> I don't know whether I would be able to "blend" somehow my screen's
> buffer with the existing xserver's screen buffer, so it would refresh
> my "custom background", or whether I might need to start looking at
> xterm sources and modify them as needed, so any comments or pointers
> would my much appreciated.
You should look at w3m - it displays inline images in an xterm by using X to
draw over tHe window. (by grabing the $WINDOWID envieronment variable, and
watching events on that window to know when to redraw)
Failing that, another simple hack, though annoying, is a terminal emulator
that allows for an background pixmap. Not that neither of these solutions
are _good_.
There is, of course, the obvious solution of an overlayed window using the
shape extension. But a better solution would be perhaps rethinking the
design of your application...
-jj
--
--
Jaymz Julian - Coder, Visionary, Fat Ass.
"Hannibal is a serial killer. He only likes to kill and eat people.
Very few people have `I want to be killed and eaten' on their cards,
so Hannibal is out of a job." - http://cards.sf.net
More information about the xorg
mailing list