On 2013-12-19 11:32, IOhannes m zmoelnig wrote:
as for adding ";" and leading "0"; you might want to use
sed
.
or use a script like the attached one (on Debian, 'unbuffer' can be found in the 'expect-dev' package)
usage: ./xinput.sh <id> <udp-port>
as for the problem of terminating a process in [shell], i usually start external senders outside of Pd:
<script> #!/bin/sh ./xinput.sh 12 9998 & XINPUT_PID=$1 pd -open mypatch.pd kill -QUIT ${XINPUT_PID} <script> gfmadsr IOhannes