PDA

View Full Version : Making Console UI



ibuclaw
March 3rd, 2008, 10:27 PM
Hi all.

To make it short and sharp. How do I go about building a UI for console applications?
I was thinking of something along the lines of what "aptitude" looks like in the gnome-terminal. Only with a "boxed-menu" type approach where number keys get you through various levels of the menu, and Esc brings you up a level.
Not to forget the ability to have textboxes and labels too.

Any suggestions of Libraries/Classes/Programs that can help would be appreciated.

Oh and last note. I'd prefer if they were programmable in one of the Four C's
(C, C#, C++ or COBOL)

But I am open to anything new.

Thanks
Iain

WW
March 3rd, 2008, 10:41 PM
ncurses (http://www.gnu.org/software/ncurses/). See also the HOWTO (http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/index.html) at tldp.org.

ibuclaw
March 3rd, 2008, 11:05 PM
Thanks. First thing I saw was the list of programs made with it (Lynx, MC).

Sounds promising.

I'll look into it...

ibuclaw
March 4th, 2008, 12:02 AM
I've had a play about with it for the past hour.
And the answer is yes... perfect for the job, just what I need.

thanks WW for the help.

Iain

erginemr
March 4th, 2008, 08:48 AM
As a quick reminder:

To close a thread -> Select "mark this thread as solved" from the thread tools menu.
https://wiki.ubuntu.com/UnansweredPostsTeam/SolvedThreads

To thank someone -> Click on the blue ribbon/badge on the bottom right part of the post(s), whose author(s), you believe, has helped you fix your problem.

Take Care.