From: Yaser Sulaiman Date: 2008-11-05T05:12:14+09:00 Subject: Re: Showing a spinner ? ------=_Part_87099_1115500.1225829628375 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, when I remove STDOUT.flush, the spinner doesn't show at all, and I only get: ..50. ..100. ..150. ..200. [etc.] with a 5-second "pause" at the beginning of each line. I wonder if this behavior is somehow related to the OS (Ubuntu in my case). Regards, Yaser Sulaiman On Tue, Nov 4, 2008 at 10:03 PM, Aldric Giacomoni wrote: > The STDOUT.flush makes it seem frozen in time - not my idea of a > spinner! ;-) Still, thanks for showing me this, I've now got quite a bit > more that I can learn about :) > > --Aldric > > Yaser Sulaiman wrote: > > [Note: parts of this message were removed to make it a legal post.] > > > > I think a STDOUT.flush is needed after the second print "\b" to make it > work > > properly. > > > > On Tue, Nov 4, 2008 at 7:22 PM, Rodrigo Bermejo > > wrote: > > > > ------=_Part_87099_1115500.1225829628375--