File: textbox-help

package info (click to toggle)
dialog 1.2-20140911-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,816 kB
  • ctags: 1,664
  • sloc: ansic: 16,924; sh: 6,901; makefile: 413; perl: 354; python: 164
file content (20 lines) | stat: -rwxr-xr-x 361 bytes parent folder | download | duplicates (4)
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