Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!hubcap!rajohn From: rajohn@hubcap.clemson.edu (r alan johnson) Newsgroups: comp.windows.x Subject: Non-event driven SunView Message-ID: <5614@hubcap.clemson.edu> Date: 26 May 89 13:29:35 GMT Organization: Clemson University, Clemson, SC Lines: 14 I'm interested in porting an app in Fortran from the PC to a sun 3workstation. All of the graphics are very straight-forward, being only line draws, etc, but there seems to be a major point of contention. In X, to do the same sort of "non-event driven" sort of thing, I just placed an XPending after every output, so that the buffer is flushed, whether an event is pending or not. I can't seem to find an equivalent call in SunView. The only way I can generate any output is via the window_main_loop(frame) call, which then proceeds to block until something is done. In order that I might not have to completely rewrite the Fortran code to accomodate the event-driven nature, (BTW, I will need access to the mouse as well), does SunView provide such a beast that functions like XPending? If not, any suggestions? Thanks, R. Alan Johnson (rajohn@hubcap.clemson.edu)