Subject: Re: slime+cmucl installation process is horribly complicated
From: rpw3@rpw3.org (Rob Warnock)
Date: Thu, 11 Dec 2008 23:08:56 -0600
Newsgroups: comp.lang.lisp
Message-ID: <j8udnS7_CN51bNzUnZ2dnUVZ_tninZ2d@speakeasy.net>
Raymond Toy  <raymond.toy@ericsson.com> wrote:
+---------------
| I'm not sure I've ever tried hemlock on OSX.  I think there is an
| issue that cmucl can't parse the DISPLAY variable.  You have manually
| set it to :0.0 or something before starting cmucl and hemlock.  I think.
+---------------

Probably some other CMUCL_vs_OS-X issue. At least with recent CMUCLs
(19c or later) it parses the DISPLAY variable just fine, well enough
for Hemlock to work with SSH forwarded X connections (where a typical
"DISPLAY" is "localhost:11.0", say).

If the OP's using a *really* old CMUCL, then it might be the case
that that Hemlock tried to open the display with XLIB:OPEN-DISPLAY
instead of EXT:OPEN-CLX-DISPLAY -- the latter correctly extracts/parses
a display from the "DISPLAY" environment variable. [I seem to
remember some trouble about that with some of the CLX demo apps
that used XLIB:OPEN-DISPLAY.]

Anyway, as I said, in (near-)current CMUCL Hemlock works fine across
SSH-forwarded X connections without any special tweaking of "DISPLAY".
[I just confirmed it.]


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607