GithubHelp home page GithubHelp logo

kreuter / clx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sharplispers/clx

0.0 0.0 0.0 1.48 MB

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

Common Lisp 99.31% C 0.45% Shell 0.06% CSS 0.19%

clx's Introduction

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

clx's People

Contributors

dkochmanski avatar csrhodes avatar xach avatar robert-strandh avatar puercopop avatar scymtym avatar mgi avatar slyrus avatar equwal avatar jmc-design avatar telent avatar lokedhs avatar rtoy avatar ecraven avatar phoe avatar filonenko-mikhail avatar benkard avatar easye avatar azrazalea avatar kpoeck avatar ska80 avatar aplaice avatar stefanhusmann avatar russell avatar rpgoldman avatar kreuter avatar paulapatience avatar nikodemus avatar luismbo avatar l04m33 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.