X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,cfbf3b9c9d2640a3 X-Google-Attributes: gidf996b,public X-Google-ArrivalTime: 2001-06-11 00:11:47 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!uni-erlangen.de!newsfeed1.telenordia.se!algonet!newsfeed1.funet.fi!newsfeeds.funet.fi!news.cc.tut.fi!uutiset.saunalahti.fi!not-for-mail From: Ilmari Karonen Newsgroups: alt.ascii-art Subject: Re: archive Date: 10 Jun 2001 09:23:44 GMT Organization: (dis)Order of the Holy Spoon (or whatever) Lines: 25 Message-ID: <992163178.15166@itz.pp.sci.fi> References: <2001.158.80561.1428257@205.198.93.196> <992001111.3975@itz.pp.sci.fi> Reply-To: Ilmari Karonen NNTP-Posting-Host: simpukka.saunalahti.fi X-Trace: tron.sci.fi 992165024 13481 195.74.0.20 (10 Jun 2001 09:23:44 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 10 Jun 2001 09:23:44 GMT User-Agent: postit.pl 0.05 Xref: archiver1.google.com alt.ascii-art:6089 In article , Eli the Bearded wrote: >In alt.ascii-art, Ilmari Karonen wrote: >> >> perl -pe 'select undef,undef,undef, 0.02' FILE > >Of course, now that I've looked at more of them, I see by line delays >don't work very well all the time. And the "microdelays" take a lot Agreed. The following works much better for me: perl -pe 'BEGIN{$|=$/=\10} select $,,$,,$,, 0.02' FILE That will print the file in 10-byte chunks, about 20 milliseconds apart. That gives 500 bytes/sec, approximately the speed of a 4800bps modem. The best output rate, of course, depends on the animation. For example, spinweb.vt looks IMHO best at rates as low as 100 bytes/sec, while some other animations need much higher speeds. The delay of 0.02 seconds is pretty optimal, so the best way to adjust the speed is by changing the chunk length. -- '""Jy!z"!z"g"Wo6p!nz"'z!ai""""``-. ,-''Ilmari"Karonen"(iltzu@sci.fi)``-. ,-' yffb:\\mmm'zc!'t!\_!rfsn\ X http://www.sci.fi/~iltzu/ X .Irwgl!_Kglou6u_(!rfsnGzc!'t!),,-' `-..__This_is_a_Moebius_.sig!____,,-' `-.