bring in most up to date code; removes hardcoded printer resolution;
[unix-history] / usr / src / lib / libplot / gigi / close.c
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef lint
static char sccsid[] = "@(#)close.c 5.1 (Berkeley) %G%";
#endif not lint
#include <signal.h>
#include "gigi.h"
closepl()
{
/* recieve interupts */
signal(SIGINT, SIG_IGN);
/* exit graphics mode */
putchar( ESC );
putchar('\\');
exit(0);
}