xref: /csrg-svn/lib/libplot/aed/close.c (revision 61325)
148502Sbostic /*-
2*61325Sbostic  * Copyright (c) 1983, 1993
3*61325Sbostic  *	The Regents of the University of California.  All rights reserved.
448502Sbostic  *
548502Sbostic  * %sccs.include.proprietary.c%
648502Sbostic  */
748502Sbostic 
815515Sralph #ifndef lint
9*61325Sbostic static char sccsid[] = "@(#)close.c	8.1 (Berkeley) 06/04/93";
1048502Sbostic #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  */
closepl()2415515Sralph closepl()
2515515Sralph {
2615515Sralph     fputs("Q00204\6", stdout);
2715515Sralph     (void) fflush(stdout);
2815515Sralph     (void) stty(fileno(stdout), &sgttyb);
2915515Sralph }
30