Re: Garnet, CMUCL & Debian

Fred Gilham <[email protected]> Fri, 02 Apr 2004 08:27:36 -0800
Newsgroups gmane.lisp.garnet.user
Message-ID <[email protected]>

Chris Hall wrote:

> Fred Gilham <[email protected]> writes:
> 
> > I attempted to write a listener for Garnet using Gray Streams and the
> > multifont widget.  I had delusions of grandeur.  It sort of "worked"
> > but not very well.
> >
> > Anyone interested in looking at what I did can get
> > 
> >   ftp:/ftp.csl.sri.com/pub/users/gilham/garnet-interactive-streams.tar
> 
> No guts, no glory - I applaud your attempt!  As soon as I realized
> what a Genera-type Listener did I also realized what a piece of work
> it must be.
> 
> It would seem that CMUCL's PCL implementation has changed?  I get the
> following output:
> -----------------------------
> ; Loading #p"garnet-listener/interactive-stream-classes.lisp".
> 
> Error while parsing arguments to DEFMACRO DEFCLASS:
> Invalid number of elements in:
>   (INTERACTIVE-CHARACTER-OUTPUT-STREAM
>    (EXTENSIONS:FUNDAMENTAL-CHARACTER-OUTPUT-STREAM))
> to satisfy lambda-list:
>   (PCL::NAME PCL::DIRECT-SUPERCLASSES PCL::DIRECT-SLOTS &REST PCL::OPTIONS)
> Expected at least 3, but got 2.
> -----------------------------
> 
> and
> 
> -----------------------------
> ;;; Loading #p"garnet/gadgets/scrolling-window-multifont.x86f".
> Object MOUSE-INTER
> 
> Error in function PCL::FIND-CLASS-FROM-CELL:
>    No class named: GCLOS:INTERACTIVE-STREAM.
> -----------------------------
> 
> tl.lisp seems to run OK from the REPL, though. :-)


Yes, this code was old.  Plus I didn't know what I was doing. :-)

I've put a new version in the same place that seems to work (as well
as it ever did) under CMUCL 18e+ (that is, CMUCL from CVS) and Garnet.
I have this fantasy that someone will look at it, get inspired, and
add a real stream listener to Garnet.

My experience in this area hasn't been too good.  I actually went
through the stream-listener exercise 3 times: once with CLUE, porting
their streams.lisp code to gray-streams under CMUCL, once with Garnet,
and once with something called CLINC which is a kind of precursor to
free CLIM.  I think the last one worked the best.

Then someone wrote a listener for McCLIM that really works.  I hate
him. :-)

-- 
Fred Gilham                                        [email protected]
``This is mere entertainment featuring fictional characters. No real
human relationships were shattered in the making of this TV series.''