Revision: | 1.2 |
Committed: | Mon Oct 27 10:28:59 2003 UTC (20 years, 7 months ago) by schorsch |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.1: | +3 -1 lines |
Log Message: | Various compatibility fixes. |
# | Content |
---|---|
1 | #ifndef lint |
2 | static const char RCSid[] = "$Id: erase.c,v 1.1 2003/02/22 02:07:26 greg Exp $"; |
3 | #endif |
4 | #ifndef lint |
5 | static char sccsid[] = "@(#)erase.c 4.1 (Berkeley) 6/27/83"; |
6 | #endif |
7 | |
8 | #include <stdio.h> |
9 | |
10 | #include "platform.h" |
11 | |
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 | } |