#693: wxGUI menus: i.ortho.photo locks up GUI ---------------------+------------------------------------------------------ Reporter: hamish | Owner: [email protected] Type: defect | Status: new Priority: major | Milestone: 6.4.0 Component: wxGUI | Version: svn-develbranch6 Resolution: | Keywords: i.ortho.photo Platform: All | Cpu: x86-64 ---------------------+------------------------------------------------------ Comment (by cmbarton):
My only change so far has been to the code for Mac. On that platform, you have something called xterm (and it can be a couple of different things) or you don't. Good point that there needs to be error trapping for the times when you don't. This is easy to add. ISTR that the xterm wrapper for Mac was a port from the Linux xterm wrapper Linux. It has always been iffy for working on the Mac, even in TclTk. The terminal won't substitute for an xterm in the commands that require one, primarily because of need for graphics. The terminal can open an xterm at need, but only if xterm exists. Also, this doesn't always work right for the old commands that expect one. Hence the need to guarantee one--and as you note, gracefully trap the situations where Mac owners have not installed xterm. I left all the linux stuff alone because I'm not sure what the context for the wrapper is. But it might be better if there is an environmental variable GRASS_XTERM that is set to a platform specific value than a script that tries to figure it out. On the other hand, this may not be worth the trouble for the remaining life of version 6. Michael -- Ticket URL: <https://trac.osgeo.org/grass/ticket/693#comment:7> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
