From: Tijl C. <ti...@ul...> - 2003-09-19 19:38:29
|
On Thu, 18 Sep 2003 20:46:24 +0200, Romain Lievin wrote: > > I got it working again, but I don't have a nice solution yet. What I > > did is setting VMIN=1 en VTIME=0 in tig_open() in libticables, so it > > waits indefinitely for a byte to read. VMIN=0 and VTIME=15 (normal > > values) doesn't work and gives a timeout error almost immediately as > > in, it doesn't wait 1,5 seconds. The strange thing is that the > > gtk1version still works flawlessly without any of these > > modifications. What's going on here? Are Linux versions affected > > too? > > Could you see whether the timeout value is passed fine to the lib. It > may explain your problem... No problem there. Hardcoding the timeout value into the lib gives the same problem, even if I set it to 50, "read" returns immediately with no bytes read and thus giving a time out error. Does that mean it reads an EOF? > BTW, are you 'root' ? yes. |