# | Line 1 | Line 1 | |
---|---|---|
1 | #ifndef lint | |
2 | static const char RCSid[] = "$Id$"; | |
3 | #endif | |
4 | – | #ifndef lint |
5 | – | static char sccsid[] = "@(#)erase.c 4.1 (Berkeley) 6/27/83"; |
6 | – | #endif |
4 | ||
5 | #include <stdio.h> | |
6 | ||
7 | < | extern int ohiy; |
8 | < | extern int ohix; |
9 | < | extern int oloy; |
10 | < | extern int oextra; |
11 | < | erase(){ |
12 | < | putch(033); |
13 | < | putch(014); |
14 | < | fflush(stdout); |
15 | < | ohiy= -1; |
16 | < | ohix = -1; |
17 | < | oextra = -1; |
18 | < | oloy = -1; |
19 | < | sleep(2); |
7 | > | #include "platform.h" |
8 | > | #include "local4014.h" |
9 | > | #include "lib4014.h" |
10 | > | |
11 | > | 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 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |