1#!/bin/sh 2# $Id: editbox-utf8,v 1.9 2010/01/13 10:20:03 tom Exp $ 3 4. ./setup-vars 5 6. ./setup-tempfile 7 8. ./setup-utf8 9 10. ./setup-edit 11 12cat << EOF > $input 13Hi, this is a edit box. You can use this to 14allow the user to enter or modify free-form text. 15 16Try it now! 17 18 ----------- -------------------------------- 19 Choose Description of the OS you like 20 ----------- -------------------------------- 21 Linux The Great Unix Clone for 386/486 22 NetBSD Another free Unix Clone for 386/486 23 OS/2 IBM OS/2 24 WIN NT Microsoft Windows NT 25 PCDOS IBM PC DOS 26 MSDOS Microsoft DOS 27 ----------- -------------------------------- 28 ----------- -------------------------------- 29EOF 30 31$DIALOG --title "EDIT BOX" \ 32 --fixed-font "$@" --editbox $input 0 0 2>$output 33retval=$? 34 35. ./report-edit 36