From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Keller Newsgroups: gmane.emacs.help Subject: Re: SLIME and CTRL-D Date: 08 Apr 2010 20:29:09 GMT Organization: elsewhere Message-ID: <4bbe3c95$0$9896$80265adb@spool.cs.wisc.edu> References: <4bbe1f01$0$9897$80265adb@spool.cs.wisc.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1273004664 1782 80.91.229.12 (4 May 2010 20:24:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 20:24:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 22:24:23 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9OfG-0005l1-D4 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 22:24:22 +0200 Original-Received: from localhost ([127.0.0.1]:48043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9OfF-0007Vz-Na for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 16:24:21 -0400 Original-Path: usenet.stanford.edu!elk.ncren.net!newsfeed.cs.wisc.edu!news.cs.wisc.edu!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/2.6.18-164.11.1.el5 (i686)) Original-Lines: 26 Original-NNTP-Posting-Host: merlin.cs.wisc.edu Original-X-Trace: 1270758549 spool.cs.wisc.edu 9896 128.105.185.17 Original-Xref: usenet.stanford.edu gnu.emacs.help:177665 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73133 Archived-At: Helmut Eller wrote: > * Peter Keller [2010-04-08 20:22+0200] writes: > >> Hello, >> >> I use slime with sbcl on linux and in general it works fine. >> >> My question is: in the raw sbcl repl (say starting sbcl from the >> command line) I can do ^D to signal the END-OF-FILE condition for >> something reading *standard-input*. SLIME doesn't seem to understand >> this. How can I do the equivalent of ^D when using the SLIME repl for >> sbcl? > > Probably C-u RET. in a simple test case in slime's repl: (handle-case (read) (end-of-file () (format t "got eof~%"))) It works just fine. I have yet to test it in my actual application, but I don't see any reason why it wouldn't work given the test. Another question is, why C-u RET? I never would have though that did what it did here. Why does it work? -pete