freebsd-src/contrib/dialog/samples/textbox-help

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

21 lines
357 B
Plaintext
Raw Normal View History

2011-04-17 17:00:55 +00:00
#!/bin/sh
# $Id: textbox-help,v 1.3 2020/11/26 00:05:11 tom Exp $
2011-04-17 17:00:55 +00: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 17:00:55 +00:00
$DIALOG --clear --title "TEXT BOX" \
--help-button "$@" \
--textbox "$tempfile" 22 77
returncode=$?
2011-04-17 17:00:55 +00:00
. ./report-button