[GRASS5] Multiple sessions

Glynn Clements glynn.clements at virgin.net
Thu May 13 15:05:36 EDT 2004


Radim Blazek wrote:

> Are there any objections to enable multiple sessions 
> (one per mapset) in 5.7? Basically:
> 
> cp $HOME/.grassrc57 /tmp/grass57-$USER/gisrc.$$
> set GISDBASE, LOCATION_NAME, MAPSET
> check $LOCATION/.gislock
> run GRASS session
> rm -f $LOCATION/.gislock
> cp /tmp/grass57-$USER/gisrc.$$ $HOME/.grassrc57
> rm -f /tmp/grass57-$USER/gisrc.$$

There is one set of monitors per user, but monitors are tied to the
session in which they are started due to the redraw-on-resize code
(any commands will be run with $GISRC set to the value which the
driver inherited from mon.start).

I think that we would really need to have one set of monitors per
session. Either that, or just remove the redraw-on-resize code (which
would be a good thing in any case).

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list