.HD SAVE/RESTORE save restore .SH NAME save \- save the current session .br restore \- restore a saved session .SH SYNOPSIS .CS int save() .PP .CS int save(file_name) .CS char *file_name ; .PP .CS int restore() .PP .CS int restore(file_name) .CS char *file_name ; .SH DESCRIPTION .CO Save saves the current session in the file .FN saber.save or in a file specified by the user. .CO Save prompts the user for a comment to be included with the saved session. .PP .CO Restore loads a saved session from the specified file or from the file .FN saber.save if a filename is not specified. Any user comments in the save file are displayed when the session is restored. .SH BUGS .PP Information about open files is not saved with the session. Thus, saving a session while files are open may create problems when the session is restored, unless the exact same files have been opened again. Also, open files which are not open in the restored session might be closed improperly and data could be lost. .PP The state of the terminal is neither saved nor restored with a session.