next up previous contents
Next: backgrnd Up: XSPEC commands Previous: Examples:

autosave

Set or disable autosave, which saves the XSPEC environment to a file periodically.

XSPEC> autosave <option>

where <option> is either off or a non-zero positive integer. If the option is off, then auto-saving is disable. If the option is N, the the XSPEC environment is saved every N commands. The saving of the environment is equivalent to the command save all xautosav.xcm, ie. both the file and model information is saved to the file xautosav.xcm in the local directory. Thus in case of an unexpected crash, the state of XSPEC before the crash can be restored with the command source xautosav.xcm. The default value for the auto-save option is 1.



Keith Arnaud (kaa@genji.gsfc.nasa.gov)
Wed May 28 10:59:33 EDT 1997