summaryrefslogtreecommitdiff
path: root/Build/source/utils/dialog/dialog-1.1-20110118/samples/editbox3
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20110118/samples/editbox3')
-rwxr-xr-xBuild/source/utils/dialog/dialog-1.1-20110118/samples/editbox318
1 files changed, 18 insertions, 0 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20110118/samples/editbox3 b/Build/source/utils/dialog/dialog-1.1-20110118/samples/editbox3
new file mode 100755
index 00000000000..aba30bd6f71
--- /dev/null
+++ b/Build/source/utils/dialog/dialog-1.1-20110118/samples/editbox3
@@ -0,0 +1,18 @@
+#!/bin/sh
+# $Id: editbox3,v 1.7 2010/01/13 10:20:03 tom Exp $
+# example with extra- and help-buttons
+
+. ./setup-vars
+
+. ./setup-edit
+
+cat << EOF > $input
+EOF
+
+$DIALOG --title "EDIT BOX" \
+ --extra-button \
+ --help-button \
+ --fixed-font "$@" --editbox $input 0 0 2>$output
+retval=$?
+
+. ./report-edit