[GRASS5] G_sock_*, XDRIVER, and other fun...

Eric G . Miller egm2 at jps.net
Mon Feb 12 01:58:07 EST 2001

On Mon, Feb 12, 2001 at 01:42:30PM +0700, Justin Hickey wrote:
> I can take care of the Init code, including the clean function that is
> called at the end of grass to remove the tmp files. One thing though is
> that I would like to drop the version number. Since Grass 4.x didn't
> have a $HOME/.grass directory there will be no conflict with it. Having
> the version in the top source directory is fine, but keeping it in
> executables and resource files is a pain when the version changes. Does
> anyone have objections?

No argument here.

> The migration code should be fairly simple. In fact we can make a new
> script strictly for the migration so it would be easy to remove later.
> The only things I can see to include in the script would be:
> o move the $HOME/.grassrc5 file to $HOME/.grass/grassrc
> o move the $HOME/.tcltkgrassrc file to $HOME/.grass/tcltkgrassrc

Maybe the Init code could handle this without the need for a separate
script? Should grassrc contain a version string for later updates (with
a well defined structure like Major.Minor.Revision)?

> o remove any tmp directories in known mapsets (they shouldn't be there
>   in the first place but just in case)

No opinion...

> We can do this for 5.0 and then remove the script for 5.1. Hopefully,
> everyone will have upgraded to 5.0 by then. If not, the worst case is
> that grass will start as if it was running for the first time, and if
> the user complains, we can get them to check for the old files. What do
> you think?
> Does anyone see anything we might have missed?
> BTW, has Markus commented on this yet?

Not that I'm aware of...

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