Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!think!barmar From: barmar@think.COM (Barry Margolin) Newsgroups: comp.windows.x Subject: Re: Interacting with Common Lisp in an X window Message-ID: <24566@think.UUCP> Date: 28 Jul 88 16:39:57 GMT References: <8807280502.AA01988@juicy-juice.lcs.mit.edu> Sender: usenet@think.UUCP Reply-To: barmar@kulla.think.com.UUCP (Barry Margolin) Organization: Thinking Machines Corporation, Cambridge, MA Lines: 23 In article <8807280502.AA01988@juicy-juice.lcs.mit.edu> ilham@juicy-juice.lcs.mit.edu writes: > >I wish to write a software which uses both X Windows (in C language) and >Common Lisp. The core part of the program is written in Common-Lisp and >the windowing interface will be written in X using C. Do you know about CLX, the Common Lisp interface to X? It provides facilities at the same level as Xlib. CLX is included in the X11R2 distribution. Unfortunately, it isn't well documented. >In this case, I should be able to type Lisp command in window no. (3) >and the underlying Common-lisp should interpret that as input and >execute that lisp code. This could be done by making window (3) be an xterm window running lisp instead of a shell. Xterm takes an argument, -e, that lets you specify a command to run with its I/O directed to the window that is created. Barry Margolin Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar