[GRASS5] Driver Update

Glynn Clements glynn.clements at virgin.net
Fri Apr 27 19:54:46 EDT 2001


Glynn Clements wrote:

> > A related problem I found:
> > If you break a displaying module with CTRL-C, the monitor is blocked:
> > GRASS:~ > d.display
> >            # displaying something, then CTRL-C to kill due to above problems
> > GRASS:~ > Monitor <x0>: Premature EOF
> > 
> > GRASS:~ > d.erase
> > Monitor <x0>: Premature EOF
> > 
> > Same story with d.rast: if you CTRL-C it, the monitor is blocked.
> > In past this treatment was accepted and the monitor didn't die.
> > Closing is (of course) still possible. Could you change the treatment of
> > "Premature EOF" in the monitor to keep the monitor working?
> 
> This implies that some state is being retained between connections. 
> This shouldn't happen, and I can't immediately see how it is
> happening. I'll look into it.

Looked into it; the "eof" flag wasn't being cleared at the start of a
new connection; once set, it stayed set.

Fixed and committed.

NB: this isn't related to Justin's problem, unfortunately; it only
causes process_command() to indicate EOF, not get_command().

-- 
Glynn Clements <glynn.clements at virgin.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