<div dir="ltr">Sorry, not so simple. The s7webserver runs in the qt event loop. So you have to compile snd with qtnetwork support, and call qcore:processevents (or something like that) very often. Bill&#39;s suggestion is likely to be less work.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 5:25 PM, Kjetil Matheussen <span dir="ltr">&lt;<a href="mailto:k.s.matheussen@gmail.com" target="_blank">k.s.matheussen@gmail.com</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Another alternative is to use the s7webserver code. It should just be a matter of calling &quot;s7webserver_create(s7, 5080, true);&quot; right after calling s7_init() in snd. Then you can use s7webserver/s7webserver_repl.py as the snd scheme binary.<div><br></div><div>One advantage of doing this is that you don&#39;t have to run snd as a emacs subprocess. Another advantage is that if snd is restarted, you don&#39;t have to restart the emacs subprocess as well.</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 5:17 PM, Bill Schottstaedt <span dir="ltr">&lt;<a href="mailto:bil@ccrma.stanford.edu" target="_blank">bil@ccrma.stanford.edu</a>&gt;</span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks very much!  There must be a way to do the same thing<br>
as XtAppAddInput or g_io_add_watch_full in the no-gui case.<br>
I&#39;ll add it to my TODO list.  It also should be possible in<br>
inf-snd.el to recognize the no-gui case (*features* won&#39;t include<br>
&#39;gtk or &#39;motif, I think), so your work-around could be invoked<br>
automatically.<br>
<div><div><br>
_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu" target="_blank">Cmdist@ccrma.stanford.edu</a><br>
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
<br>
</div></div></blockquote></div></div>
</div></div></blockquote></div></div>