Command-line dialog tool for Windows
Asked Answered
R

3

7

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.

Relevant answered 16/2, 2009 at 13:50 Comment(0)
I
4

I remember the E Text Editor using wxCocoaDialog for that purpose:

wxCocoaDialog is a multi-platform port of the CocoaDialog application for OS X, that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations and more with a command-line application. It is ideal for use in shell and Perl scripts (or Ruby, or Python, or... etc).

Ideologist answered 17/2, 2009 at 9:4 Comment(1)
Very useful find, thanks a lot! If no better answer comes along, I will accept this one.Relevant
E
5

There is a port of dialog for Windows.

Etamine answered 22/10, 2011 at 1:52 Comment(0)
I
4

I remember the E Text Editor using wxCocoaDialog for that purpose:

wxCocoaDialog is a multi-platform port of the CocoaDialog application for OS X, that allows the use of common GUI controls such as file selectors, text input, progress bars, yes/no confirmations and more with a command-line application. It is ideal for use in shell and Perl scripts (or Ruby, or Python, or... etc).

Ideologist answered 17/2, 2009 at 9:4 Comment(1)
Very useful find, thanks a lot! If no better answer comes along, I will accept this one.Relevant
P
0

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.

Parkerparkhurst answered 17/2, 2009 at 8:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.