simon-svn: putty: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Mon Aug 28 19:26:51 BST 2006
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 6827
Date: 2006-08-28 19:26:50 +0100 (Mon, 28 Aug 2006)
Log message (10 lines):
Reading 4K at a time from a serial port turns out to be a bit
unfriendly in an interactive session, because at 19200 baud it takes
nearly two seconds to receive that much data, and as long as the
data is flowing continuously Windows waits until it has a full
buffer. So here's another annoying flag in the winhandl API, which
restricts reads to length 1 so that serial output shows up as it
appears.
(I tried this yesterday, but without the OVERLAPPED fix in r6826 it
behaved very erratically. It now seems solid.)
Modified files:
U putty/windows/winhandl.c
U putty/windows/winser.c
U putty/windows/winstuff.h
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6827&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/windows/winhandl.c?rev=6827&r1=6826&r2=6827
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/windows/winser.c?rev=6827&r1=6826&r2=6827
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/windows/winstuff.h?rev=6827&r1=6826&r2=6827
More information about the tartarus-commits
mailing list