2011-01-13 02:21:23 +00:00
|
|
|
#!/bin/sh
|
2021-02-26 09:05:35 +00:00
|
|
|
# $Id: timebox,v 1.11 2020/11/26 00:09:31 tom Exp $
|
2011-01-13 02:21:23 +00:00
|
|
|
|
|
|
|
. ./setup-vars
|
|
|
|
|
|
|
|
DIALOG_ERROR=254
|
|
|
|
export DIALOG_ERROR
|
|
|
|
|
|
|
|
exec 3>&1
|
2021-02-26 09:05:35 +00:00
|
|
|
returntext=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3`
|
|
|
|
returncode=$?
|
2011-01-13 02:21:23 +00:00
|
|
|
exec 3>&-
|
|
|
|
|
|
|
|
. ./report-string
|