[CM] Snd: getting a prompt on stdout
k.s.matheussen at gmail.com
Fri Mar 18 06:34:08 PDT 2016
I think it would be a good idea to add "s7webserver", which is found in s7,
(or something similar) Using s7webserver, you have two programs, snd and,
These two programs communicate via web sockets.
It has the following advantages when using a(n) snd repl:
* You don't have to start snd inside emacs, and you don't have to restart
when you restart snd. You can start and stop the repl at any time, and
you can start
and stop snd at any time.
* Simple to set prompt
* You can control snd from another machine or from a web browser. In the
which is started by
loading "s7webserver_repl.html" in a web browser, and then you have a(n)
in a web browser.
Radium has used s7webserver for a long time like this, so it should be
I just made a couple of quick changes to snd to support this:
patch -p1 <xen.c.diff
patch -p1 <makefile.diff
cp -a ../s7/s7webserver .
<Remove "-DWITH_MAIN" from Makefile>
On Fri, Mar 18, 2016 at 2:11 PM, <bil at 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)
> (set! (stdin-prompt) ">>>")
>> (+ 1 2)
> 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 "transport endpoint" errors which I'll
> need to track down).
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cmdist