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

-- 
http://www.wogri.com


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to