开发者

ncurses-like bindings in interpreted languages

Are there any bindings for 开发者_Go百科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.


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


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


The Dialog utility might be what you want.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜