nuclear@11: #!/bin/sh nuclear@11: nuclear@11: socat PTY,link=emuport PTY,link=/tmp/ttyeqemu & nuclear@11: if [ $? != 0 ]; then nuclear@11: echo "failed to create PTY pair" >&2 nuclear@11: exit 1 nuclear@11: fi nuclear@11: nuclear@11: echo 'starting equeue system emulator. connect to the /tmp/ttyeqemu fake serial port' nuclear@11: nuclear@11: ./eqemu emuport nuclear@11: nuclear@11: kill %1 # kill socat