Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread Kjetil Matheussen
I think it would be a good idea to add "s7webserver", which is found in s7, to snd. (or something similar) Using s7webserver, you have two programs, snd and, s7repl. These two programs communicate via web sockets. It has the following advantages when using a(n) snd repl: * You don't have to star

Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread Kjetil Matheussen
Great. The code I posted will only work with gtk though. In non-glib programs I think one has to call QCoreApplication::processEvents() at regular intervals for it to work. (At least I think it is enough to call processEvents(), I haven't tried) On Fri, Mar 18, 2016 at 5:42 PM, wrote: > I'll ad

Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread Kjetil Matheussen
On Fri, Mar 18, 2016 at 2:34 PM, Kjetil Matheussen wrote: > I just made a couple of quick changes to snd to support this: > http://folk.uio.no/~ksvalast/xen.c.diff > http://folk.uio.no/ksvalast/makefile.diff > > Recipe (untested): > > cd snd > ./configure > wget http://folk.uio.no/~ksvalast/xen.c

Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread bil
I'll add the s7webserver directory to Snd. I'm still stuck at sourceforge, so this may take a day or two (the docs say if the cvs unlock command fails, "wait and try again later"...) ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stan

[CM] Snd: getting a prompt on stdout

2016-03-19 Thread Daniel Lopez
Hi, Is there a way to get a ready prompt on the stdin/stdout interface? The (set! (listener-prompt) ...) customization only seems to affect the prompt in the listener, inside the actual graphical window. At the console though, while I can indeed enter things and see the results printed back

[CM] Csound sprout question

2016-03-19 Thread Ben McAllister
Hi all, I'm stuck with a problem trying to sprout process with Csound. I'm trying to do something more complex with a piece I'm working on, but managed to boil down the problem I'm having by using the Csound Scheme example. If you take a look at that example, you'll see a function called ransco:

Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread bil
I added stdin-prompt to Snd, and tried it out briefly in the gtk version: /home/bil/cl/ ./snd (+ 1 2) 3 (set! (stdin-prompt) ">>>") ">>>" (+ 1 2) 3 (exit) I haven't yet tried it in emacs -- please let me know of any problems. (The sourceforge cvs version may be messed up -- I'm getting "t

Re: [CM] Snd: getting a prompt on stdout

2016-03-19 Thread Daniel Lopez
On 18/03/16 13:11, b...@ccrma.stanford.edu wrote: I added stdin-prompt to Snd, and tried it out briefly in the gtk version: /home/bil/cl/ ./snd (+ 1 2) 3 (set! (stdin-prompt) ">>>") ">>>" (+ 1 2) 3 (exit) I haven't yet tried it in emacs -- please let me know of any problems. (The sourcefo