The default isĩ, which means 9 characters wide to every 1 line high. aspect ratio This gives you some control over the box dimensions when using auto sizing (specifying 0 for height and width). Interprets the following text as a file descriptor number rather than a filename.Ĭommon Options -ascii-lines Rather than draw graphics lines around boxes, draw ASCII "+" and "-" in the same place. Interpretation of the command-line resumes from that point. The result is inserted into the command-line, replacing The " -file" option tells dialog to read parameters from the file named as its value.ĭialog -file parameterfile Blanks not within double-quotes are discarded (use backslashes to quote single characters). Using the " -" and " -file", since the command-line may be rewritten as these are expanded. This is useful when debugging complex scripts No text is written if the Cancel button (or ESC) is pressed dialog exits immediately inĪll options begin with " -" (two ASCII hyphens, for the benefit of those using systems with deranged locale support).Ī " -" by itself is used as an escape, i.e., the next token on the command-line is not treated as an option.ĭialog -title -Not an option The " -args" option tells dialog to list the command-line parameters to the standard error. " -output-fd", " -stderr" and " -stdout". Normally that is the standard error, but there are options for changing this: Some widgets, e.g., checklist, will write text to dialog's output. #WAIT UNTIL RESPONSIVE RESIZE FINISHES REDRAWING THE PAGE CODE#Dialog stops chaining when the return code from a dialog is nonzero, e.g., Cancel or No (see Simply add the tokens for the next dialog box, making a chain. Use the " -and-widget" token to force Dialog to proceed to the next dialog unless you have pressed ESC to cancel, or You can put more than one dialog box into a script: Progressbox, radiolist, tailbox, tailboxbg, textbox, timebox, and yesno (yes/no). Inputmenu, menu, mixedform, mixedgauge, msgbox (message), passwordbox, passwordform, pause, These types ofĭialog boxes are implemented (though not all are necessarily compiled into dialog):Ĭalendar, checklist, dselect, editbox, form, fselect, gauge, infobox, inputbox, Dialog is a program that will let you to present a variety of questions or display messages using dialog boxes from a shell script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |