home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume5
/
flicker
/
flicker.c
next >
Wrap
C/C++ Source or Header
|
1988-08-31
|
360b
|
27 lines
#define N 1000
extern char *malloc() ;
extern char *strcpy() ;
main()
{
register int i ;
register int s ;
register char *p ;
register char *buf ;
register char *str ;
str = "\033[H\033[4L\033[4M" ;
s = strlen(str) ;
buf = p = malloc(N*s+1) ;
for (i = 0 ; i < N ; i++) {
strcpy(p, str) ;
p += s ;
}
for (;;) {
write(1, buf, N*s) ;
}
}