xref: /freebsd/contrib/dialog/samples/timebox (revision 9a14aa017b21c292740c00ee098195cd46642730)
1#!/bin/sh
2# $Id: timebox,v 1.9 2010/01/13 10:23:10 tom Exp $
3
4. ./setup-vars
5
6DIALOG_ERROR=254
7export DIALOG_ERROR
8
9exec 3>&1
10RESULT=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3`
11retval=$?
12exec 3>&-
13
14. ./report-string
15