On Friday 03 May 2002 05:09 pm, Ben wrote:
I've been playing around with trying to compile XFractint on Cygwin/ XFree86 (the latest of everything) and I was wondering if anyone had had any luck? My c/c++ skills are non-existent, but it seems clear that this thing should work if someone "in the know" were to sort out the #include and #define issues. The only horrible show-stopper I've found (I think, anyway) is use of FIONREAD for keyboard handling. It *is* defined under Cygwin (in asm/socket.h), but I don't think it works quite right (translation: when I run the resulting executable, it ignores the keyboard completely. The other issue that seems somewhat serious involves all the "big math" functions ('frexpl', et al). I kludged around enough to get a compile to finish, but the result doesn't actually plot anything on screen (hey, I'm happy it doesn't lock up the machine!). Any help would be greatly appreciated. I *really* think this would be an easy port for someone with the know-how...
Try replacing this line: if (input_pending()) { with this: if (XEventsQueued(Xdp,QueuedAlready)) { If that it works, I'll put it in my next patch. Jonathan