X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=retrocrawl;a=blobdiff_plain;f=uaeterm;fp=uaeterm;h=4ea9e2e70a2687cda8a1269d85bed9cc129c0cab;hp=0000000000000000000000000000000000000000;hb=fa6997608f790933b3d4bb9f55d17084f77dfc16;hpb=4c23d7e521ae7ce598447792cec02cba4cf05c87 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