[947] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

Re: zwgc pid issues

daemon@ATHENA.MIT.EDU (Gene Skonicki)
Tue Jul 28 09:21:06 1998

To: Greg Hudson <ghudson@MIT.EDU>
Cc: zephyr-bugs@MIT.EDU
In-Reply-To: Your message of "Mon, 27 Jul 1998 22:51:04 EDT."
             <199807280251.WAA04244@small-gods.mit.edu> 
Date: Tue, 28 Jul 1998 08:20:56 -0500
From: Gene Skonicki <gene@imsa.edu>

In message <199807280251.WAA04244@small-gods.mit.edu>, Greg Hudson writes:
>> So, below is a one-line diff that makes each instance of zwgc unique
>> on a host and avoids unlink()'ing /tmp/wg.getuid().  I hope you'll
>> consider applying it.  It makes no functional difference for current
>> users, and for thsoe who have needs such as ours, it is a boon.
>
>It most certainly does have a functional different for current users;
>zctl would be unable to talk to a user's zwgc process.
>
>If possible, you should arrange set the WGFILE environment variable to
>something like /tmp/wg.$$ (pid of the shell) at login time.

Sorry.  Forgot about the mod to zctl.  Here's an alternate suggestion which I
can build a diff for later this morning: have zwgc generate filenames in the
same way as I wrote.  Also, ahve zwgc set set WGFILE by default.  This way, we
retain functionallity and add multi-session schtuff.

Gene

home help back first fref pref prev next nref lref last post