getargs $@
- trap my_trap 0 1 2 3 6 9 13
+ trap my_trap 0 1 2 3 6 9 13 15
if [ "$use_stdin" = true ]; then
cat > $tmp_ppm0
ls -lF $tmp_ppm2
fi
- # cat the file so that we can nuke it without racing against xv.
- cat $tmp_ppm2 | xv $xvargs - &
+ mv $tmp_ppm2 $tmp_ppm0
+ xv $xvargs $tmp_ppm0 &
+
+# this doesn't work -- leaves xv processes around, instead of stray xset
+# data. Sigh.
+#
+# # cat the file so that we can nuke it without racing against xv.
+# cat $tmp_ppm2 | xv $xvargs - &
+
pid=$!
fi
fi