Framebuffer with Common Lisp

Discussion of Common Lisp
Post Reply
Posts: 99
Joined: Sat Jul 26, 2008 2:30 pm
Location: Germany

Framebuffer with Common Lisp

Post by schoppenhauer » Sat Dec 26, 2009 8:26 pm

I have an old ThinClient which crashes when running XDMCP. There is one VNC-Client for the Framebuffer, but it has strange Keybindings. So - since I wanted to get familiar with this protocol anyway - I will maybe try to write a VNC-Client in Common Lisp.

My question is if there is any Binding for DirectFB already or any other possibility (except using POSIX directly) for writing to the Framebuffer. How about lispbuilder-sdl? Has anybody yet tried this? What CL-Compiler would you recommend?
Sorry for my bad english.
Visit my blog

Posts: 14
Joined: Tue Jul 15, 2008 1:20 pm

Re: Framebuffer with Common Lisp

Post by Balooga » Sun Dec 27, 2009 1:20 am

It seems directFB is supported as a backend by SDL, so it should be supported by lispbuilder-sdl.

You will most likely have to write a couple of routines in C to compose the remote VNC images onto a SDL surface. Performing this kind of operation in Lisp is not efficient as each pixel write goes through the CFFI.

- Luke

Post Reply