17a1c0d96SNathan Whitehorn#!/bin/sh 2*a96ef450SBaptiste Daroussin# $Id: textbox-both,v 1.3 2020/11/26 00:05:11 tom Exp $ 37a1c0d96SNathan Whitehorn 47a1c0d96SNathan Whitehorn. ./setup-vars 57a1c0d96SNathan Whitehorn 67a1c0d96SNathan Whitehorn. ./setup-tempfile 77a1c0d96SNathan Whitehorn 87a1c0d96SNathan WhitehornTEXT=/usr/share/common-licenses/GPL 97a1c0d96SNathan Whitehorntest -f $TEXT || TEXT=../COPYING 107a1c0d96SNathan Whitehorn 11*a96ef450SBaptiste Daroussinexpand < textbox.txt > $tempfile 12*a96ef450SBaptiste Daroussinexpand < $TEXT >> $tempfile 137a1c0d96SNathan Whitehorn 147a1c0d96SNathan Whitehorn$DIALOG --clear --title "TEXT BOX" \ 157a1c0d96SNathan Whitehorn --help-button \ 167a1c0d96SNathan Whitehorn --extra-button "$@" \ 177a1c0d96SNathan Whitehorn --textbox "$tempfile" 22 77 187a1c0d96SNathan Whitehorn 19*a96ef450SBaptiste Daroussinreturncode=$? 207a1c0d96SNathan Whitehorn 217a1c0d96SNathan Whitehorn. ./report-button 22