Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!scheme.cs.ubc.ca!b3076906 From: b3076906@scheme.cs.ubc.ca (adrian michael boyko) Newsgroups: comp.lang.scheme Subject: PC-Scheme serial I/O Message-ID: <1990Dec7.184210.1106@scheme.cs.ubc.ca> Date: 7 Dec 90 18:42:10 GMT Sender: news@scheme.cs.ubc.ca Organization: Scheme Lab, Computer Science, UBC, Vancouver, B.C., Canada Lines: 12 I'm hoping for some help with PC-Scheme serial I/O. I'm having no trouble with output, but I'm getting results I don't understand when I use an input-port defined with (define modem-in (open-input-file "com1")). For example, (read-line modem-in) will often give me an undocumented "[VM ERROR encountered!] 196". (char-ready? modem-in) will often go away for several minutes before returning #\. The hardware is fine. Any comments welcome via email. Adrian_Boyko@cc.sfu.ca b3076906@scheme.cs.ubc.ca