<br><div class="gmail_quote">On Fri, Oct 23, 2009 at 1:32 PM, Nadeem Abdul Hamid <span dir="ltr"><<a href="mailto:nadeem@acm.org">nadeem@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, Oct 23, 2009 at 4:09 PM, Neil Van Dyke <<a href="mailto:neil@neilvandyke.org">neil@neilvandyke.org</a>> wrote:<br>
> I suggest using "sync" to block until bytes are once again ready to be read<br>
> from the port.<br>
<br>
</div>Tried that; it still hangs most of the time, and when I break the<br>
execution, it highlights the "sync" or "sync/enable-break"<br>
expression....<br></blockquote><div><br>That seems like there are no data available in the port - sync blocks until there are data - in my previous response to you I was able to use your original function to read from a string port that has plenty of data. <br>
<br>Are you able to read a single byte from the port? i.e. (read-byte (bot-in-port a-bot)). <br><br>yc<br><br><br></div></div>