哪些 ncurses 框架可用于 BASH?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7876008/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What ncurses frameworks are available for BASH?
提问by
Are there some more Text User Interface (TUI) frameworks for bash (other than this)? : http://code.google.com/p/bashsimplecurses/
是否有更多用于 bash 的文本用户界面 (TUI) 框架(除此之外)?:http: //code.google.com/p/bashsimplecurses/
- I want to take user input (data entry)
- process the entry
- 我想接受用户输入(数据输入)
- 处理输入
采纳答案by Jonathan
If all you need to do is prompt the user for information, take a look at dialog.
如果您需要做的只是提示用户提供信息,请查看dialog。
回答by Agi Hammerthief
bashsimplecursesis 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/Linuxlot) recommend using ncurses with Python.
bashsimplecurses非常有能力(从我见过的一点点来看),但您可能想尝试GTK Server。(查看文档页面以获取教程和手册链接)。它可以使用大量脚本语言。其他 Stack Exchange 用户(尤其是UNIX/BSD/GNU/Linux 用户)推荐将 ncurses 与 Python 结合使用。

