[328] in Zephyr_Bugs

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

fyi: from Allspice_Maintenance

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Tue Nov 19 15:45:39 1991

Date: Tue, 19 Nov 91 15:45:35 -0500
From: Ken Raeburn <Raeburn@MIT.EDU>
To: bug-zephyr@Athena.MIT.EDU
Cc: marc@Athena.MIT.EDU

Haven't looked at this carefully... do we want to include it?

Subject: zwgc fix
Date: Sun, 17 Nov 91 14:26:42 EST
From: metcalf@catfish.lcs.mit.edu (Chris Metcalf)
To: tuna@catfish.lcs.mit.edu
Cc: allspice-mtg@PTT.LCS.MIT.EDU, gino@catfish.lcs.mit.edu

You know how when you run zwgc on a non-X tty it doesn't work very
well?  Turns out someone never bothered to SIG_IGN the SIGTTOU that
zwgc gets when it writes its first message to the terminal.  I went and
added the appropriate signal(3) call in zwgc/main.c, and rebuilt zwgc
on all four platforms (vax via allspice and reconcile, sun4, pmax,
next).  Seems to work OK everywhere now.

Chris

*** 1.1	1991/11/17 18:47:15
--- main.c	1991/11/17 18:49:48
***************
*** 372,377 ****
--- 372,378 ----
        signal(SIGINT, SIG_IGN);
        signal(SIGTSTP, SIG_IGN);
        signal(SIGQUIT, SIG_IGN);
+       signal(SIGTTOU, SIG_IGN);
     } else {
        /* clean up on SIGINT.  exiting on logout is the user's problem, now. */
        signal(SIGINT, signal_exit);

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