From 3f21a821fc7fa8cdd4e30947b1c7063e3e0fae57 Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Sat, 25 Jun 1983 09:53:18 -0800 Subject: [PATCH 1/1] fix ^Z SCCS-vsn: games/canfield/canfield/canfield.c 4.8 --- usr/src/games/canfield/canfield/canfield.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/src/games/canfield/canfield/canfield.c b/usr/src/games/canfield/canfield/canfield.c index 778f037b22..4145a2a4f2 100644 --- a/usr/src/games/canfield/canfield/canfield.c +++ b/usr/src/games/canfield/canfield/canfield.c @@ -1,6 +1,6 @@ /* Copyright (c) 1982 Regents of the University of California */ -static char sccsid[] = "@(#)canfield.c 4.7 %G%"; +static char sccsid[] = "@(#)canfield.c 4.8 %G%"; /* * The canfield program @@ -1256,6 +1256,7 @@ suspend() #endif raw(); noecho(); + wrefresh(curscr); } /* @@ -1596,6 +1597,7 @@ main(argc, argv) signal(SIGHUP, cleanup); signal(SIGTERM, cleanup); initscr(); + signal(SIGTSTP, SIG_DFL); /* avoid tstp in curses */ raw(); noecho(); initall(); -- 2.20.1