HardenedBSD/contrib/dialog/samples/textbox-both

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
375 B
Plaintext
Raw Normal View History

2011-04-17 19:00:55 +02:00
#!/bin/sh
# $Id: textbox-both,v 1.3 2020/11/26 00:05:11 tom Exp $
2011-04-17 19:00:55 +02:00
. ./setup-vars
. ./setup-tempfile
TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING
expand < textbox.txt > $tempfile
expand < $TEXT >> $tempfile
2011-04-17 19:00:55 +02:00
$DIALOG --clear --title "TEXT BOX" \
--help-button \
--extra-button "$@" \
--textbox "$tempfile" 22 77
returncode=$?
2011-04-17 19:00:55 +02:00
. ./report-button