| I would greatly prefer output to be unbuffered. I would also prefer it if
all console output went to stdout and none at all to stderr.
----- Original Message -----
From: "steven yi"
To:
Sent: Monday, January 24, 2005 1:22 AM
Subject: [Cs-dev] Unbuffered Output
> Hi All,
>
> For a long while with blue and csound, when running csound, output from
> csound out to stdout had been buffered in chunks. Thus, when running from
> blue, output to the console would not be timely as it would be when
> running from the commandline. I think the amount it buffered before
> outputing to screen from blue would be 4K worth of text, then a flush.
> In my version of csound4, I recently added:
>
> setbuf(stdout, NULL);
>
> to ccsound.c. By making stdout unbuffered, all output would now go to
> blue and out to the console in a timely manner.
> I would like to add this to both repository. In csound4, this would be in
> csound/ccsound.c, and in csound5, I believe the change would be added in
> frontends/csound/csound_main.c.
> My question is, does anyone explicitly need stdout to be buffered? If
> not, this does greatly improve things for me and blue (for a long time I
> thought it was an issue of something to recode in blue!), and it's a
> change I would greatly appreciate having in both repositories.
>
> Thanks,
> steven
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |