----- Original Message ----- 
From: "Joel VanderWerf" <vjoel / PATH.Berkeley.EDU>
To: "ruby-talk ML" <ruby-talk / ruby-lang.org>
Sent: Wednesday, June 11, 2003 2:58 AM
Subject: Re: raa-install: package list update?


> Hal E. Fulton wrote:
> 
> > When I do this, I use a simple \r (carriage return).
> > I've never known it to fail or be messy, even on
> > (ack) MSDOS.
> 
> I don't get any output from your code.
> 
> $ ruby -e 'print "foo\r"'
> $ echo $SHELL
> /bin/zsh
> 
> Same for bash. What am I missing? Should I upgrade to this new shell 
> called MSDOS? ;)

Heaven forbid.  ;)

I actually (as you've guessed) tested this particular
snippet only on Windows. It requires a little modification
on Linux.

Put a STDOUT.sync = true at the top, that should help.
And an extra puts at the bottom will clean things up
a little.

Hal