On Friday 02 July 2010 3:34:09 am Albert Vilella wrote: > Hi, > > Is there any way of saving one's session status every once in a while, > so that if the computer crashes, one can recover the different > screens, screen names, > and bash history in the session? > > Cheers, > > Albert. >
I currently use a set of scripts to save screen sessions. They preserve: - Session and window titles/numbers - Scrollback/history/working dir for bash instances - Vim session saving It's all explained in this thread: http://lists.gnu.org/archive/html/screen-users/2009-08/msg00015.html I included the scripts I use in: http://lists.gnu.org/archive/html/screen-users/2009-08/msg00024.html In that archive you can look into: SESSION_demo/main/screenrc SESSION_demo/main/save_screenrc SESSION_demo/main/bashrc Specifically to see how a bash window is saved/loaded with the scripts. From there you could make scripts that better suit your taste. Gerald Young _______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users