Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!orca!undies!pmartz From: pmartz@undies.dsd.es.com (Paul Martz) Newsgroups: comp.graphics Subject: SGI GL -- program dies after window closes? Message-ID: <1991Mar26.220929.12353@dsd.es.com> Date: 26 Mar 91 22:09:29 GMT Sender: usenet@dsd.es.com Reply-To: pmartz@undies.dsd.es.com (Paul Martz) Organization: Evans & Sutherland Computer Corp., Salt Lake City, UT Lines: 25 Nntp-Posting-Host: 130.187.85.56 Summary: I have a GL program on a Personal Iris which gives me my csh prompt back as soon as I call winopen, even though the program is still running. Can someone explain this behaviour? I would expect to NOT get the csh prompt back until I have given my program the command to exit. The program is supposed to work as follows: In a loop, prompt for input, open a window, draw some graphics, close the window, and loop back for more input. It actually works as follows: It prompts for input, and opens the window, but then I immediately get the csh prompt back, while the graphics is being drawn. It's as if the program has been put in the background, but the process does not show up as a shell background process, it only shows up with ps. So the graphics display, then the window sloses as expected, and the program displays the prompt for more input. However, the program is no longer running. I try to type in the input, but I'm talking to the c shell, not my program. A quick ps command reveals it is no longer running! Any help is appreciated. -- -paul pmartz@dsd.es.com Evans & Sutherland