[QGIS-trac] Re: [Quantum GIS] #1680: New GRASS shell does not display command gui

Quantum GIS qgis at qgis.org
Tue Jul 21 14:40:33 EDT 2009


#1680: New GRASS shell does not display command gui
-----------------------------------------------------+----------------------
        Reporter:  cgsbob                            |         Owner:  nobody       
            Type:  bug                               |        Status:  reopened     
        Priority:  major: does not work as expected  |     Milestone:  Version 1.2.0
       Component:  GRASS                             |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by cgsbob):

 Replying to [comment:14 rugginoso]:
 > Yes, I've found the problem: the startup script ($GISDATA/etc/Init.sh)
 make some cleanups when closing (see the line 1012 in grass64). It copy
 the session rc which is normally located in /tmp/grass6-$USER-$PID to the
 user one which is located in ~/.grassrc6.[[BR]]
 > One solution could be rename ~/.grassrc6 to something other and at the
 and rename it back (as done with lock file). This is a dirty solution,
 other ideas?
 I'm not a C++ programmer, but I noticed that the line:

 {{{
 env << "GISRC_MODE_MEMORY";
 }}}
 Does that mean that ~/.grassrc6 will not be touched?  I searched around
 and found that GDAL also uses GISRC_MODE_MEMORY (see line 818 in
 [https://svn.osgeo.org/gdal/trunk/gdal/frmts/grass/grass57dataset.cpp] and
 I know it doesn't touch my ~/.grassrc6 file.  So, maybe there is something
 in the link above that might help you?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1680#comment:15>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list