[GRASS-GUI] Re: [GRASSGUI] wxgrass wishes: have 1 GUI window instead of many

Glynn Clements glynn at gclements.plus.com
Wed Nov 28 05:24:04 EST 2007


Trevor Wiens wrote:

> > I always raised my hand for having the GUI completely manageable from
> > command line. When I started to work on wxgrass, I tried hard to have
> > the map windows independent on the manager windows. Set of command line
> > commands was provided, which where wrappers for raster and vector
> > commands -- see
> > https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/scripts/#_trunk_grassaddons_gui_scripts_
> >  for examples. I used temporary files for the communication, because of
> > AFAIK, there are problems with sockets on non-unix platforms (correct
> > me, if I'm wrong).
> 
> unix style sockets yes, but not TCP sockets which are quite a robust
> cross-platform solution to achieve this result using Python.

The problem with TCP sockets is that you need to code some form of
authentication mechanism. With a Unix-domain socket, you can just set
the permissions to 0600 so that only the owner can connect to it.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-gui mailing list