[slime-devel] Re: Problem with reading from *QUERY-IO*

Helmut Eller e9626484 at stud3.tuwien.ac.at
Wed Jan 19 17:03:35 UTC 2005


Luke Gorrie <luke at synap.se> writes:

> I don't have ACL installed to try this out. The problem does sound
> eerily familiar though.
>
> Could you try setting swank::*log-events* and post the output in
> *inferior-lisp* when reproducing the problem?

The problem seems to be that stream-unread-char is called with a
#\null character instead of a #\newline.  It could be a peculiarity of
the two-way-streams in Allegro or a bug.

 (progn (read *standard-input*) (read *standard-input*)) 

seems to work as expected.

We could probably ignore the character passed to stream-unread-char
and only decrement the buffer index.

Helmut.



More information about the slime-devel mailing list