| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | # $Id: textbox-both,v 1.3 2020/11/26 00:05:11 tom Exp $ |
| 3 | |
| 4 | . ./setup-varsscip-shell source . . `./setup-vars`. |
| 5 | |
| 6 | . ./setup-tempfilescip-shell source . . `./setup-tempfile`. |
| 7 | |
| 8 | TEXT=/usr/share/common-licenses/GPLscip-shell filesystem . . `/usr/share/common-licenses/GPL`. |
| 9 | testscip-shell system . . test. -f $TEXT || TEXT=../COPYING |
| 10 | |
| 11 | expandscip-shell system . . expand. < textbox.txt > $tempfile |
| 12 | expandscip-shell system . . expand. < $TEXT >> $tempfile |
| 13 | |
| 14 | $DIALOG --clear --title "TEXT BOX" \ |
| 15 | --help-button \ |
| 16 | --extra-button "$@" \ |
| 17 | --textbox "$tempfile" 22 77 |
| 18 | |
| 19 | returncode=$? |
| 20 | |
| 21 | . ./report-buttonscip-shell source . . `./report-button`. |