119851Sdist /* 219851Sdist * Copyright (c) 1980 Regents of the University of California. 319851Sdist * All rights reserved. The Berkeley software License Agreement 419851Sdist * specifies the terms and conditions for redistribution. 519851Sdist */ 619851Sdist 715413Sralph #ifndef lint 8*46634Sbostic static char sccsid[] = "@(#)close.c 5.3 (Berkeley) 02/24/91"; 919851Sdist #endif not lint 1015413Sralph 1119851Sdist 1215413Sralph #include <signal.h> 1315413Sralph #include "bg.h" 1415413Sralph 15*46634Sbostic 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