[CM] Snd: getting a prompt on stdout

bil at ccrma.Stanford.EDU bil at ccrma.Stanford.EDU
Thu Mar 17 04:47:10 PDT 2016


That output goes through string_to_stdout in
snd-xen.c, I think (it's watched for via
g_io_channel_unix_get_fd in snd-gmain.c).
Snd used to have a print-hook for stuff like
this, but it didn't get used for years, so
I removed it.  I could add a hook to
string_to_stdout to add a prompt, if you like.
I think you could change string_to_stdout
to

  fprintf(stdout, "%s\n> ", msg);

or something like that to get a prompt,
but I haven't tried it.



More information about the Cmdist mailing list