• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Common Lisp
  • License
    Other
  • Created over 13 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp

CLX

CLX is an X11 client library for Common Lisp. The code was originally taken from a CMUCL distribution, was modified somewhat in order to make it compile and run under SBCL, then a selection of patches were added from other CLXes around the net.

Features

  • SHAPE extension support (Gilbert Baumann)
  • XFREE86-VIDMODE extension support (Iban Hatchondo)
  • experimental RENDER extension support (Gilbert Baumann and Christian Sunesson)
  • X authority support that works with ssh forwarding (Eric Marsden via CMUCL)
  • OPEN-DEFAULT-DISPLAY function which, as the name suggests, does that (dan)
  • various bug fixes (Iban Hatchondo and a cast of several)
  • a manual in texinfo format (Shawn Betts, Gilbert Baumann)

Supported versions

CLX should work with CCL, CLISP, CMUCL, ECL and SBCL. If it doesn't please submit an issue along with the version information of your implementation.

Allegro Common Lisp users should use clx version maintained by Franz Inc., which can be found at https://github.com/franzinc/clx

Getting started

Building using Quicklisp

(ql:quickload 'clx)

To load demos and tests as well:

(ql:quickload 'clx/demo)

or if you want to use the latest version from git, clone this repository to your local-project and use quickload as described above

cd ~/quicklisp/local-projects/
git clone git://github.com/sharplispers/clx.git

Building using ASDF

If you don't have quicklisp installed you can use ASDF to load CLX. To do so clone this repository to either:

  • ~/common-lisp
  • ~/.local/share/common-lisp/source/.

where ASDF will look for system definitions by default

and then on the lisp REPL type

(require 'asdf)
(asdf:load-system "clx")

If you want to load clx from another location you have to first tell ASDF to look in that directory by adding the directory to ASDF's central registry on every session.

(require 'asdf)
(push "/path/to/the/clx/directory/" asdf:*central-registry*) ; Mind the trailing slash, it is important.
(asdf:load-system "clx")

or you can configure ASDF to look in your directory as described in the ASDF Manual

Demos

To test CLX, load the demo and test files and start the demo overview:

(asdf:load-system "clx/demo")
(xlib-demo/demos:demo)

Note: If you're new to Lisp, be advised that despite the examples in the demo/ directory, it's generally not considered good style to switch to the :xlib package and write your code in it. Spend some time with a language reference to familiarize yourself with use-package, or better yet, the :use option to defpackage.

Documentation

An up to date version of the manual can be found at sharplispers.github.io/clx

Bug reports, new features, patches

Please use github to track issues:

Contributing

To contribute submit a pull request

To report bugs, request features, etc please use the github issue tracker


Heavy lifting by <Raymond.Wiker at fast.no> ASDFized version by Daniel Barlow and Christophe Rhodes

The sharplispers group on github have recently (November 2011) "adopted" clx and maintain the version that lives at:

https://github.com/sharplispers/clx

More Repositories

1

cormanlisp

Corman Lisp
Common Lisp
571
star
2

ironclad

A cryptographic toolkit written in Common Lisp
Common Lisp
174
star
3

clawk

CLAWK is an AWK implementation embedded into Common Lisp, by Michael Parker. This version contains some patches to make it compile again.
Common Lisp
47
star
4

montezuma

Full-text indexing and search for Common Lisp
Common Lisp
46
star
5

linedit

Readline-style line-editor for Common Lisp.
Common Lisp
41
star
6

ops5

The Ops5 programming language for production systems
Common Lisp
36
star
7

split-sequence

SPLIT-SEQUENCE is a member of the Common Lisp Utilities family of programs, designed by community consensus.
Common Lisp
34
star
8

nibbles

A Common Lisp library for accessing octet-addressed blocks of data
Common Lisp
26
star
9

pseudoscheme

An implementation of Scheme embedded in Common Lisp
Scheme
24
star
10

cl-jpeg

A Common Lisp library for reading and writing JPEG image files
Common Lisp
23
star
11

parse-number

PARSE-NUMBER is a library of functions for parsing strings into one of the standard Common Lisp number types without using the reader.
Common Lisp
23
star
12

scheduler

Extensible Scheduler written in Common Lisp
Common Lisp
22
star
13

csv-parser

Some hacks on top of Alain Picard's CSV parser
Common Lisp
14
star
14

prepl

prepl is a REPL implementation, also known as a Lisp listener
Common Lisp
13
star
15

bknr.datastore

BKNR datastore - MOP-Based in-memory database with transactions for Common Lisp
Common Lisp
12
star
16

chipz

A Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
Common Lisp
12
star
17

cxml

Closure XML - A Common Lisp XML Parser
Common Lisp
11
star
18

conium

A portability library for debugger- and compiler-related tasks in Common Lisp.
Common Lisp
10
star
19

slitch

Luke Gorrie's low-level networking library for Linux CMUCL
Common Lisp
9
star
20

cl-string-match

Common Lisp
7
star
21

xpath

Common Lisp Implementation of the XML Path Language (XPath) Version 1.0
Common Lisp
6
star
22

zlib

Matthieu Villeneuve's zlib
Common Lisp
5
star
23

xuriella

XSLT processor based on cxml
Common Lisp
4
star
24

diff

A Common Lisp library for computing differences between files
Common Lisp
4
star
25

log5

A Common Lisp logging framework organized around five things: categories, outputs, senders, messages and contexts
Common Lisp
4
star
26

portableaserve

Common Lisp
3
star
27

mw-equiv

Temporary home of Michael Weber's mw-equiv
Common Lisp
2
star
28

cxml-stp

Fork of David Lichteblau's cxml-stp library
Common Lisp
2
star
29

yaclml

Yet Another Common Lisp Markup Language, originally by Edward Marco Baringer
Common Lisp
1
star