14c8945a0SNathan Whitehorn#!/bin/sh 24c8945a0SNathan Whitehorn# $Id: inputbox1,v 1.14 2020/11/26 00:03:58 tom Exp $ 34c8945a0SNathan Whitehorn 44c8945a0SNathan Whitehorn. ./setup-vars 54c8945a0SNathan Whitehorn 64c8945a0SNathan Whitehorn. ./setup-tempfile 74c8945a0SNathan Whitehorn 84c8945a0SNathan Whitehorn$DIALOG --cr-wrap \ 94c8945a0SNathan Whitehorn --title "INPUT BOX" --clear \ 104c8945a0SNathan Whitehorn --inputbox "$@" \ 114c8945a0SNathan Whitehorn"Hi, this is an input dialog box. You can use 124c8945a0SNathan Whitehornthis to ask questions that require the user 134c8945a0SNathan Whitehornto input a string as the answer. You can 144c8945a0SNathan Whitehorninput strings of length longer than the 154c8945a0SNathan Whitehornwidth of the input box, in that case, the 164c8945a0SNathan Whitehorninput field will be automatically scrolled. 174c8945a0SNathan WhitehornYou can use BACKSPACE to correct errors. 184c8945a0SNathan Whitehorn 194c8945a0SNathan WhitehornTry entering your name below:" 0 0 2> $tempfile 204c8945a0SNathan Whitehorn 214c8945a0SNathan Whitehornreturncode=$? 224c8945a0SNathan Whitehorn 234c8945a0SNathan Whitehorn. ./report-tempfile 24