[PD] xinput external

IOhannes m zmölnig zmoelnig at iem.at
Thu Dec 19 12:04:08 CET 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xinput.sh
Type: application/x-shellscript
Size: 113 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131219/13344069/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20131219/13344069/attachment.pgp>


More information about the Pd-list mailing list