Opened 15 years ago

Closed 12 years ago

#83 closed defect (fixed)

grass pkg: terminal not available until you exit the gui

Reported by: hamish Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: grass
Cc:

Description

Hi,

with the latest grass package (6.4.0svn), you don't get access to the grass terminal prompt until you have exited the TclTk or wxPython GUI. it's just a blank DOS box until that time.

? thanks, Hamish

Change History (8)

comment:1 by jef, 15 years ago

not reproducable in 6.4.0svn-2 for wxpython. But for Tcl/Tk:

Fix:

--- Init.bat.orig       2009-05-05 15:18:39.828125000 +0200
+++ Init.bat    2009-05-05 15:19:16.296875000 +0200
@@ -106,9 +106,9 @@
 if %errorlevel% == 2 goto exitinit
 
 if not "%GRASS_WISH%"=="" (
-       "%GRASS_WISH%" "%WINGISBASE%\etc\gm\gm.tcl"
+       start /b "GRASS Tcl/Tk" "%GRASS_WISH%" "%WINGISBASE%\etc\gm\gm.tcl"
 ) else (
-       "%WINGISBASE%\etc\gm\gm.tcl"
+       start /b "GRASS Tcl/Tk" "%WINGISBASE%\etc\gm\gm.tcl"
 )
 
 "%WINGISBASE%\etc\clean_temp" > NUL:

in reply to:  1 comment:2 by jef, 15 years ago

Replying to jef:

--- Init.bat.orig       2009-05-05 15:18:39.828125000 +0200
+++ Init.bat    2009-05-05 15:19:16.296875000 +0200

}}}

applies to apps/grass/grass-6.4.0svn/etc/Init.bat

in reply to:  1 ; comment:3 by hamish, 15 years ago

Replying to jef:

not reproducable in 6.4.0svn-2 for wxpython.

oops, correct.

But for Tcl/Tk:

Fix:

just as long as we don't lose any error or warning messages that are sent to the terminal -- we still need all the debugging info we can get our hands on.

thanks, Hamish

in reply to:  3 comment:4 by hamish, 15 years ago

Replying to jef:

But for Tcl/Tk:

Fix:

applied in 6.5svn in rev37705. will port to other branches later today.

see also osgeo4w bug #71

Hamish:

just as long as we don't lose any error or warning messages that are sent to the terminal -- we still need all the debugging info we can get our hands on.

i.e. clean_temp > NUL:

Hamish

comment:5 by dvictori, 15 years ago

Just installed Grass6.4 svn3 (from osgeo4w) and I can't get access to the DOS terminal when I run Grass wxpython. So I don't know if the ticket does not apply to wxpython as Jeff says

in reply to:  5 comment:6 by hamish, 15 years ago

Replying to dvictori:

Just installed Grass6.4 svn3 (from osgeo4w) and I can't get access to the DOS terminal when I run Grass wxpython. So I don't know if the ticket does not apply to wxpython as Jeff says

dumb question: do you start Grass wxpython using the Start Menu + version which says +DOS prompt, or just by double clicking on the desktop icon? (which doesn't give you a dos box)

Hamish

comment:7 by dvictori, 15 years ago

I'm starting Grass from the desktop icon (Grass GIS wxpython) which does open a dos prompt but I can't use it. If I go through the start menu (start / osgeo4w / grass gis / wxgui) I get the same results, an open but unresponsive DOS prompt.

I don't see any option on the OsGeo4W menu that says Grass+DOS prompt

I'm using WinXP and the OsGeo4W installer says I got grass version 6.4.0svn3.

Daniel

comment:8 by neteler, 12 years ago

Resolution: fixed
Status: newclosed

Should be fixed in the current version, otherwise reopen.

Note: See TracTickets for help on using tickets.