Ticket #83 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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

follow-ups: ↓ 2 ↓ 3   Changed 5 years ago by jef

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   Changed 5 years ago by jef

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 ; follow-up: ↓ 4   Changed 5 years ago by hamish

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   Changed 5 years ago by hamish

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

follow-up: ↓ 6   Changed 5 years ago by 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

in reply to: ↑ 5   Changed 5 years ago by hamish

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

  Changed 5 years ago by dvictori

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 OsGeo?4W menu that says Grass+DOS prompt

I'm using WinXP and the OsGeo?4W installer says I got grass version 6.4.0svn3.

Daniel

  Changed 3 years ago by neteler

  • status changed from new to closed
  • resolution set to fixed

Should be fixed in the current version, otherwise reopen.

Note: See TracTickets for help on using tickets.