#| -*-Scheme-*-
-$Id: edwin.pkg,v 1.235 1999/02/01 03:31:51 cph Exp $
+$Id: edwin.pkg,v 1.236 1999/02/18 04:03:57 cph Exp $
Copyright (c) 1989-1999 Massachusetts Institute of Technology
terminal-raw-input
terminal-raw-output
terminal-set-state)
- (import (runtime transcript)
- transcript-port)
(initialization (initialize-package!)))))
(os-type-case
#| -*-Scheme-*-
-$Id: tterm.scm,v 1.28 1999/01/02 06:11:34 cph Exp $
+$Id: tterm.scm,v 1.29 1999/02/18 04:04:05 cph Exp $
Copyright (c) 1990-1999 Massachusetts Institute of Technology
(if block?
(channel-blocking channel)
(channel-nonblocking channel))
- (let ((n (channel-read channel string end input-buffer-size)))
+ (let ((n (channel-read channel string end input-buffer-size)))
(cond ((not n) #F)
((fix:> n 0)
- (let ((new-end (fix:+ end n)))
- (if transcript-port
- (output-port/write-substring transcript-port
- string end new-end))
- (set! end new-end))
+ (set! end (fix:+ end n))
#T)
((fix:= n 0)
;;(error "Reached EOF in keyboard input.")