[gambit-list] Never mind. Was: Re: How to give gsi an end-of-file
hendrik at topoi.pooq.com
Thu May 2 08:54:54 EDT 2013
On Thu, 02 May 2013 12:35:32 +0000, Hendrik Boom wrote:
> I'm running a gambit program from a file using gsi, initiated from an
> interactive shell provided by my window manager on Debian wheezy..
> The program uses read-char and peek-char to read characters from
> standard input, which appears to be the terminal.
> but the test for end of file, (eof-object? c), seems never to return
> true,, even if I type a control-D, which is the usual Linux way to
> signal end of file from a terminal.
> How should I enter an end-of-file on the terminal instead?
Never mind. I must be doing something else wrong, because I just got it
to work in a very small test. Sorry. I though the test I had used was
small enough, but evidently not. I must have managed to squeeze another
error into it.
> -- hendrik
More information about the Gambit-list