Subject: Re: Simple question
From: (Rob Warnock)
Date: Fri, 27 Apr 2007 03:09:57 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
John Thingstad <> wrote:
|  Q <> wrote:
| > Is there a way to force an EOF character to be at the end of a
| > stream?  I have an open stream that doesn't have an EOF, so when I try
| > to read-line it just hangs there.
| yes. (force-output) also see (force-input)

What is this "FORCE-INPUT" of which you speak?  ;-}  ;-}
It's not in the CLHS.

| Here is a simple game that demonstates use.

Uh... That demonstrates CLEAR-INPUT, not FORCE-INPUT.
And CLEAR-INPUT only clears the input buffer, it doesn't
force an EOF on the stream, which is what the OP was asking.


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607