Alime.221
net.sources
utzoo!decvax!harpo!floyd!vax135!lime!martin
Thu Apr 15 18:33:39 1982
scatter away those rainy days
#include <STDIO.H>
/*
* SCATTER. This program takes the first 23 lines from the standard
* input and displays them on the VDU screen, in a random manner.
* The program is set up to work on HP262X terminals. Each run of the
* program is different.
* i do not use /etc/termcap et all, because this was a small program
* written on a rainy day.
* The program has no worth while use except for "who|scatter" and
* "ls - l | scatter" when you are boared.
*
* martin levy. HO-2787. houxg!lime!martin.
*/
char s[23][80]; /* Screen Array */
main()
{
register int i=0,j=0;
register char c;
int char_count=0;
long t;
char buf[BUFSIZ];
setbuf(stdout,buf);
init();
while( (c=getchar()) != EOF && i
<HR>
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
<P>
1. There is no money collected for the text(s) of the articles.
<BR>
2. The following notice remains appended to each copy:
<P>
<EM>The Usenet Oldnews Archive: Compilation Copyright© 1981, 1996
<BR> Bruce Jones, Henry Spencer, David Wiseman.</EM>
<P>
<HR>
Goto <A HREF="82.04.19_we13.219_net.sources.html">NEXT</A> article in NET.sources Newsgroup
<BR>Return to <A HREF="NET.sources-index.html">NET.sources index</A>
<BR>Return to the
<A HREF="../index.html">Usenet Oldnews Archive index</A>
</HTML>
-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <
[email protected]>
of
http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.