Revision: | 1.2 |
Committed: | Mon Oct 27 10:28:59 2003 UTC (21 years, 6 months ago) by schorsch |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.1: | +3 -1 lines |
Log Message: | Various compatibility fixes. |
# | User | Rev | Content |
---|---|---|---|
1 | greg | 1.1 | #ifndef lint |
2 | schorsch | 1.2 | static const char RCSid[] = "$Id: erase.c,v 1.1 2003/02/22 02:07:26 greg Exp $"; |
3 | greg | 1.1 | #endif |
4 | #ifndef lint | ||
5 | static char sccsid[] = "@(#)erase.c 4.1 (Berkeley) 6/27/83"; | ||
6 | #endif | ||
7 | |||
8 | #include <stdio.h> | ||
9 | schorsch | 1.2 | |
10 | #include "platform.h" | ||
11 | greg | 1.1 | |
12 | extern int ohiy; | ||
13 | extern int ohix; | ||
14 | extern int oloy; | ||
15 | extern int oextra; | ||
16 | erase(){ | ||
17 | putch(033); | ||
18 | putch(014); | ||
19 | fflush(stdout); | ||
20 | ohiy= -1; | ||
21 | ohix = -1; | ||
22 | oextra = -1; | ||
23 | oloy = -1; | ||
24 | sleep(2); | ||
25 | } |