ref: 1cf04fdaabf1dbfb7fb4ce59a8cd41a2336d8f18
dir: /bin/midipipe/
#!/bin/rc fn cleanup{ rm -f /srv/midi } fn sigint{ cleanup exit } fn sigexit{ cleanup } rfork n rm -f /srv/midi bind -a '#|' /mnt/midi <>[3]/mnt/midi/data1 { echo 3 >/srv/midi cat $* >/mnt/midi/data }