On 2006-08-15, guillaume.marcais / gmail.com wrote:
>
> don wrote:
>>
>> Hi Cliff.
>>
>> I wasn't commenting on the goodness or badness.  I'd just
>> hoped there was a command I could use in my beginners
>> program.
>
> There is curses in the standard library. So this little script should
> work without installing anything extra:
>
> ---------------------------------------------
> #! /usr/bin/ruby
>
> require 'curses'
>
> Curses.init_screen
> s = Curses.stdscr
> 10.times do |i|
>   s.setpos(i, i)
>   s << "toto"
>   Curses.refresh
>   sleep(1)
> end
> Curses.close_screen
> --------------------------------------------
>
> The documentation is poor, but it doesn't take a lot of poking around
> to figure out how it works. For documentation, see
> http://www.ruby-doc.org, in the standard library, curses.
>
> Hope this help,
> Guillaume.
>
>> Don

Thanks Guillaume.  That is what I was looking for.  I'll
play with your code and check out the curses documentation.

Don