The Startup and the Exit File

At the beginning of a session SPECTRA executes spectra_ini.gra. This file contains SPECTRA commands. It is supplied by the user. If spectra_ini.gra does not exist on the default directory, it is searched in the root directory (~/).

The startup file may contain shorthands for commands, e.g.:

quit = exit/nocon 
ss = show symbol

When a session is stopped, the exit handler calls the file spectra_exit.gra. The search order is the same as for the startup file. The exit file may be used to save settings which are restored by the ini-file.