From: Guillermo J. Rozas Date: Fri, 16 Jul 1993 19:20:22 +0000 (+0000) Subject: Make read-event work on systems without select. X-Git-Tag: 20090517-FFI~8200 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=fe428e752e88297ff3506e48159379d7ae0d9bb8;p=mit-scheme.git Make read-event work on systems without select. --- diff --git a/v7/src/edwin/tterm.scm b/v7/src/edwin/tterm.scm index 470d903ae..000a1c8fa 100644 --- a/v7/src/edwin/tterm.scm +++ b/v7/src/edwin/tterm.scm @@ -1,8 +1,8 @@ #| -*-Scheme-*- -$Id: tterm.scm,v 1.19 1993/04/27 09:22:31 cph Exp $ +$Id: tterm.scm,v 1.20 1993/07/16 19:20:22 gjr Exp $ -Copyright (c) 1990-93 Massachusetts Institute of Technology +Copyright (c) 1990-1993 Massachusetts Institute of Technology This material was developed by the Scheme project at the Massachusetts Institute of Technology, Department of Electrical Engineering and @@ -174,6 +174,8 @@ MIT in each case. |# (let loop () (cond (inferior-thread-changes? event:interrupt) ((process-output-available?) event:process-output) + ((not have-select?) + (and block? (read-event block?))) (else (case (test-for-input-on-descriptor (channel-descriptor-for-select channel)