[GRASS-dev] Re: [GRASS GIS] #693: wxGUI menus: i.ortho.photo locks
up GUI
GRASS GIS
trac at osgeo.org
Thu Dec 17 08:35:14 EST 2009
#693: wxGUI menus: i.ortho.photo locks up GUI
---------------------+------------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
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 hamish):
Replying to [comment:20 cmbarton]:
> This works, but there is not much point to the change. Calling
> d.mon just has the Terminal start xterm. If there is no xterm
> package, it will fail non-gracefully.
>
> To avoid an xterm, we need to run the grass-xterm-mac wrapper
> for d.mon, not the text prompt/response interface.
? d.mon doesn't go near an xterm. it just starts the x0 display
window.
the xterm (or xterm-alike) is launched later. $GRASS_UI_TERM is
set to avoid the curses based text window "TUI" ending up as broken
rubbish in the tcl/wx module GUI output window. The question/response
parser stuff is just an unfortuante byproduct of that.
> You can try to switch it or I can try later this week.
I already have changed it to try the mac wrapper (in 6.5).
Q: how to get wxgui.py to detect Cygwin so that does try an xterm instead
of a "start" dos box? is there a $CYGWIN enviro var or similar? os.* or
sys.* smart enough to pick it up?
> I agree about the greyout for Windows users. I think it can be
> done but need to figure out how.
worst case a patch could be applied as part of the mswindows packaging
script.
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/693#comment:21>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list