From: “T. Onoma” transami@runbox.com
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)?
linux, 1.8, standalone
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?
when the while loop finishes it all comes flying out. have tried flush on stdout and file’s io.
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{ ?
typo, ctrl-a i had hoped would move to beginning of line, but can’t test obviously. i have since replaced this line with a call to Ruby/ProgressBar from RAA. but it still the same problem.
thanks,
-t0