From cbfb51dece67a3994ff1288a5fe45447ac235f17 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 16 Nov 1994 14:47:17 +0000 Subject: Update with new autosizing code, use -1 -1 now --- gnu/usr.bin/dialog/TESTS/checklist | 4 ++-- gnu/usr.bin/dialog/TESTS/infobox | 2 +- gnu/usr.bin/dialog/TESTS/inputbox | 4 ++-- gnu/usr.bin/dialog/TESTS/menubox | 2 +- gnu/usr.bin/dialog/TESTS/msgbox | 6 +++--- gnu/usr.bin/dialog/TESTS/radiolist | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'gnu/usr.bin/dialog') 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 \ -- cgit v1.1