[SLL] Screen

Mike Stunes stunes at MIT.EDU
Thu Jan 17 19:43:22 PST 2008


All this talk about screen got me interested.. anyway I've been playing 
around with it for a while and I like it.

What I'm wondering is, is it safe to have something like this in my .zshrc:

if [[ TERM != "screen" ]]; then
    exec screen
fi

That way, any time I open a new shell/xterm/whatever, it runs it in a 
screen session, and if I accidentally close the terminal window, it 
doesn't make my lovely emerge-in-progress go away with it. But is it 
safe to do something like that with every new shell?

Mike

Eric Kahklen wrote:
> Last year at LFNW I attended a great talk that mentioned the use of 
> screen for  remote interactions.  Does anyone know of a good website 
> that covers some of the basics?  I have a few sites I'd like to start 
> large copy jobs and then resume the connection vs. keep the session 
> open the whole time.
>
> Thanks,
> Eric
>



More information about the linux-list mailing list