On Sat, 2009-01-17 at 16:10 +0000, Peter TB Brett wrote: > On Saturday 17 January 2009 16:05:31 Ales Hvezda wrote: > > [snip] > > > > >The general consensus so far seems to be to carry on generating log files > > > b= y=20 > > >default, but to put them in some central location. What to call them > > > and=20 where exactly that location should be ($HOME/.gEDA/logs? > > > $TMPDIR/gEDA?=20 Somewhere else?) seems to be up for debate. > > > > That's fine, as long as you solve the contention problem in > > a portable and robust fashion. > > > > For simplicity sake I'm okay with the log files going into $TMP/gEDA/logs > > with the pid in the filenamme. This should probably be configurable > > (so those who like the log files in the project dir can stay happy), > > with the new location behavior being the default. You could also move > > the undo files into $TMP/gEDA/undo etc... > > I'm actually okay with leaving the backup & undo files where they are. No-one > seems to complain about Emacs keeping its backup/undo files in the same > directory as the file being edited. Doing this has the added advantage that > if gschem crashes, and then someone tries to open the schematic as another > user/from another machine, they will receive the "do you want to recover" > dialog.
We need to fix the security implications of making known named files in $TMPDIR, and with that I'd suggest that we used a subdir (per process perhaps?). I can't find anything in my /tmp for gschem undo files after I've been working with gschem for a while. On the logs issue... Not a fan of them as they currently are - with gschem being the most likely contender to drop one where I don't want it - such as on my Desktop after I've opened some file I've temporarily stashed there after saving it out of an email. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

