1 #ifndef lint 2 static char sccsid[] = "@(#)close.c 4.1 (Berkeley) 11/10/83"; 3 #endif 4 5 #include <signal.h> 6 #include "bg.h" 7 8 closepl() 9 { 10 /* recieve interupts */ 11 signal(SIGINT, SIG_IGN); 12 13 /* exit graphics mode */ 14 putchar( ESC ); 15 printf("[H"); 16 exit(0); 17 } 18