xref: /freebsd/contrib/dialog/samples/editbox3 (revision d3d381b2b194b4d24853e92eecef55f262688d1a)
1#!/bin/sh
2# $Id: editbox3,v 1.7 2010/01/13 10:20:03 tom Exp $
3# example with extra- and help-buttons
4
5. ./setup-vars
6
7. ./setup-edit
8
9cat << EOF > $input
10EOF
11
12$DIALOG --title "EDIT BOX" \
13	--extra-button \
14	--help-button \
15	--fixed-font "$@" --editbox $input 0 0 2>$output
16retval=$?
17
18. ./report-edit
19