From: jgotts@engin.umich.edu (John Gotts)
Newsgroups: alt.hackers
Subject: Re: Traffic, as requested :)
Date: 5 Oct 1996 19:42:33 GMT

[Editor's note: Material unrelated to tvr snipped.]

Here's my ObHack:

Some of you may remember tvr, a winner of the 1994 International Obfuscated C
Code Contest.  Basically, I wanted to add it to the "Demos" section of one of
my FVWM root menus.  As shipped, it's good for interactive use, but not really
good for the purpose I wanted to use it for.  So I decided to write xtvr.  Now
I can invoke tvr with a simple

xtvr -c &

where "-c" indicates that I want to use color.  xtvr selects a random mode and
invokes tvr with a window size that seems to work well for me (180).

You'll need to grab 1994.tgz from http://reality.sgi.com/csp/ioccc and install
tvr and its two associated data files (tvr.bw and tvr.color) in /usr/lib/X11/
xtvr.

Here's xtvr.c:

[Source code snipped.  It's currently available at
http://www-personal.engin.umich.edu/~jgotts/linux.html.]

-- 
John GOTTS <jgotts@engin.umich.edu> http://www-personal.engin.umich.edu/~jgotts
Senior, EE/Motif Programmer/SysAdmin/Linux Hacker/Amateur Radio Callsign N8QDW
