| 1 | #!/bin/sh |
| 2 | # $Id: timebox,v 1.11 2020/11/26 00:09:31 tom Exp $ |
| 3 | |
| 4 | . ./setup-vars |
| 5 | |
| 6 | DIALOG_ERROR=254 |
| 7 | export DIALOG_ERROR |
| 8 | |
| 9 | exec 3>&1 |
| 10 | returntext=`$DIALOG --title "TIMEBOX" "$@" --timebox "Please set the time..." 0 0 12 34 56 2>&1 1>&3` |
| 11 | returncode=$? |
| 12 | exec 3>&- |
| 13 | |
| 14 | . ./report-string |