Re: [DIS] VT100 Animations!!!!
From Mike Slackenerny <z10...@reg.iitb.ac.in>
· rec.arts.ascii
· 13 Sep 2002 12:18 · View full thread
· report
> http://www.eed.usv.ro/misc/graphics/ASCII/animation > > but i tried it last night and got "server unreachable" Hey, It works now!!! > here is something you might find of interest ... > machines, networks and servers are so much faster > these days it may lose some of its effect ... > also some VT100 emulators don't stream the data > properly and merely show the final result > but if you have a stock VT100 or VT220 ... It didn't work :( Got a lot of garbled text though. Any other suggestions? I used a script called 'slowcat' to view this on my linus terminal. For those in this group who have seen VT100 animations, please download a few from the source given above, and compile the code given below The command is bash$: cat whatever.vt | ./a.out -d 120 the '120' is the time delay in microseconds, but yopu can specify anything you like. /* slowcat - copies stuff from stdin to stdout, character by character, with delay. Copyright (c) Weyfour WWWWolf (Urpo Lankinen) 11.02.2000 Distributed under the Artistic Lisence As usual, no warranty - this is just a quick hack! This code was improved by Nitin Gupta, Aerospace Engineer, IIT Bombay, on Sept 8, 2002 $Id: slowcat.c,v 1.0 2000/02/11 00:04:44 wwwwolf Exp wwwwolf $ */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <getopt.h> int main(int carg, char **varg) { char character; int verbose = 0; int delay = 1; /* Delay in microseconds */ /* These are needed for getopt() */ int opt,de; /* Process arguments */ while(opt != EOF) { opt = getopt(carg, varg, "d:hv?"); if(opt != EOF) { switch(opt) { case (int)'d': delay = atoi(optarg) ; /* convert optarg to int */ break; case (int)'h': case (int)'?': fprintf(stderr,"slowcat, by WWWWolf 11.02.2000\n"); fprintf(stderr,"$Id: slowcat.c,v 1.0 2000/02/11 00:04:44 wwwwolf Exp wwwwolf $\n"); fprintf(stderr,"Usage: %s [-d delay] [-h]\n", varg[0]); exit(0); break; case (int)'v': verbose = 1; break; default: break; } } } if(verbose) fprintf(stderr, "Delay: %d \265s\n", delay); /* Loop itself: get character, put character, sleep */ while(!feof(stdin)) { character = (char) getchar(); putchar(character); fflush(stdout); for(de =1;de<1000*delay;de++); // usleep(delay); } return 0; } /* Local variables: compile-command:"gcc -Wall -g slowcat.c -o slowcat" End: */
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fbb9d,4b61792013878b68 X-Google-Attributes: gidfbb9d,public X-Google-ArrivalTime: 2002-09-13 05:18:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!lios!news.gweep.ca!not-for-mail From: z10...@reg.iitb.ac.in (Mike Slackenerny) Newsgroups: rec.arts.ascii Subject: Re: [DIS] VT100 Animations!!!! Date: Fri, 13 Sep 2002 12:18:52 +0000 (UTC) Organization: http://groups.google.com/ Lines: 101 Sender: rob...@lios.aq2.gweep.ca Approved: rec...@gweep.ca Message-ID: <8ee...@posting.google.com> References: <6a9...@mygate.mailgate.org> <jXz...@shieldwolf.demon.co.uk> NNTP-Posting-Host: localhost Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: lios.aq2.gweep.ca 1031919532 28501 127.0.0.1 (13 Sep 2002 12:18:52 GMT) X-Complaints-To: use...@lios.aq2.gweep.ca NNTP-Posting-Date: Fri, 13 Sep 2002 12:18:52 +0000 (UTC) X-Original-Date: 13 Sep 2002 05:18:25 -0700 X-Gweep-Bayesian: 0.0000 X-Gweep-Cleanmime: quoted=10% miswrapped=04% Xref: archiver1.google.com rec.arts.ascii:184
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
.------------. |\\//\\//\\//| |//\\//\\//\\| |\\//\\//\\//| |//\\//\\//\\| '------------'
_______ /` _____ `\;, /__(^===^)__\';, / ::: \ ,; | ::: | ,;' '._______.'`jgs
_ _ (o)(o)--. \../ ( )hjw m\/m--m'`--.
_ _
/` \/ `\_ _
\ /` \/ `\
'. .\ /
\/ '. .'
\/jgs __ . . __ (o.\ \/ /.o) \__\/\/__/ /O /==\ O\ (;O/ \/ \O;)
_______ |.-----.| || jgs || ||_ _|| `--)-(--` __[=== o]___ |:::::::::::|\ `-=========-`()
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
rec.arts.ascii
in 2002 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.