1*48504Sbostic /*- 2*48504Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*48504Sbostic * All rights reserved. 4*48504Sbostic * 5*48504Sbostic * %sccs.include.proprietary.c% 619851Sdist */ 719851Sdist 815413Sralph #ifndef lint 9*48504Sbostic static char sccsid[] = "@(#)close.c 5.4 (Berkeley) 04/22/91"; 10*48504Sbostic #endif /* not lint */ 1115413Sralph 1215413Sralph #include <signal.h> 1315413Sralph #include "bg.h" 1415413Sralph 1546634Sbostic void 1615413Sralph closepl() 1715413Sralph { 1815413Sralph /* recieve interupts */ 1915413Sralph signal(SIGINT, SIG_IGN); 2015413Sralph 2115413Sralph /* exit graphics mode */ 2215413Sralph putchar( ESC ); 2315413Sralph printf("[H"); 2415413Sralph exit(0); 2515413Sralph } 26