projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
misc bugs
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
wwsuspend.c
#ifndef lint
static char
*
sccsid
=
"@(#)wwsuspend.c 3.3 83/11/02"
;
#endif
#include
"ww.h"
#include
"tt.h"
#include <signal.h>
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
);
(*
tt
.
tt_init
)();
wwredraw
();
(
void
)
signal
(
SIGTSTP
,
oldsig
);
}