[GRASS5] Driver Update

Glynn Clements glynn.clements at virgin.net
Tue Apr 24 21:26:40 EDT 2001


Malcolm Blue wrote:

> The XDRIVER seems to work fine.  Justin,  since you're having the problem with
> sync_driver() is it possible that libes/raster/io.c is still being copied from
> libes/raster/socket.new?  /socket.new shouldn;t exist anymore, but....

.. it shouldn't matter if it did.

The old libes/raster/io.c should work fine with the new XDRIVER, and
vice-versa. The protocol hasn't changed, and nothing on the client
side depends upon the code in src/display/devices.

The only thing that changed regarding src/libes/raster/io.c was that
the fifo.orig/socket.new versions were merged into a single file which
used #ifdef USE_G_SOCKS to determine which code to use.

The changes in src/display/devices were much more substantial. 
Previously, each driver had it's own version of the transport code
(connect.c and bits of SWITCHER.c); well, apart from the fact that the
sockets stuff was only implemented for XDRIVER; the other drivers
wouldn't work if you used sockets.

Merging this wasn't all that straightforward, due the need for XDRIVER
to process X events while waiting for a connection.

-- 
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