X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=lugburz;a=blobdiff_plain;f=uaeterm;fp=uaeterm;h=4ea9e2e70a2687cda8a1269d85bed9cc129c0cab;hp=0000000000000000000000000000000000000000;hb=fe302bc16e0daf7fc933d76f802d008c7f541f55;hpb=d166ef254c06ffbf7e4bb0450bd7d52e5ea82b0f diff --git a/uaeterm b/uaeterm new file mode 100755 index 0000000..4ea9e2e --- /dev/null +++ b/uaeterm @@ -0,0 +1,9 @@ +#!/bin/sh + +port=`cat fs-uae.conf | grep serial_port | awk '{ print $3; }'` +if [ -z "$port" ]; then + echo "fs-uae.conf doesn't include a serial_port config option" + exit 1 +fi + +socat pty,raw,echo=0,link=$port -,raw,echo=0