Bill Kelly
11/14/2003 1:58:00 AM
From: "T. Onoma" <transami@runbox.com>
>
> > Have you tried stdout.sync = true ?
>
> Yep. Dosen't work either. Thanks though. Boy is this frustrating.
> There must be a simple way to do this.
Hmm... Well I only have a bunch of questions then :)
What platform are you running on? What ruby version? Is this
a standalone script, or is it called from some other process (such
as a CGI script called by Apache)?
Do you eventually see any of your printouts at all? That is, if
a linefeed is eventually printed, do all the "buffered" prints
eventually show up?
Also, in:
> # THIS WON'T THIS PRINT!!!!!!!!!!!
> print "\ca{source_file_io.pos}KB/#{@source_size}KB"
Do you really want a control-A? And is the sharp sign really
ommitted there before the open brace at \ca{ ?
Regards,
Bill