Revision: | 1.3 |
Committed: | Sat Nov 15 02:13:37 2003 UTC (21 years, 6 months ago) by schorsch |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | rad3R6P1, rad3R6 |
Changes since 1.2: | +14 -17 lines |
Log Message: | Continued ANSIfication, and reduced other compile warnings. |
# | User | Rev | Content |
---|---|---|---|
1 | greg | 1.1 | #ifndef lint |
2 | schorsch | 1.3 | static const char RCSid[] = "$Id: erase.c,v 1.2 2003/10/27 10:28:59 schorsch Exp $"; |
3 | greg | 1.1 | #endif |
4 | |||
5 | #include <stdio.h> | ||
6 | schorsch | 1.2 | |
7 | #include "platform.h" | ||
8 | schorsch | 1.3 | #include "local4014.h" |
9 | #include "lib4014.h" | ||
10 | greg | 1.1 | |
11 | schorsch | 1.3 | extern void |
12 | erase(void) | ||
13 | { | ||
14 | putch(033); | ||
15 | putch(014); | ||
16 | fflush(stdout); | ||
17 | ohiy= -1; | ||
18 | ohix = -1; | ||
19 | oextra = -1; | ||
20 | oloy = -1; | ||
21 | sleep(2); | ||
22 | greg | 1.1 | } |