* Copyright (c) 1983 Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* Edward Wang at The University of California, Berkeley.
* %sccs.include.redist.c%
static char sccsid
[] = "@(#)wwsuspend.c 3.15 (Berkeley) %G%";
oldsig
= signal(SIGTSTP
, SIG_IGN
);
(void) signal(SIGTSTP
, SIG_DFL
);
(void) signal(SIGTSTP
, SIG_IGN
);
(void) wwsettty(0, &wwnewtty
);
wwredraw(); /* XXX, clears the screen twice */
(void) signal(SIGTSTP
, oldsig
);