Results 1 to 5 of 5

Thread: Making Console UI

  1. #1
    Join Date
    Jan 2008
    Beans
    4,757

    Making Console UI

    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

  2. #2
    WW is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Oct 2004
    Beans
    1,532

    Re: Making Console UI

    ncurses. See also the HOWTO at tldp.org.

  3. #3
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Making Console UI

    Thanks. First thing I saw was the list of programs made with it (Lynx, MC).

    Sounds promising.

    I'll look into it...

  4. #4
    Join Date
    Jan 2008
    Beans
    4,757

    Re: Making Console UI

    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

  5. #5
    Join Date
    Mar 2007
    Location
    Istanbul, Turkey
    Beans
    1,725
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Making Console UI

    As a quick reminder:

    To close a thread -> Select "mark this thread as solved" from the thread tools menu.
    https://wiki.ubuntu.com/UnansweredPo.../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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •