Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command-line dialog tool for 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.

like image 679
rix0rrr Avatar asked Feb 16 '09 13:02

rix0rrr


People also ask

What is dialog command in Linux?

The dialog utility is used to create a basic level graphical user interface. We can use this in Shell script to create very useful programs. To install the dialog utility in Debian or Ubuntu Linux, enter following command: $ sudo apt-get update $ sudo apt-get install l dialog.


2 Answers

There is a port of dialog for Windows.

like image 148
Jose Avatar answered Oct 16 '22 17:10

Jose


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).

like image 4
onnodb Avatar answered Oct 16 '22 15:10

onnodb