> < ^ Date: Mon, 21 Mar 1994 15:49:00 +0100
> < ^ From: Andreas Caranti <caranti@science.unitn.it >
> ^ Subject: Saving a session

Dear gap-forum,

Harald Boegeholz writes:

I'd like to know if there is a way to save the current state of GAP in
a file, i.e., the contents of some or all variables. I am doing some
lengthy calculations and would like to save the results for later use.
Unfortunately, the printed representation of most objects is not
enough to recreate the object.

Actually, this question arose in the forum already some time ago, and
Martin gave a similar answer. There was something in the ensuing
discussion (I cannot remember whether it was Werner Nickel or Joachim
Neubueser who mentioned it) that I found very useful. Namely, one can
use GNU 'screen' utility to save (screen's word for it is 'detach') a
GAP session, say, and resume it exactly as it was later, even having
logged out. This solution is not (power failure)- or (machine
reboot)-proof, but it's a very useful tool and it's the best
approximation I am aware of to a solution to Boegeholz's problem.

All the best,

Andreas Caranti

---------------------------------------------------------------------------
A Caranti                             Office Phone        ++39 461 881618
Dipartimento di Matematica            Office Fax          ++39 461 881624
Universit\`a degli Studi di Trento    Home Phone (with answering machine)
I-38050 Povo (Trento)                                     ++39 461 916087
Italia

Email (please UPDATE if necessary):              caranti@science.unitn.it
                                or:     caranti@volterra.science.unitn.it

> < [top]