From: Sam S. <sd...@gn...> - 2009-09-27 17:17:35
|
> * Angel Popov <natrycbcbi@lnubb.pbz> [2009-09-26 02:01:39 -0700]: > > I am trying to read from serial port on windows using > http://downloads.sourceforge.net/project/clisp/clisp/2.48/clisp-2.48-win32-mingw-big.exe. > The problem is that read-char-no-hang-p hangs when there is no data on serial interface. > > sample session is: > CL-USER> (defvar com (open "COM3" :direction :io)) > COM > CL-USER> com > #<IO UNBUFFERED FILE-STREAM CHARACTER #P"COM3" @1> > ... > CL-USER> (read-char-will-hang-p com) - Hang please compile with debug symbols (./configure --with-debug), run under gdb, stop in fd_read_wont_hang_p, and see where you hang. thanks. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) http://ffii.org http://camera.org http://jihadwatch.org http://iris.org.il http://memri.org http://dhimmi.com http://mideasttruth.com http://pmw.org.il Experience comes with debts. |