[949] in Zephyr_Bugs

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

Re: zwgc pid issues

daemon@ATHENA.MIT.EDU (Marc Horowitz)
Tue Jul 28 16:29:45 1998

To: Gene Skonicki <gene@imsa.edu>
Cc: Greg Hudson <ghudson@MIT.EDU>, zephyr-bugs@MIT.EDU
From: Marc Horowitz <marc@cygnus.com>
Date: 28 Jul 1998 16:29:37 -0400
In-Reply-To: Gene Skonicki's message of Tue, 28 Jul 1998 08:20:56 -0500

Gene Skonicki <gene@imsa.edu> writes:

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

Unix doesn't work that way.  zwgc can't set an env var for the parent
shell.

The simplest answer requires no changes at all.  Put something like
this in your .login, .xinitrc, or other equivalent file:

	setenv WGFILE /tmp/wg.$USER.$$

or

	WGFILE=/tmp/wg.$USER.$$; export WGFILE

zwgc and zctl will both read this and do the right thing.

		Marc

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