-
-my $tmpdir = $ENV{TMPDIR};
-$tmpdir = "/tmp" unless $tmpdir;
-
-my $tmpfile = "$tmpdir/xssgv.$$.ppm";
-
-# this crap is because "vidtomem" can only write to a file, and uses
-# a stupid, non-overridable file name format.
-my $sgi_bogosity = "$tmpfile-00000.rgb";
-