CLX

CLX is to Common Lisp as Xlib is to C - it provides low-level X calls on top of which a Graphics Toolkit can be based. See McCLIM for the de-facto higher-level toolkit, also see Garnet, CLUE and CLIO for alternatives.

The CLX package as found in the X Consortium contrib archive is considerably out of date as various Lisp implementors have independently ported CLX to their own platforms, fixing bugs and, in some cases, adding features in the process.

The CLX Manual is available in HTML and texinfo.

Supported X11 extensions

Opportunities to contribute

ssh-forwarded connections

The standard CLX function OPEN-DISPLAY doesn't correctly extract the display number from the DISPLAY environment variable. This is a problem when using CLX on an ssh-forwarded X11 session, as ssh typically uses display number 10+n. Additionally, CLX in its MIT guise doesn't handle xauth very well, requiring the xhost blunt instrument before it'll put up a window on such a display. This is handled correctly in CMUCL CLX (use EXT:OPEN-CLX-DISPLAY) and in telent CLX (XLIB:OPEN-DEFAULT-DISPLAY). See CMUCL Hints for more information.


Perhaps you want to have a look at the source code of Acclaim as it directly uses CLX without any layer in between to display the rendered slides on screen.


Pages in this topic: clfswm   CLIO   CLUE   CLX Manual   Eclipse   Garnet   portable-clx   portable-clx-devel   SLIK   xlyb  


Also linked from: Acclaim   Alan Crowe   clisp   clSET   CLX Grapher   CMUCL Hints   Current recommended libraries   ECL   Fractal hacks   ftp.linux.org.uk   Graphics Toolkit   Hemlock   Less Recent Changes   LispGameDesignChallenge   LispGameIssues   LispGameJam   Logo-to-lisp   McCLIM   MorphiCL   OpenGL   OpenGL Bindings   OpenMCL   Picasso   Planet of the Feebs   Simple 3D viewing   Steeldump   Suggested Programming Projects   win32   X11   XIT  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively