Luke Gorrie luke@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.