# New to Ruby; need some help

**URL:** <https://www.ruby-forum.com/t/new-to-ruby-need-some-help/172062>\
**Category:** Ruby\
**Created:** [July 14, 2009, 2:50am UTC](https://www.ruby-forum.com/t/new-to-ruby-need-some-help/172062 "2009-07-14T02:50:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrismalek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6de8d8/32.png) [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Post date:** [July 14, 2009, 2:50am UTC](https://www.ruby-forum.com/t/new-to-ruby-need-some-help/172062/1 "2009-07-14T02:50:40Z")

</div>

I am still working with console apps and do not see myself moving away  
from command line any time in the near future. However with one of  
the apps I am working on, I need something that writes the time in the  
bottom right hand corner and updates it every 1 second.  
This is the box below (I hope this works lol).

* * *

| C:\Ruby P.s\> ruby Test.rb  
| Enter Number Here: 1  
| Display stuff Here  
|  
|  
|  
|  
|  
|\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ 7:22:42 PM\_

Basically something that looks like that.

I know some C++ and Java, but all the apps I write for those are  
GUI… so frankly, I have no idea what to call what I am looking for,  
so Google is not much help ☹

Thanks for all the help,  
Chris Mays

---

<div class="post-metadata">

**Author:** ![chrismalek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6de8d8/32.png) [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Post date:** [July 14, 2009, 4:07am UTC](https://www.ruby-forum.com/t/new-to-ruby-need-some-help/172062/2 "2009-07-14T04:07:44Z")

</div>

> |\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ 7:22:42 PM\_

I noticed this in the trunk changeLog:

Tue Feb 3 21:19:06 2009 TAKAO Kouji [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

```
    * ext/readline/extconf.rb: checked rl_set_screen_size and
      rl_get_screen_size.

    * ext/readline/readline.c (readline_s_set_screen_size): added
      Readline.set_screen_size.

    * ext/readline/readline.c (readline_s_get_screen_size): added
      Readline.get_screen_size.

```

also you may have some success with highline, curses, ncurses, perhaps.  
GL.  
=r
