freebsd-dev/contrib/dialog/samples/textbox-help
2011-04-17 17:28:17 +00:00

21 lines
361 B
Bash
Executable File

#!/bin/sh
# $Id: textbox-help,v 1.1 2011/01/18 09:59:20 tom Exp $
. ./setup-vars
. ./setup-tempfile
TEXT=/usr/share/common-licenses/GPL
test -f $TEXT || TEXT=../COPYING
cat textbox.txt | expand > $tempfile
cat $TEXT | expand >> $tempfile
$DIALOG --clear --title "TEXT BOX" \
--help-button "$@" \
--textbox "$tempfile" 22 77
retval=$?
. ./report-button