Opened 14 years ago
Closed 10 years ago
#73 closed defect (fixed)
grass64 file has non-general file path
|Reported by:||cnielsen||Owned by:|
This should be easy to fix. It is the grass64 file in /osgeo4w/apps/grass/bin. Under GISBASE it has "/c/OSGeo4W/apps/grass/grass-6.4.0svn" as default rather than the path that I installed osgeo4w to (not c:\osgeo4w).
Change History (6)
comment:1 by , 14 years ago
follow-up: 3 comment:2 by , 14 years ago
As the terminal seems to be unavailable when starting with the grass.bat icon, personally I would like that file to be left in place. As far as I have found, the only way to keep a functional terminal is to open msys and start grass using this grass64 file (after adding /osgeo4w/apps/grass/bin to PATH in /etc/ini/grass.bat) see <http://trac.osgeo.org/grass/ticket/533>
Also when using msys for other functions (compiling, etc.) it is nice to be able to still start grass from the command line. Is there some way to make both of these function?
comment:3 by , 14 years ago
Replying to cnielsen:
As the terminal seems to be unavailable when starting with the grass.bat icon, personally I would like that file to be left in place.
hm, on Windows
grass64.bat and not the
grass64 seems to be the intended way to start GRASS. Therefore
grass64.bat was customized and copied to /bin for OSGeo4W.
apps/grass/grass-6.4.0svn/etc/Init.bat which in turn starts the text or GUI interface and doesn't leave a command prompt open in the latter case.
So if the current behaviour is not intended
Init.bat is the place to change that.
comment:4 by , 14 years ago
Yes as far as I know that's all correct.
I have found a way to modify
msys.bat to automatically start grass (using the
grass64 file, and therefore
init.sh) and have the terminal left available. I think having a terminal is fairly fundamental to grass's functionality, so maybe this approach would be better than having a whole other windows startup system (unless there are more fundamental reasons to having the
Basically I just changed line 95 of
start %WD%rxvt...) to execute
follow-up: 6 comment:5 by , 10 years ago
Is this still an issue?
comment:6 by , 10 years ago
|Status:||new → closed|
Replying to neteler:
Is this still an issue?
I would say that it was fixed.
looks like the fix is to remove /apps/grass/bin completely as they are unused and GRASS should be invoked throught grass64.bat in /bin.