diff options
Diffstat (limited to 'gnu/usr.bin/dialog/TESTS/infobox')
-rwxr-xr-x | gnu/usr.bin/dialog/TESTS/infobox | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/usr.bin/dialog/TESTS/infobox b/gnu/usr.bin/dialog/TESTS/infobox new file mode 100755 index 0000000..764dc08 --- /dev/null +++ b/gnu/usr.bin/dialog/TESTS/infobox @@ -0,0 +1,15 @@ +#!/bin/sh +DIALOG=${DIALOG=/usr/bin/dialog} + +$DIALOG --title "INFO BOX" \ + --infobox "Hi, this is an information box. It is +different from a message box in that it will +not pause waiting for input after displaying +the message. The pause here is only introduced +by the sleep command, not by dialog. + +You have 10 seconds to read this..." 10 52 + +stty -echo +sleep 10 +stty echo |