From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.lisp.guile.devel Subject: Re: patch: (read "\x1b") => #\esc Date: Mon, 10 Nov 2003 21:45:57 -0500 Organization: What did you have in mind? A short, blunt, human pyramid? Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <87fzgvrew3.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1068518886 1713 80.91.224.253 (11 Nov 2003 02:48:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2003 02:48:06 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 11 03:48:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJOZY-0006C7-00 for ; Tue, 11 Nov 2003 03:48:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJPVa-0000OZ-LA for guile-devel@m.gmane.org; Mon, 10 Nov 2003 22:48:02 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJPVT-0000OG-Gn for guile-devel@gnu.org; Mon, 10 Nov 2003 22:47:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJPUx-0000Ir-Lx for guile-devel@gnu.org; Mon, 10 Nov 2003 22:47:54 -0500 Original-Received: from [129.22.104.62] (helo=lewis.CNS.CWRU.Edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJPUx-0000Io-F1 for guile-devel@gnu.org; Mon, 10 Nov 2003 22:47:23 -0500 Original-Received: from conversion-daemon.smtp-b.cwru.edu by smtp-b.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HO60040127RLT@smtp-b.cwru.edu> for guile-devel@gnu.org; Mon, 10 Nov 2003 21:45:59 -0500 (EST) Original-Received: from multivac.cwru.edu (multivac.ITS.CWRU.Edu [129.22.114.26]) by smtp-b.cwru.edu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HO6002DH2CNT4@smtp-b.cwru.edu> for guile-devel@gnu.org; Mon, 10 Nov 2003 21:45:59 -0500 (EST) Original-Received: (qmail 19040 invoked by uid 500); Tue, 11 Nov 2003 02:46:20 +0000 In-reply-to: <87fzgvrew3.fsf@zip.com.au> Original-To: guile-devel@gnu.org Mail-followup-to: guile-devel@gnu.org Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Original-Lines: 16 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2989 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2989 Kevin Ryde wrote: > prj@po.cwru.edu (Paul Jarc) writes: >> + case EOF: >> + goto str_eof; > > Currently that gets noticed next time around the loop does it? Only if read() returns EOF twice, which it need not. E.g., run "guile -q" on a tty, and type: guile> (string-ref "\^D^D" 0) #\377 (The first ^D flushes the tty buffer; the second sends a single EOF.) paul _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel