Hi,
On Solaris--and other Unices, I imagine--subsidiary gnuserv process
use a pty to speak to XEmacs, which is mode 660, group tty, by
default. This means that write(1) and talk(1) think they can talk to
the invoking user on that pty. The below patch, to XEmacs /
xemacs/lib-src/gnuserv.c changes that.
Thanks,
- Aidan Kehoe
--
"I have heard the swelling cry of the English speaking peoples of the
world, and it tells me their cause is served best by flaming the few
complacent asses on usenet." -- T. Samant, 29 June 1997
--- gnuserv.c?rev=1.15 2003-02-25 10:58:02.554996533 +0000
+++ gnuserv.c 2003-02-25 11:00:55.064710714 +0000
@@ -883,6 +883,10 @@
#endif
if (!tmpdir)
tmpdir = "/tmp";
+
+ /* "mesg n" */
+ fchmod(fileno(stdout), 0600);
+
#endif /* WIN32_NATIVE */
#ifdef USE_LITOUT
{