[Gretl-devel] dotdir

Sven Schreiber svetosch at gmx.net
Fri May 4 02:22:29 EDT 2007


Allin Cottrell schrieb:

> In running on XP, I noticed that the CWD was
> 
> c:\Program Files\gretl
> 
> ("set" in the gretl console shows you the value of shelldir).
> 
> I think this sort of confirms my notion that banking on a 
> user-writable initial CWD may not be a good idea.  
> 

If it is essentially equal to @gretldir in many cases, then yes.

So this will break the existing py4gretl setup, but that's ok, I will
prepare new versions which should use @userdir for the temp files
always, now that I know how it's done.

IIRC the usage of @userdir was changed after 1.6.2 (the double-quote
wrapping issue, at my request actually -- or was it before 1.6.2?). So
I'm wondering, is there a way to use @userdir (maybe in combination with
set shelldir) such that it will be backwards compatible with old-style
usage as well?

thanks,
sven


More information about the Gretl-devel mailing list