This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /dev/tty read is broken!


John E. A. Wrote:
> However if I run the program full speed, or step through the fgetc() on 
> cygwin without previously typing a character into minicom, then the fgetc()
> call hangs.

I'm not familiar with the winsup/cygwin/fhandler_serial code, but if I was
going to debug this (which sounds like fun, but I don't have the setup), 
I'd run:
  strace test > test.dump
and see what's happening right before the ^C, then I'd look at the
cygwin code mentioned above. 

-steve

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]