问题
Are there some more Text User Interface (TUI) frameworks for bash (other than this)? : http://code.google.com/p/bashsimplecurses/
- I want to take user input (data entry)
- process the entry
回答1:
If all you need to do is prompt the user for information, take a look at dialog
.
http://invisible-island.net/dialog/dialog.html
回答2:
bashsimplecurses
is pretty capable (from the little I've seen), but you might want to try GTK Server. (Have a look at the docs page for tutorial and manual links). It can work with a large number of scripting languages. Other Stack Exchange users (particularly the UNIX/ BSD/ GNU/Linux lot) recommend using ncurses with Python.
来源:https://stackoverflow.com/questions/7876008/what-ncurses-frameworks-are-available-for-bash