[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Script knowing if in screen / screen window correponding to tty
From: |
Shawn McMahon |
Subject: |
Re: Script knowing if in screen / screen window correponding to tty |
Date: |
Fri, 9 Jul 2004 13:26:36 -0400 |
User-agent: |
Mutt/1.5.4i |
On Fri, Jul 09, 2004 at 12:16:43PM -0400, Buddy Burden said:
>
> 2) Is there any way to know what screen window corresponds to a given
> tty? I generally have so many screen windows open that it's easy for me
ps -ef | grep farfergnugan
That will likely return nothing but the ps process, and on that line
will be the tty/pts/whatever.
The rest is an exercise for your awk fu.
--
Shawn McMahon | Let's set the record straight. There is no argument
EIV Consulting | over the choice between peace and war, but there is
UNIX and Linux | only one guaranteed way you can have peace - and you
http://www.eiv.com | can have it in the next second - surrender. - Reagan
pgp2nWFSXIbpx.pgp
Description: PGP signature
- Script knowing if in screen / screen window correponding to tty, Buddy Burden, 2004/07/09
- Re: Script knowing if in screen / screen window correponding to tty, Jason White, 2004/07/09
- Re: Script knowing if in screen / screen window correponding to tty, Buddy Burden, 2004/07/09
- Re: Script knowing if in screen / screen window correponding to tty, Jason White, 2004/07/11
- Re: Script knowing if in screen / screen window correponding to tty, Jason White, 2004/07/11
- Re: Script knowing if in screen / screen window correponding to tty, Buddy Burden, 2004/07/12
- Re: Script knowing if in screen / screen window correponding to tty, Jason White, 2004/07/12
- Re: Script knowing if in screen / screen window correponding to tty, Buddy Burden, 2004/07/13
Re: Script knowing if in screen / screen window correponding to tty,
Shawn McMahon <=
Re: Script knowing if in screen / screen window correponding to tty, Sami Samhuri, 2004/07/09
Re: Script knowing if in screen / screen window correponding to tty, Thomas Köhler, 2004/07/11