From ebde46bc82bebf478db67abef5b7dc88c014706b Mon Sep 17 00:00:00 2001 From: epoch Date: Tue, 3 Jan 2017 00:30:28 -0600 Subject: lots and lots of shit. opengl shit is barely worked on. new pl script to obj2hackvr using more than just triangles.http://hackaday.com/blog/http://hackaday.com/blog/ --- slowcat.c | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 slowcat.c (limited to 'slowcat.c') diff --git a/slowcat.c b/slowcat.c deleted file mode 100644 index facd2cc..0000000 --- a/slowcat.c +++ /dev/null @@ -1,28 +0,0 @@ -#define _BSD_SOURCE -#include -#include -#include - -int main(int argc,char *argv[]) { - short in; - FILE *fp=stdin; - if(argc < 2) { - fprintf(stderr,"usage: slowcat delay [file1] [file2] [...]\n"); - return 1; - } - if(argc > 2) { - fp=fopen(argv[2],"r"); - } - do { - while((in=fgetc(fp)) != -1) { - printf("%c",in); - if(in == '\n') { - fflush(stdout); - usleep(atoi(argv[1])); - } - } - fclose(fp); - argv++; - } while((fp=fopen(argv[1],"r"))); - return 0; -} -- cgit v1.2.3