# print a file using netcat2
# get the current tty
TTY=`tty <&2`                                      # Determine tty name from
                                                   #    stdout
TTY=`basename ${TTY}`
printf "base tty name is ${TTY}\n\r"
last -1 -a $TTY | head -1
# haven't figured out how to get connection name yet; must set ANZ_IP first
ANZ_IP=dew
printf "ANZ_IP is ${ANZ_IP}\n\r"
cat $* | netcat2 -h $ANZ_IP -p 9100
