5 echo "Usage: $0 [board IP] [board port]"
7 echo "If IP is not specified, 'localhost' will be used"
8 echo "If port is not specified, '2001' will be used"
17 while [ -n "$1" ] ; do
21 -*) usage "Invalid option $1";;
30 if [ -z "${ip}" ] || [ -n "$3" ] ; then
31 usage "Invalid number of arguments"
34 trap "stty icanon echo opost intr ^C" 0 2 3 5 10 13 15
35 echo "NOTE: the interrupt signal (normally ^C) has been remapped to ^T"
37 stty -icanon -echo -opost intr ^T