
11 Oct
2001
11 Oct
'01
3:09 p.m.
On Thu, Oct 11, 2001 at 01:28:39PM +0200, Volker Stolz wrote:
In local.glasgow-haskell-users, you wrote:
interact hIn = do line <- hGetLine hIn numIn <- handleToInt {-made from handleToFd & fdToInt-} -- threadWaitRead numIn {-3-}
Why should uncommenting -3- help when it happens *after* the hGetLine?
It doesn't. It helps if going before. My fault. I pasted to the msg somehow edited code, so the additional lines and comments was not checked.
Is your Tcl-app printing out "click" or "click\n", i.e. with the additional linefeed?
Command 'puts "click"' makes implicit line brake, so yes, "click\n"
Did you try disabling blocking entirely?
I tried. No effect, as expected. Max.
8672
Age (days ago)
8672
Last active (days ago)
0 comments
1 participants
participants (1)
-
Max A . K .