screen-users
[Top][All Lists]
Advanced

[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: Mon, 12 Jul 2004 08:25:22 -0400
User-agent: Mutt/1.5.4i

On Fri, Jul 09, 2004 at 04:34:03PM -0400, Buddy Burden said:
> 
> >That will likely return nothing but the ps process, and on that line
> >will be the tty/pts/whatever.
> 
> Sure, I can figure out the tty of a given window pretty easily.  I need 
> to know the other way 'round: how to figure out the window of a given tty.

Ah.  That's in the "WINDOW" variable.


-- 
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

Attachment: pgpfmyPTzgo65.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]