Re: screen pid in hardstatus

2010-12-13 Thread Todd Freed
Thanks for the suggestions everyone. I ended up doing a backtick command with both parameters set to zero, calling a script which itself simply calls getppid (get parent pid) and writes it to stdout -Todd On 12/11/2010 10:22 PM, Sadrul Habib Chowdhury wrote: On Wed, Dec 8, 2010 at 3:13 PM, To

RE: screen pid in hardstatus

2010-12-12 Thread Kit Gerrits
Hello Todd, Have you tried naming your screen sessions using 'screen -S ' ? AFAIK, it only works at creation time, but regular usage makes it very convenient. I've grown accustomed to creating a new screen session for each task. That way, I can always reconnect to the session I want. The on

Re: screen pid in hardstatus

2010-12-11 Thread Sadrul Habib Chowdhury
On Wed, Dec 8, 2010 at 3:13 PM, Todd Freed wrote: > Screen Users, > > Something that comes up for me from time to time is I want to attach to > currently running screen from elsewhere. The problem at this point is to > determine the pid of that session, since I am always running several screens >

Re: screen pid in hardstatus

2010-12-11 Thread Aaron Davies
On Wednesday, December 8, 2010, Todd Freed wrote: > Screen Users, > > Something that comes up for me from time to time is I want to attach to > currently running screen from elsewhere. The problem at this point is to > determine the pid of that session, since I am always running several screens