xref: /csrg-svn/lib/libplot/aed/close.c (revision 15515)
1*15515Sralph #ifndef lint
2*15515Sralph static char sccsid[] = "@(#)close.c	4.1 (Berkeley) 11/11/83";
3*15515Sralph #endif
4*15515Sralph 
5*15515Sralph #include "aed.h"
6*15515Sralph 
7*15515Sralph /*---------------------------------------------------------
8*15515Sralph  *	Closepl does whatever is necessary to reset the characteristics
9*15515Sralph  *	of the AED512 after the program is finished.
10*15515Sralph  *
11*15515Sralph  *	Results:	None.
12*15515Sralph  *
13*15515Sralph  *	Side Effects:
14*15515Sralph  *	The graphics display modes are reset.
15*15515Sralph  *---------------------------------------------------------
16*15515Sralph  */
17*15515Sralph closepl()
18*15515Sralph {
19*15515Sralph     fputs("Q00204\6", stdout);
20*15515Sralph     (void) fflush(stdout);
21*15515Sralph     (void) stty(fileno(stdout), &sgttyb);
22*15515Sralph }
23