summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/dialog
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-16 14:47:17 +0000
committerache <ache@FreeBSD.org>1994-11-16 14:47:17 +0000
commitcbfb51dece67a3994ff1288a5fe45447ac235f17 (patch)
tree0c1036415d75a42518ad8b593370c7bcbffae6e4 /gnu/usr.bin/dialog
parent41021bcb1335abca063d9f82377d6024254eeb3d (diff)
downloadFreeBSD-src-cbfb51dece67a3994ff1288a5fe45447ac235f17.zip
FreeBSD-src-cbfb51dece67a3994ff1288a5fe45447ac235f17.tar.gz
Update with new autosizing code, use -1 -1 now
Diffstat (limited to 'gnu/usr.bin/dialog')
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/checklist4
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/infobox2
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/inputbox4
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/menubox2
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/msgbox6
-rwxr-xr-xgnu/usr.bin/dialog/TESTS/radiolist4
6 files changed, 11 insertions, 11 deletions
diff --git a/gnu/usr.bin/dialog/TESTS/checklist b/gnu/usr.bin/dialog/TESTS/checklist
index 1d84516..008e874 100755
--- a/gnu/usr.bin/dialog/TESTS/checklist
+++ b/gnu/usr.bin/dialog/TESTS/checklist
@@ -6,10 +6,10 @@ $DIALOG --title "CHECKLIST BOX" --clear \
present a list of choices which can be turned on or \n\
off. If there are more items than can fit on the \n\
screen, the list will be scrolled. You can use the \n\
-UP/DOWN arrow keys, the first letter of the choice as a \n\
+UP/DOWN arrow keys, the first letter of the choice as a\n\
hot key, or the number keys 1-9 to choose an option. \n\
Press SPACE to toggle an option on/off. \n\n\
- Which of the following are fruits?" 20 61 5 \
+ Which of the following are fruits?" -1 -1 5 \
"Apple" "It's an apple." off \
"Dog" "No, that's not my dog." ON \
"Orange" "Yeah, that's juicy." off \
diff --git a/gnu/usr.bin/dialog/TESTS/infobox b/gnu/usr.bin/dialog/TESTS/infobox
index 764dc08..89d4736 100755
--- a/gnu/usr.bin/dialog/TESTS/infobox
+++ b/gnu/usr.bin/dialog/TESTS/infobox
@@ -8,7 +8,7 @@ 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
+You have 10 seconds to read this..." -1 -1
stty -echo
sleep 10
diff --git a/gnu/usr.bin/dialog/TESTS/inputbox b/gnu/usr.bin/dialog/TESTS/inputbox
index 6e1e33a..2acb846 100755
--- a/gnu/usr.bin/dialog/TESTS/inputbox
+++ b/gnu/usr.bin/dialog/TESTS/inputbox
@@ -8,9 +8,9 @@ to input a string as the answer. You can \n\
input strings of length longer than the \n\
width of the input box, in that case, the \n\
input field will be automatically scrolled. \n\
-You can use BACKSPACE, LEFT, RIGHT, HOME, END \n\
+You can use BACKSPACE, LEFT, RIGHT, HOME, END\n\
to correct errors. \n\n\
-Try inputing your name below:" 16 51 "John Smith" 2> /tmp/inputbox.tmp.$$
+Try inputing your name below:" -1 -1 "John Smith" 2> /tmp/inputbox.tmp.$$
retval=$?
diff --git a/gnu/usr.bin/dialog/TESTS/menubox b/gnu/usr.bin/dialog/TESTS/menubox
index d7a2276..0309dd5 100755
--- a/gnu/usr.bin/dialog/TESTS/menubox
+++ b/gnu/usr.bin/dialog/TESTS/menubox
@@ -10,7 +10,7 @@ You can use the UP/DOWN arrow keys, the first \n\
letter of the choice as a hot key, or the \n\
number keys 1-9 to choose an option.\n\
Try it now!\n\n\
- Choose the OS you like:" 20 59 4 \
+ Choose the OS you like:" -1 -1 4 \
"FreeBSD 2.0" "A Real Operating System for Real Users" \
"Linux" "Another free Unix Clone for 386/486" \
"OS/2" "IBM OS/2" \
diff --git a/gnu/usr.bin/dialog/TESTS/msgbox b/gnu/usr.bin/dialog/TESTS/msgbox
index 58dae15..7f1b1f8 100755
--- a/gnu/usr.bin/dialog/TESTS/msgbox
+++ b/gnu/usr.bin/dialog/TESTS/msgbox
@@ -2,9 +2,9 @@
DIALOG=${DIALOG=/usr/bin/dialog}
$DIALOG --title "MESSAGE BOX" --clear \
- --msgbox "Hi, this is a simple message box. You can use this to \
- display any message you like. The box will remain until \
- you press the ENTER key." 10 41
+ --msgbox "Hi, this is a simple message box. You can use this to\n\
+display any message you like. The box will remain until\n\
+you press the ENTER key." -1 -1
case $? in
0)
diff --git a/gnu/usr.bin/dialog/TESTS/radiolist b/gnu/usr.bin/dialog/TESTS/radiolist
index 16f3a23..7402790 100755
--- a/gnu/usr.bin/dialog/TESTS/radiolist
+++ b/gnu/usr.bin/dialog/TESTS/radiolist
@@ -6,10 +6,10 @@ $DIALOG --title "RADIOLIST BOX" --clear \
present a list of choices, one of them can be turned \n\
on or off. If there are more items than can fit on the \n\
screen, the list will be scrolled. You can use the \n\
-UP/DOWN arrow keys, the first letter of the choice as a \n\
+UP/DOWN arrow keys, the first letter of the choice as a\n\
hot key, or the number keys 1-9 to choose an option. \n\
Press SPACE to toggle an option on/off. \n\n\
- Which of the following are fruits?" 20 61 5 \
+ Which of the following are fruits?" -1 -1 5 \
"Apple" "It's an apple." off \
"Dog" "No, that's not my dog." ON \
"Orange" "Yeah, that's juicy." off \
OpenPOWER on IntegriCloud