1 /* 2 * Copyright (c) 1980 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 */ 6 7 #ifndef lint 8 static char sccsid[] = "@(#)erase.c 5.2 (Berkeley) 04/30/85"; 9 #endif not lint 10 11 12 #include "bg.h" 13 14 erase() 15 { 16 putchar( ESC ); 17 printf("[H"); 18 putchar( ESC ); 19 printf("[J"); 20 } 21