wwsuspend() { int (*oldsig)(); oldsig = signal(SIGTSTP, SIG_IGN); wwend(); (void) signal(SIGTSTP, SIG_DFL); (void) kill(0, SIGTSTP); (void) signal(SIGTSTP, SIG_IGN); (void) wwsettty(0, &wwnewtty, &wwoldtty); (*tt.tt_init)(); wwredraw(); (void) signal(SIGTSTP, oldsig); }
void wwquit() { wwend(1); exit(1); }