how to re-define the HOME directory?



On Tue, Jun 2, 2009 at 11:32 AM, Leo Butler <l.butler at ed.ac.uk> wrote:

> Can you point me in the general direction (source files...).

I think most of the initialization stuff is handled in src/init-cl.lisp.

> You are proposing a user-invoked function, in which a user could
> set maxima_tempdir (to say /tmp) and the function would create a uniquely named
> temporary directory in maxima_tempdir (like /tmp/tmpAcfae, etc), and
> then that function would change maxima_tempdir to its uniquely named
> temporary directory?

Well, actually I was thinking that the plotting code or any other
code which writes a temporary file would call mkstemp or
its equivalent to get a new file name. All such files would
go in the same directory (the one named by maxima_tempdir).
I was intending to hide the temp name stuff from the user.

best

Robert Dodier