From ... From: Erik Naggum Subject: Re: Why does this code fail? Date: 1999/07/26 Message-ID: <3141971023312578@naggum.no>#1/1 X-Deja-AN: 505322499 References: mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * IBMackey | 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?