[GRASS5] closing monitors by click

Andreas Lange Andreas.Lange at Rhein-Main.de
Wed Nov 29 08:06:41 EST 2000


Hi Markus, Hi Justin,

you can close the grass monitor on Linux with the "Kill" option too (i
use a lesstif/motif window manager on linux that has the
IRIX-look-and-feel). But you can not restart the same (x0..) driver
again, as the lockfile is not removed.
On the SGI i can close the monitor with close or exit (mouse) and
re-open it again. 

This all seems to be for the same reason that d.mon -L does not work on
linux. I see now that i was looking in the wrong place (SWITCHER.c), the
problem must be somewhere in the code that checks for the monitors
running. There must be a timeout/deadlock, as d.mon -L hangs forever if
it encounters a running monitor. 
This may be because some system call have other semantics on linux than
on commercial unix. 

I'll look into this, until now i can only close the monitor on linux and
re-open it after i call d.mon -L once. This produces an error message
and the lock seems to be gone.

cu,

Andreas

Justin Hickey wrote:
> 
> Hi Markus, Andreas
> 
> Andreas Lange wrote:
> > Markus Neteler wrote:
> > >
> > > an annoying problem is that you cannot close GRASS monitors
> > > by mouse click.
> 
> Just to let you know, on SGI, it appears that closing Grass monitors by
> mouse click (ie using the window manager "close" option - there is no
> "x" button on SGI window borders) works fine even after exiting grass. I
> don't know if this helps with anything, but I thought I would let you
> know.

-- 
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange at Rhein-Main.de - A.C.Lange at GMX.net


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list