When I close the window containing an XCurses application on Linux (Fedora 13), the helper process kills the main application and the exit code is 137.  Might there be a more gentle way, along the lines of the window resized message?  This would allow me to close the application a bit more gracefully?  Thanks,  j.