148508Sbostic /*- 2*61386Sbostic * Copyright (c) 1980, 1993 3*61386Sbostic * The Regents of the University of California. All rights reserved. 448508Sbostic * 548508Sbostic * %sccs.include.proprietary.c% 619974Sdist */ 719974Sdist 815487Sralph #ifndef lint 9*61386Sbostic static char sccsid[] = "@(#)close.c 8.1 (Berkeley) 06/04/93"; 1048508Sbostic #endif /* not lint */ 1115487Sralph 1215487Sralph #include <signal.h> 1315487Sralph #include "gigi.h" 1415487Sralph 1546636Sbostic void closepl()1615487Sralphclosepl() 1715487Sralph { 1815487Sralph /* recieve interupts */ 1915487Sralph signal(SIGINT, SIG_IGN); 2015487Sralph 2115487Sralph /* exit graphics mode */ 2215487Sralph putchar( ESC ); 2315487Sralph putchar('\\'); 2415487Sralph 2515487Sralph exit(0); 2615487Sralph } 27