From 463068b43f573364bf8893da3fdd640414a88523 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 16 Aug 2013 19:30:37 +0200 Subject: misc updates Signed-off-by: Florian Pritz --- arduino-term | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 arduino-term (limited to 'arduino-term') diff --git a/arduino-term b/arduino-term new file mode 100755 index 0000000..fbd3375 --- /dev/null +++ b/arduino-term @@ -0,0 +1,13 @@ +#!/bin/bash + +if [[ $# < 1 ]]; then + echo "usage: $0 " + exit +fi + +if [[ ! -e $1 ]]; then + echo "$1 not found"; + exit 1 +fi + +socat "file:$1,nonblock,raw,echo=0,b${2:-9600}" "readline" -- cgit v1.2.3-24-g4f1b