[CM] Getting snd to work with conjure/neovim

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Sat Jun 24 15:15:37 PDT 2023

[I forgot to "reply all"]:

In the motif version, XtAppAddInput in snd-motif.c sets get_stdin_string
as the function to call when input is available on stdin.  That function
tries to get a full string, then evals it.  It doesn't return the value
of the incoming expression -- you have to use the write or display
functions to send that value to stdout or wherever.  In your example,
the "(begin ...)" is one form in scheme, so eval returns the last value
of the things in the block.  Since the form is being evaluated, it
seems to me that get_stdin_string did its job.  I'd omit the "(exit)"
statement, then use gdb to see where your program is, and if necessary
try to use gdb to grab the snd process, stop it and see where
snd is.

More information about the Cmdist mailing list