Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 22 Mar 1994.
Re: DIS .vt files

Re: DIS .vt files

In <2mkrap$64...@dante.exide.com> mur...@sunw30.exide.com (Alan Murray) writes:
[Some stuff deleted.]
>
>And now that I'm here:  someone a while back posted a C program that
>does the same thing as cat (sorry, can't find the original post to give
>credit).  Anyway, for those of you who want to slow down the animation,
>you can use the following modified version.  Just set DELAY to a suitable
>number to slow down the animation.  1000 works best on this computer, but
>change it to suit your taste.
>
[Program deleted.]

You are doing it all wrong.
Here is the program I use.

#include <malloc.h>

int main(argc, argv)
    char **argv;
{
    char *ptr;
    int i, l = argc > 1 ? atoi(argv[1]) : 1;

    if(ptr = malloc(l))
    {
	while((i = read(0, ptr, l)) && i != -1)
	    write(1, ptr, l);
    }

    return 0;
}

It takes one argument. "1" being the slowest and the bigger the faster.


-- 
Badvoc.       Chris Purnell | main[]={0x40000002,0x90102001,0x9203e020,
Campaign Against Real Names | 0x9410200e,0x82102004,0x91d00000,
cri...@dcs.warwick.ac.uk     | 0x82102001,0x91d00000,0x48656c6c,
csu...@csv.warwick.ac.uk     | 0x6f2c2057,0x6f726c64,0x210a0000};

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,a5d2ec7a783feb1c
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 1994-03-22 10:52:05 PST
Newsgroups: alt.ascii-art
Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!pipex!warwick!news.dcs.warwick.ac.uk!crisp
From: cri...@dcs.warwick.ac.uk (Badvoc)
Subject: Re: DIS .vt files
Message-ID: <199...@dcs.warwick.ac.uk>
Sender: new...@dcs.warwick.ac.uk (Network News)
Nntp-Posting-Host: stone
Organization: Department of Computer Science, Warwick University, England
References: <199...@sarah.albany.edu> <2miaof$ek...@lyra.csx.cam.ac.uk> <2mj...@srvr1.engin.umich.edu> <2mkrap$64...@dante.exide.com>
Date: Tue, 22 Mar 1994 18:52:05 GMT
Lines: 40

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1994 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.

Help classify this post