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
subject or body 'help' to screen-users-requ...@gnu.org You can reach the person managing the list at screen-users-ow...@gnu.org When replying, please edit your Subject line so it is more specific than "Re: Contents of screen-users digest..." Today's T

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

screen pid in hardstatus

2010-12-11 Thread Todd Freed
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 at once. What would be ideal it seems to be is to add th