xref: /csrg-svn/lib/libplot/aed/close.c (revision 48502)
1*48502Sbostic /*-
2*48502Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48502Sbostic  * All rights reserved.
4*48502Sbostic  *
5*48502Sbostic  * %sccs.include.proprietary.c%
6*48502Sbostic  */
7*48502Sbostic 
815515Sralph #ifndef lint
9*48502Sbostic static char sccsid[] = "@(#)close.c	5.2 (Berkeley) 04/22/91";
10*48502Sbostic #endif /* not lint */
1115515Sralph 
1215515Sralph #include "aed.h"
1315515Sralph 
1415515Sralph /*---------------------------------------------------------
1515515Sralph  *	Closepl does whatever is necessary to reset the characteristics
1615515Sralph  *	of the AED512 after the program is finished.
1715515Sralph  *
1815515Sralph  *	Results:	None.
1915515Sralph  *
2015515Sralph  *	Side Effects:
2115515Sralph  *	The graphics display modes are reset.
2215515Sralph  *---------------------------------------------------------
2315515Sralph  */
2415515Sralph closepl()
2515515Sralph {
2615515Sralph     fputs("Q00204\6", stdout);
2715515Sralph     (void) fflush(stdout);
2815515Sralph     (void) stty(fileno(stdout), &sgttyb);
2915515Sralph }
30