| To: | scsh@martigny.ai.mit.edu |
|---|---|
| Subject: | reading from tty's |
| From: | "Jin S. Choi" <jsc@atype.com> |
| Date: | Mon, 25 Nov 1996 19:04:22 -0500 |
| Reply-to: | jsc@atype.com |
I'm trying to read reliably from a port created by fork-pty-session
and having the following problem. Can anyone give me a hint as to
what's going on?
(define (test)
(receive (process-object in-port out-port tty-name)
(fork-pty-session (lambda () (run (/bin/echo "hello, world"))))
(read-string 14 in-port) ; eat up text, CR/LF
(read-char in-port))) ; one more
> (test)
Error: 5
"I/O error"
#{Procedure 8669 %fdport*-read-char}
#{fdport-data}
1>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Scheme 48 version 0.45 available, Brian D . Carlstrom |
|---|---|
| Next by Date: | Convert from C to C++ problem, Tan Wai Chong |
| Previous by Thread: | Scheme 48 version 0.45 available, Brian D . Carlstrom |
| Next by Thread: | Convert from C to C++ problem, Tan Wai Chong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |