home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.ibm.pc.misc:15700 comp.graphics:12792 comp.binaries.ibm.pc.wanted:7839
- Path: sparky!uunet!gumby!destroyer!cs.ubc.ca!chaplin.cs.ubc.ca!not-for-mail
- From: samuel@cs.ubc.ca (Stephen Samuel)
- Newsgroups: comp.sys.ibm.pc.misc,comp.graphics,comp.binaries.ibm.pc.wanted
- Subject: Re: Bambi Meets Godzilla?
- Date: 11 Dec 1992 13:04:03 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Lines: 36
- Message-ID: <1gavo3INNsft@chaplin.cs.ubc.ca>
- References: <chuck-071292084518@choffman.gte.com> <1g023jINNdu6@transfer.stratus.com> <Bywpqu.DuF@constellation.ecn.uoknor.edu> <jejensen.723786700@cunews> <1992Dec8.175854.9868@mnemosyne.cs.du.edu>
- NNTP-Posting-Host: chaplin.cs.ubc.ca
-
- mrosen@nyx.cs.du.edu (Michael Rosen) writes:
-
- >jejensen@alfred.carleton.ca (John Jensen) writes:
- >>I think you are talking about the ANSI animation version -- it's quite
- >>funny. An archie search revealed it to be in:
- >>ra.msstate.edu: /pub/docs/words-l/Funnies/bambi1.uu
- >How do you view this? It decodes out to a .ANI file.
-
- Just copy it to the screen. If that's too fast, then you just need
- to write a program to do a slow copy.
-
- __slowcat.c___________________
-
- /* reads standin, writes standout SLOWLY */
- #define PACKET 12 /* how many bytes to copy before a sleep */
- #define SLEEPTIME 3 /* how long to sleep after a packet */
- /* for sginap, this is in 1/100ths of a second */
- #define SLEEPPROG sginap /* SGIs only redefine this for your box */
- /* regular sleep is just too slow */
-
- main(){
-
- char buffer[PACKET];
- int len;
-
- while( (len=read(0,buffer,PACKET))>0 ){
- write(1,buffer,len);
- SLEEPPROG(SLEEPTIME);
- }
- }
-
-
-
- --
- Stephen Samuel (604)822-9248 samuel@cs.ubc.ca
- The first prerequisite to winning is playing the game.
-