1217309Snwhitehorn#!/bin/sh
2217309Snwhitehorn# $Id: inputbox-both,v 1.6 2010/01/13 10:20:03 tom Exp $
3217309Snwhitehorn
4217309Snwhitehorn. ./setup-vars
5217309Snwhitehorn
6217309Snwhitehorn. ./setup-tempfile
7217309Snwhitehorn
8217309Snwhitehorn$DIALOG --title "INPUT BOX" --clear \
9217309Snwhitehorn	--extra-button \
10217309Snwhitehorn	--help-button "$@" \
11217309Snwhitehorn        --inputbox "Hi, this is an input dialog box. You can use \n
12217309Snwhitehornthis to ask questions that require the user \n
13217309Snwhitehornto input a string as the answer. You can \n
14217309Snwhitehorninput strings of length longer than the \n
15217309Snwhitehornwidth of the input box, in that case, the \n
16217309Snwhitehorninput field will be automatically scrolled. \n
17217309SnwhitehornYou can use BACKSPACE to correct errors. \n\n
18217309SnwhitehornTry entering your name below:" 16 51 2> $tempfile
19217309Snwhitehorn
20217309Snwhitehornretval=$?
21217309Snwhitehorn
22217309Snwhitehorn. ./report-tempfile
23