适用于 Windows 的命令行对话框工具
我需要一个类似于 cdialog(或whiptail)的对话框工具,但可以在 Windows 上运行。
我有 MinGW,从源代码编译一些东西是没有问题的,但据我所知,cdialog 和whiptail 都包含特定于 UNIX 的代码,因此它们无法在 Windows 上编译。
我可以使用其他替代方案吗? 我不想自己找出并替换特定于平台的代码。
I need a dialog tool similar to cdialog (or whiptail), but one that will work on Windows.
I have MinGW and compiling something from source is no problem, but both cdialog and whiptail, the only ones that I know of, contain code that is UNIX-specific, and so they will not compile on Windows.
Are there any alternatives that I can use? I'd rather not have to figure out and replace the platform-specific code myself.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有一个适用于 Windows 的对话框端口。
There is a port of dialog for Windows.
我记得 E 文本编辑器使用 wxCocoaDialog 来实现此目的:
I remember the E Text Editor using wxCocoaDialog for that purpose:
您是否看过 Cygwin (http://www.cygwin.com/) 而不是 MinGW? Cygwin 提供了一个非常类似 Unix/Linux 的环境,以至于大多数 Unix 程序无需更改即可构建。 不过,根据您想要对结果执行的操作,Cygwin 的许可可能是一个问题。
Have you looked at Cygwin (http://www.cygwin.com/) rather than MinGW? Cygwin provides a very Unix/Linux like environment, to the extent that most Unix programs can be built without change. Depending on what you want to do with the results, though, Cygwin's licensing may be an issue.