[810] in Zephyr_Bugs
Re: Zepphyr-2.0.4 zwgc doesn't use ZGetWGPort()
daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Aug 4 23:23:20 1996
Date: Sun, 4 Aug 1996 23:23:13 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: Jeremy Sugerman <yoel@cyclone.Stanford.EDU>
Cc: zephyr-bugs@MIT.EDU
In-Reply-To: "[807] in Zephyr_Bugs"
> However, it turned out after adjusting it that zwgc doesn't call
> ZGetWGPort! All of the other clients that needs to know the port
> number do, but, despite linking against libzephyr, zwgc has an
> internal routine get_zwgc_port_number() that almost exactly
> duplicates the ZGetWGPort() library routine. Is there a specific
> reason it doesn't just use the library function?
Probably not. I'll take a look at it and probably fix it for the next
2.1 beta release. (Since it's not a user-visible bug, I'm not going
to bother with it for 2.0.)
A simple workaround for your problem is to set the WGFILE environment
variable to something like /tmp/wg.$user.$$ in one of your login
dotfiles (where $$ is the pid of the shell in question). This is not
necessarily an answer for someone supporting zephyr for multiple
users, of course.