Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
> "Greg J. Badros" <gjb(a)cs.washington.edu> writes:
>
>
>
> > if (!hostarg)
> > hostarg = getenv("HOST");
>
> It would be better to just localhost I think.
I thought the same, but it didn't work for me in a quick try and I
didn't investigate further.
> > This would be nice, but not quite perfect as figuring out the PID of the
> > gnuserv processes is more troublesome than it needs to be (imagine the
> > script that starts the XEmacs running the gnus-process).
>
> I meant the PID of the XEmacs process that is running the gnuserv,
> that would be much easier to find out later.
> Anyway that would be just a minor change from your patch and your
> GNUSERV_ID is more general.
>
> > set the gnuservid. Use the gnuservid as the XXX suffix to the
> > /tmp/gsrvdir???/gsrvXXX filename.
>
> It is probably even better to also allow a name that is just
> /tmp/gsrvdir???/gsrv for those rare people who only start one gnuserv :-).
In retrospect, it might be better to have it default to "0" instead of
the gnuserv (or even the parent XEmacs) PID. That way nothing breaks
for users of only one gnuserv. (Alternatively, gnuclient would have to
scan the directory and find any live connection).
> Thanks for your patch. I'll put something like it in 21.2 (please be
> patient, I have my own dissertation.tex to finish!)
:-) Best of luck to you!
Thanks,
Greg