Created
December 12, 2017 04:28
-
-
Save jhyland87/a9c598de60dcb9bbb3c7ff9f4dfda82e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dialog --textbox /Users/jhyland/CPU.txt 20 120 | |
dialog --title "Dialog #1" \ | |
--keep-window \ | |
--begin 2 2 --yesno "" 0 0 \ | |
--and-widget --clear --title "Dialog #2" --begin 4 4 --yesno "" 0 0 \ | |
--and-widget --title "Dialog #3" --begin 6 6 --yesno "Yesno box" 20 40 \ | |
--and-widget --clear --title "Dialog #4" --begin 4 4 --textbox content/CPU.txt 30 120 \ | |
--add-widget --clear --title "Some Gauge" --gauge "Fooo" 20 100 30 | |
dialog --backtitle "System Information" --title "Hostname" --clear \ | |
--extra-button --extra-label "aaa" \ | |
--inputbox "Server Hostname:" 7 51 2> ${tmpfiles[lastval]} | |
dialog --keep-window --guage "Some Gauge" 30 120 40 --and-widget --clear --title "Dialog #2" --begin 0 0 --guage "Some Gauge" 30 120 50 | |
dialog --title "Active Terminal Sessions" --infobox "$(who)" 100 100 | |
dialog --title "Dialog #1" --keep-window --begin | |
dialog --title "Dialog #1" --keep-window --begin 2 2 | |
dialog --clear --title "Dialog #1" --keep-window --begin 0 0 --msgbox "foo" 20 100 --and-widget --clear --title "Dialog #2" --begin 4 4 --yesno "" 0 0 --add-widget --clear --title "Some Gauge" --begin 4 4 --gauge "Fooo" 20 100 30 | |
dialog --clear --title "Dialog #1" --keep-window --begin 0 0 --msgbox "foo" 20 100 --and-widget --clear --beep --title "Dialog #2" --begin 4 4 --yesno "" 0 0 | |
dialog --clear --title "Dialog 1" \ | |
--keep-window \ | |
--begin 0 0 --gauge "Fooo" 20 100 30 --timeout 2 \ | |
--and-widget --clear --title "Dialog #2" --begin 4 4 --yesno "" 0 0 | |
dialog --clear --title "Dialog 1" --keep-window --begin 0 0 --gauge "Fooo" 20 100 30; sleep 3; dialog --clear --title "Dialog 1" --keep-window --begin 0 0 --gauge "Fooo" 20 100 40 | |
dialog --menu "Choose one:" 10 30 3 1 red 2 green 3 blue | |
dialog --checklist "Choose toppings:" 10 40 3 \ | |
1 Cheese on \ | |
2 "Tomato Sauce" on \ | |
3 Anchovies off | |
dialog --backtitle "CPU Selection" \ | |
--radiolist "Select CPU type:" 10 40 4 \ | |
1 386SX off \ | |
2 386DX on \ | |
3 486SX off \ | |
4 486DX off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment