D=". /a/haywardv/s"
O="/a/haywardv/s"

case $# in
  0) OUT=@.out ;;
  1) OUT=$1 ;;
esac

for C in $D
 do
  if test -f $C/$OUT
   then
    echo downloading : $C/$OUT
    echo flip switch to download
    sleep 3
    echo RS/ 0000000340
    echo 177560L
    sleep 1
    stty raw
    cat $O/abl $C/$OUT
    stty -raw
    echo 2000G
    exit
  fi
 done
echo 'usage : dl [filename (if @.out does not exist)]'
