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: Wolfgang Hennerbichler
Subject: Re: saving session status every once in a while
Date: Fri, 2 Jul 2010 10:43:21 +0200

Hi, 

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 address@hidden
# second session 
screen -t xen1 0 ssh address@hidden
# 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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/screen-users

-- 
http://www.wogri.com




reply via email to

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