freebsd-src/contrib/dialog/samples/timebox

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
272 B
Plaintext
Raw Normal View History

2011-01-13 02:21:23 +00:00
#!/bin/sh
# $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
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