This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

Framebuffer with Common Lisp

2 posts · 1334 views

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 http://blog.uxul.de/

Re: Framebuffer with Common Lisp

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