xref: /csrg-svn/lib/libplot/hp2648/erase.c (revision 19975)
1*19975Sdist /*
2*19975Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19975Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19975Sdist  * specifies the terms and conditions for redistribution.
5*19975Sdist  */
6*19975Sdist 
715450Sralph #ifndef lint
8*19975Sdist static char sccsid[] = "@(#)erase.c	5.1 (Berkeley) 05/07/85";
9*19975Sdist #endif not lint
1015450Sralph 
1115450Sralph #include "hp2648.h"
1215450Sralph 
1315450Sralph erase()
1415450Sralph {
1515450Sralph 	buffready(8);
1615450Sralph 	putchar(ESC);
1715450Sralph 	putchar(GRAPHIC);
1815450Sralph 	putchar(DISPLAY);
1915450Sralph 	putchar('a');
2015450Sralph 	putchar(ESC);
2115450Sralph 	putchar(GRAPHIC);
2215450Sralph 	putchar(PLOT);
2315450Sralph 	putchar(BINARY);
2415450Sralph }
25