1

Are there any bindings for ncurses or a similar menuing framework in interpreted languages that make the process of creating console menus and interacting with options absurdly simple?

I want to quickly prototype out a terminal-only configuration utility that runs on a Linux machine, in order to leverage some local resources previously installed.

VxJasonxV
  • 951
  • 11
  • 35

4 Answers4

1

There's a PERL module exposing CURSES:FORM and CURSES:WIDGETS, though I'm sure they're quite ancient. They may be fine for prototyping, however.

http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/tools.html#PERLCURSES

Wesley Rice
  • 2,711
  • 19
  • 8
0

urwid for Python is pretty simple (see some examples) and is actively maintained.

Nicholas Riley
  • 43,532
  • 6
  • 101
  • 124
0

The Dialog utility might be what you want.

caf
  • 233,326
  • 40
  • 323
  • 462
  • Hmm. That page references lxdialog as being the Kernel menuconfig software, which is the model I've had in mind. Interesting. – VxJasonxV Dec 09 '10 at 06:20
0

The Python standard library comes with a curses module that you can use for this. Also, here is a HOWTO.

Noufal Ibrahim
  • 71,383
  • 13
  • 135
  • 169