Re: Detect whether attached or detached from screen session?

2008-10-13 Thread Peder Stray
On Tue, 14 Oct 2008, Trent W. Buck wrote: "Sven Hazejager" <[EMAIL PROTECTED]> writes: I'm using screen to keep some applications open over a remote SSH connection that sometimes is killed. What I would like to do, is to somehow find out whether I am logged in (attached) or disconnected from t

Re: Detect whether attached or detached from screen session?

2008-10-13 Thread Trent W. Buck
"Sven Hazejager" <[EMAIL PROTECTED]> writes: > I'm using screen to keep some applications open over a remote SSH > connection that sometimes is killed. What I would like to do, is to > somehow find out whether I am logged in (attached) or disconnected > from the screen session. > > Reason is that

Re: branching in screenrc?

2008-10-13 Thread Aaron Davies
finally got round to trying this, and i'm having some problems it's reading the file, and i can see the connections come up, but they disappear after a second or two the commands in the box-specific .screenrc file are just ordinary "screen" commands of the general form "screen -t ssh ", and they

Detect whether attached or detached from screen session?

2008-10-13 Thread Sven Hazejager
Hi all, I'm using screen to keep some applications open over a remote SSH connection that sometimes is killed. What I would like to do, is to somehow find out whether I am logged in (attached) or disconnected from the screen session. Reason is that I want procmail to send incoming mail to my Blac