[email protected]
[Top] [All Lists]

Re: saving session status every once in a while

Subject: Re: saving session status every once in a while
From: Wolfgang Hennerbichler
Date: Fri, 2 Jul 2010 10:43:21 +0200

I'm using the following .screenrc to make this more or less permanent: 

hardstatus alwayslastline
hardstatus string '%c %{+b}%h%{-b} (%n - %t) %w'
defscrollback 10000
sessionname whateveryoulike

setenv SSH_AUTH_SOCK $HOME/.ssh-agent-screen.groups

zombie kr

# create the first group of sessions
screen -t wogri.at //group
# ssh-agent within the screen 
screen -t shit 0 ssh-agent -a $SSH_AUTH_SOCK -t 43200 $SHELL
# first session to a server
screen -t xen1 0 ssh [email protected]
# second session 
screen -t xen1 0 ssh [email protected]
# and so on :) 

On Jul 2, 2010, at 10:34 , 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.
> _______________________________________________
> screen-users mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/screen-users


screen-users mailing list
[email protected]

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