[Top] [All Lists]

Re: saving session status every once in a while

Subject: Re: saving session status every once in a while
From: Gerald Young
Date: Fri, 2 Jul 2010 05:04:19 -0500
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:

I included the scripts I use in:

In that archive you can look into:

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

<Prev in Thread] Current Thread [Next in Thread>