[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: (read "\x1b") => #\esc

From: Paul Jarc
Subject: Re: patch: (read "\x1b") => #\esc
Date: Mon, 10 Nov 2003 21:45:57 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> wrote:
> address@hidden (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)

(The first ^D flushes the tty buffer; the second sends a single EOF.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]