public
Description: Common Lisp X11 interface
Homepage: http://opensource.franz.com
Clone URL: git://github.com/franzinc/clx.git
clx /
name age message
file .cvsignore Mon Nov 17 14:57:00 -0800 1997 5.0.pre-beta.29 [layer]
file .gitignore Thu Mar 05 15:13:02 -0800 2009 add ignore file [Kevin Layer]
file CHANGES Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file ChangeLog Mon May 11 16:11:22 -0700 2009 Fix warning counts 2009-05-11 Duane Rettig <d... [Duane Rettig]
directory MITdist/ Mon May 11 16:11:22 -0700 2009 Fix warning counts 2009-05-11 Duane Rettig <d... [Duane Rettig]
file Makefile Fri Sep 14 12:33:58 -0700 2007 see 2007-09-14 changelog entry [duane]
file NEWCHANGES Mon May 04 04:17:18 -0700 1992 updated for 4.1 Mips [jdi]
file README Wed Oct 01 17:59:26 -0700 1997 see ChangeLog for Wed Oct 01 17:56:10 1997 Tom... [tomj]
file RELNOTES Thu Dec 08 13:49:36 -0800 2005 regularize format of RELNOTES files [layer]
file attributes.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file buffer.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file bufmac.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file clx0.cl Thu Apr 19 13:16:17 -0700 2007 2007-04-19 Duane Rettig <duane@franz.com> [layer]
directory debug/ Tue Sep 29 14:04:36 -0700 1998 see ACL #15 entry for Tue Sep 29 10:55:59 1998 [duane]
file defsystem.cl Mon May 04 18:11:38 -0700 2009 2009-05-04 Duane Rettig <duane@franz.com> *... [Duane Rettig]
directory demo/ Mon May 17 09:49:22 -0700 1993 Initial revision [cer]
file depdefs.cl Mon Oct 20 15:51:40 -0700 1997 MIT R5.0, ACL #4 [layer]
file dependent.cl Mon May 11 16:11:22 -0700 2009 Fix warning counts 2009-05-11 Duane Rettig <d... [Duane Rettig]
file display.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file doc.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
directory doc/ Mon May 17 10:07:03 -0700 1993 Initial revision [cer]
file exclcmac.cl Mon May 11 16:11:22 -0700 2009 Fix warning counts 2009-05-11 Duane Rettig <d... [Duane Rettig]
file excldep.c Tue Dec 23 14:49:15 -0800 1997 see ACL #8 changelog entry for Tue Dec 23 14:43... [duane]
file excldep.cl Mon May 11 16:11:22 -0700 2009 Fix warning counts 2009-05-11 Duane Rettig <d... [Duane Rettig]
file fonts.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file gcontext.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file generalock.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file graphics.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file image.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file input.cl Fri Mar 19 02:43:59 -0800 1993 *** empty log message *** [cer]
file keysyms.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file macros.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file makeclx.cl Wed Oct 01 17:59:26 -0700 1997 see ChangeLog for Wed Oct 01 17:56:10 1997 Tom... [tomj]
file manager.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file ms-patch.uu Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file package.cl Mon Jan 22 11:38:45 -0800 2007 join from acl8 branch to trunk [layer]
file provide.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file requests.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file resource.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
file sockcl.cl Tue Sep 29 14:04:36 -0700 1998 see ACL #15 entry for Tue Sep 29 10:55:59 1998 [duane]
file socket.c Mon Jan 22 22:12:00 -0800 1996 see 4.3.devel.12 changelog entry for Mon Jan 22... [duane]
directory test/ Mon May 17 09:49:22 -0700 1993 Initial revision [cer]
file text.cl Mon Oct 20 15:51:40 -0700 1997 MIT R5.0, ACL #4 [layer]
file translate.cl Fri Mar 19 02:39:11 -0800 1993 Initial revision [cer]
README
     This file contains instructions on how to make CLX work with Franz
Allegro Common Lisp.  CLX should work on any machine that supports
ACL version 3.1.10 or greater.  For running on Windows NT with X display
software such as Hummingbird's Exceed or StarNet's XWin32, skip to the
bottom.

 ******************************************************************************
 NOTE:  Normally you will not need to follow the instructions in this file.
  We supply a pre-built copy of CLX with your Allegro CL tape.  You
  should only need to rebuild CLX if you make changes to the source,
  or load patches that change the behaviour of the Allegro compiler.
  (If we send you any such patches, we will let you know so that you
  can recompile your application).
 ******************************************************************************

 ******************************************************************************
 NOTE:  We now include the TI CLX documentation -- see the doc/ directory.
 ******************************************************************************

 ******************************************************************************
 NOTE:  This distribution is not exactly the same as the one provided by MIT.
  Specifically, this distribution will *ONLY* work with Allegro versions
  greater than 3.1.10 (includes most released versions of 3.1, 4.0, and
  4.1).  If you need CLX for an older version of Allegro, please use
  the one available from the X Consortium at MIT.
 ******************************************************************************

     There are two steps to compile and install CLX.  The first is compiling
the source files into fasl files.  The fasl files will be combined into one
big fasl file, CLX.fasl.  This file is then installed in your Common Lisp
library directory in the next step.  You may need to edit the Makefile to
select the proper CFLAGS for your machine -- look in Makefile for examples.
Then just:

% make

     Now you must move the CLX.fasl file into the standard CL library.
This is normally "/usr/local/lib/cl/code", but you can find out for sure
by typing:

<cl> (directory-namestring excl::*library-code-pathname*)

to a running Lisp.  If it prints something other than "/usr/local/lib/cl/code"
substitute what it prints in the below instructions.

% mv CLX.fasl /usr/local/lib/cl/code/clx.fasl
% mv *.o /usr/local/lib/cl/code

Now you can just start up Lisp and type:

<cl> (load "clx")

to load in CLX.  You may want to dump a lisp at this point since CLX is a large
package and can take some time to load into Lisp.  You probably also want to
set the :generation-spread to 1 while loading CLX.  Please see your Allegro CL
User Guide for more information on :generation-spread.


     Sophisticated users may wish to peruse the Makefile and defsystem.cl
and note how things are set up.  For example we hardwire the compiler
interrupt check switch on, so that CL can still be interrupted while it
is reading from the X11 socket.  Please see chapter 7 of the CL User's
guide for more information on compiler switches and their effects.


Please report Franz specific CLX bugs to:

   bugs@Franz.COM
         or
  ucbvax!franz!bugs



Building and running on Windows NT

(1) With ACL 4.3.2 or later, :cd to the directory containing the clx
sources.

(2) :ld makeclx.cl - this should create winclx.fasl in that
directory.  Feel free to move winclx.fasl to a convenient location.

(3) In a fresh lisp, :ld winclx.fasl.  You should now be able to
open your display, assuming your X display software is running and
tcp/ip is installed, with: (xlib:open-display "localhost")