Archive for the 'rbcurse' Category

rbcurse 0.1.3 released

November 4, 2009

Just released 0.1.3 on http://gemcutter.org/gems/rbcurse containing a tiny bug fix in Listbox.
Silly of me not to have released a version for 1.9 when I had made the changes and tested out.
Without committing or releasing I started work on SplitPanes and Scrollpanes etc which have
resulted in major changes to base classes too. So now the first [...]

Progress on SplitPane and ScrollPane

November 1, 2009

Great progress on rbcurse’s Scrollpanes and Splitpanes. Scrollpanes contain a viewport which handles the window or porthole into it’s child object. The scrollpane handles communication with the viewport, and the scrollbars. I’ve just added some neat scrollbars. However, there’s a lot of drudge work to be done such as event listeners, and allowing editable objects [...]

More thoughts on scrollpane and splitpane

October 28, 2009

More work on paper. I think now I am ready to start coding. Situations are like:
a splitpane contains one or 2 scrollpanes. The scrollpane contains, say, a table or list or form.
Now the table knows how to print itself, but the scrollpane must clip part of it, and the splitpane
may further clip more. So what’s [...]

General and health update

October 24, 2009

Things have been slow. I was in the midst of a lot of testing out with pads, subpads, subwindows etc. Then my dad got hospitalized twice. In the middle of all that, I fell ill. I still have some chest congestion which is being treated (antibiotics). I simple can’t look at a comp terminal or [...]

Splitpanes are possible using ruby ncurses

October 6, 2009

I have been thinking about how to implement split panes (like file explorers, or frames in a browser) in rbcurse.
While fixing some display issues in multi-column tables (when increasing the size of one column, other columns were printing slightly out of the table boundary in some stray cases), i had an idea of how splitpanes [...]

porting rbcurse to ruby 1.9

October 5, 2009

Started the porting of rbcurse (ruby ncurses widget ilbrary) to 1.9 today after ncurses started to work. Am totally new to ruby1.9, but examples from rbcurse are beginning to work.
Examples are all working, altho there could be some obscure bug with some key, or some string index that i’ve not caught.
Have tweaked TextArea a bit [...]

Waking up after a long time

October 2, 2009

Been off for a long while.
Someone requested rbcurse for 1.9. So I’ve just installed ruby 1.9. I have to remember ruby, git (how to branch and commit, and that github password thing) and how to post a blog etc, basically pick up all over again.
I’ve gotta dig out the changes from 1.8 to 1.9 and [...]

Sample: SQL Client in ruby ncurses

February 14, 2009

I am putting up a small SQL Client made in about 3 hours using rbcurse. The idea of course was to see deficiencies in the library, and yes, for adhoc queries auto_sizing of columns is required. Need to work on that.
The demo shows a textarea, enter a query and press Run to see the results [...]

Finder app using ruby curses widgets

February 2, 2009

After some work on a TODO app, which used editable tables and other widgets, I have started a sort of Finder app with 2 panes, like Midnight Commander. Shows how easy it is to put up something with minimal code using the Listbox widget.
This will also use the TextView for viewing files, TextArea for editing [...]

First real app with Ruby-Curses (rbcurse)

January 18, 2009

I decided to start doing a small app to test out the widgets (VIDEO). More real life than the eye-candy I’ve been posting till now. Its a TODO like app which will actually manage my TODO, FIXME, DONE list that I am using for this. The base is a YAML file – not the best [...]