summaryrefslogtreecommitdiff
path: root/Build/source/utils/dialog/dialog-1.1-20110302/samples/textbox-help
blob: cb30253111b812d607db37124ad3fdacb10f1989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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