screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving session status every once in a while


From: Gerald Young
Subject: Re: saving session status every once in a while
Date: Fri, 2 Jul 2010 05:04:19 -0500
User-agent: KMail/1.9.9

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]