[GRASS5] sockets XDriver error

Eric G . Miller egm2 at jps.net
Wed Feb 14 21:20:07 EST 2001


For those who didn't catch it in the grass-commit log...

In order to build the sockets stuff successfully, one should probably do
a make clean first, and then run './configure --with-socks'.  It's
possible not to do a complete clean, but you still must run './configure
--with-socks' and you must make sure the d.mon/pgms/OBJ.$ARCH/start.o
is deleted (Make/gmake5 won't know to recompile start.c just because 
USE_G_SOCKS is now defined -- triggers some conditional compilation code
in start.c).

I've added some checks to prevent the same monitor being opened more
than once (at least while earlier incantations are still accepting
connections).

As far as the BackingStore problem with long running processes.  I don't
see any easy fix.  The functions that block like
Get_location_with_pointer(), need to set-up Xevent handling so
Serve_Xevents() can be called to handle things like Expose events, while
the events of interest are handled by the function itself (or another
function).  Probably trivial for someone who's real familiar with Xlib
functions (not me;).

-- 
Eric G. Miller <egm2 at jps.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