improve expect so this works under at
-rw-r--r-- 7025 pdt.sh