dialog-cli

Rating: 
5
Your rating: None Average: 5 (2 votes)

dialog - display dialog boxes from shell scripts

Synopsis

dialog --clear
dialog --create-rc
file
dialog --print-maxsize
dialog
common-options box-options

Description

Dialog is a program that will let you to present a variety of questions or display messages using dialog boxes from a shell script. These types of dialog boxes are implemented (though not all are necessarily compiled into dialog):

calendar, checklist, dselect, editbox, form, fselect, gauge, infobox, inputbox, inputmenu, menu, mixedform, mixedgauge, msgbox (message), passwordbox, passwordform, pause, progressbox, radiolist, tailbox, tailboxbg, textbox, timebox, and yesno (yes/no).

You can put more than one dialog box into a script:

-

Use the "--and-widget" token to force Dialog to proceed to the next dialog unless you have pressed ESC to cancel, or

-

Simply add the tokens for the next dialog box, making a chain. Dialog stops chaining when the return code from a dialog is nonzero, e.g., Cancel or No (see DIAGNOSTICS).

Some widgets, e.g., checklist, will write text to dialog's output. Normally that is the standard error, but there are options for changing this: "--output-fd", "--stderr" and "--stdout". No text is written if the Cancel button (or ESC) is pressed; dialog exits immediately in that case.

---

http://invisible-island.net/dialog/dialog.html

https://linux.die.net/man/1/dialog

Keywords:

Application versions: 
AttachmentSizeDate
File dialog-1.3.20171209-1.armv7hl.rpm528.49 KB08/04/2018 - 02:37
File dialog-1.3.20171209-1.i486.rpm511.8 KB08/04/2018 - 22:34
Changelog: 

Latest version (1.3.20171209) compiled for SFOS (armv7hl + i486)