more development questions

From: Julien Claassen <>
Date: Mon Jul 09 2007 - 21:50:43 CEST
Hi again!
  I now try to get the output of print captured.
Where does print actually print?
Or do the tracklist chanlist functions output their results somewhere, where I 
can get them directly?
  I think I'm too stupid for this. Just so you know what I did:
  I send the command print [tracklist] to midish with sendline. Then I kind of 
copied the wait_ready function:
for (;;) {
  if (fgets(linebuf,LINELENGTH,midish_stdout) == NULL) {
  sprintf(result,"%s",linebuf); /* trying to capture output in result */
  if (strcmp(linebuf,"+ready\n") == 0) {
  And now I'm lost, for I can't find the output and there's even no output to 
the screen...
  Thanks again!
  Kindest regards

Music was my first love and it will be my last (John Miles)

======== FIND MY WEB-PROJECT AT: ========
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: =======
Received on Mon, 9 Jul 2007 21:50:43 +0200 (CEST)

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:19 CET