ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/meta/lib4014/erase.c
(Generate patch)

Comparing ray/src/meta/lib4014/erase.c (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 1.3 by schorsch, Sat Nov 15 02:13:37 2003 UTC

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines