GNU/Linux Command – DIALOG

OpenCores.org Project is a loose collection of Free/Open Hardware modules. Currently the emphasis is on Digital Modules called ‘CORES’. URL: http://www.opencores.org/

dialog — Show interactive Dialog boxes from shell.

Summary:

Dialog is a program that will let you to present a variety of Qus or Messages using dialog boxes from a shell script. Following dialog box types are in-build in dialog command (calendar, checklist, fselect, gauge, infobox, inputbox, menu, msgbox, password, radiolist, tailbox, tailboxbg, textbox, timebox, and yesno).

Examples:
$ dialog --title "Hello" --msgbox "Bharathi" 20 40 -- Message box. $ dialog --title "Input Box" --inputbox "My Name" 10 20 Bharathi -- Input Box. $ dialog --title "CAL" --calendar "Set Date" 0 0 22 8 2005 -- Calendar. $ dialog --title "Yes/No" --yesno "Say yes or no" 15 61 -- YesNo box. $ dialog --title "Please choose a file" --fselect $HOME/ 20 40 -- File Select Box. $ dialog --title "TIMEBOX" --timebox "Set Time" 0 0 12 34 56 -- Time Box.
Read: man dialog and /usr/share/doc/dialog-XYZ/

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: