On Wed, Dec 8, 2010 at 3:13 PM, Todd Freed <[email protected]> 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
> at once.
>
> What would be ideal it seems to be is to add the pid of the current screen
> session to my harstatus line, so I could just with a glance get that pid for
> attaching purposes.
>
> However from my perusal of the docs, it doesn't seem like the pid is one of
> the supported variables.
>
>
If you are using the development version (
http://git.savannah.gnu.org/cgit/screen.git), you can use "%p" or "$PID".

Cheers.
Sadrul
_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to