Il giorno 08/nov/06, alle ore 00:15, David Vallner ha scritto:

> Smells unportable between Linux, Windows, and Mac Classic. Then  
> again, I
> don't know what approach Ruby takes to newline-handling on non-Unix
> platforms.

A portable way (but maybe overkill for this) is by using the ncurses  
library.
I never tried ncurses-ruby, though.

> Ah, the good old days of high-school Turbo Pascal, when gotoxy() Just
> Worked (tm). Nary a control character or escape sequence in sight.

ncurses also has gotoxy :)

>
> David Vallner

--
Gabriele Marrone