File: timebox

package info (click to toggle)
dialog 1.3-20230209-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 3,484 kB
  • sloc: ansic: 18,977; sh: 7,748; perl: 766; makefile: 435; python: 164
file content (14 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# $Id: timebox,v 1.11 2020/11/26 00:09:31 tom Exp $

. ./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=$?
exec 3>&-

. ./report-string