Subject: Re: Why does this code fail?
From: Erik Naggum <erik@naggum.no>
Date: 1999/07/26
Newsgroups: comp.lang.lisp
Message-ID: <3141971023312578@naggum.no>

* IBMackey <ibum@stic.net>
| The problem is at the read-line. When clisp is loaded separately, the
| code works fine. However, when I load the code in xemacs, with ilisp,
| clisp will show the request for search words momentarily, than exit.

  it's probably because there is a newline still unread after the form that
  called the function.  call LISTEN to see if there is anything there, and
  print that out if there is.  use READ-CHAR-NO-HANG to gobble up all of
  these.  this has the same effect as CLEAR-INPUT, so you might want to
  gobble up only a small number of characters, like the newline, only.

#:Erik
-- 
  suppose we blasted all politicians into space.
  would the SETI project find even one of them?