|
From: Martin C. <cos...@wa...> - 2004-05-27 06:34:13
|
Jonathan Brandmeyer wrote: [] > Linux and OSX have suffered from this problem for quite a while, but I > think that I may have solved it. Please try out this patch and let me > know how it works for you. It should be applied to > cvisual/platlinux.cpp on the latest 2.1.x release. This seems to improve the situation (still for the gas.py demo): In most cases, I can now just type ESC in one of the two output windows and it exits cleanly. The problem is that this thing is not completely deterministic: In the old (unpatched) version, most of the time typing ESC in the animation window would close this window but leave the bar-graph window open and the process resistent against Ctrl-C. Even hitting the bar-graph window with xkill would only kill this window, but leave the python process running and unresponsive to Ctrl-C. It had to be killed with kill from another shell. In other cases (without recognizable pattern), upon hitting ESC in the animation window, it would empty that window but not close it and leave both windows unresponsive to attempts to close them. In this case, hitting Ctrl-C 3 times in the console window would kill the process and the windows. With the new (patched) version, most of the time, hitting ESC in one of two output windows closes both and exits the process. Sometimes, it left the windows empty but open and unclosable. But then Ctrl-C worked every time. In any case, the patch is now included in the updated Fink package. -- Martin |