diff options
Diffstat (limited to 'Build/source/utils/dialog/dialog-1.1-20110302/samples/programbox')
-rwxr-xr-x | Build/source/utils/dialog/dialog-1.1-20110302/samples/programbox | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Build/source/utils/dialog/dialog-1.1-20110302/samples/programbox b/Build/source/utils/dialog/dialog-1.1-20110302/samples/programbox new file mode 100755 index 00000000000..9fa0abc8200 --- /dev/null +++ b/Build/source/utils/dialog/dialog-1.1-20110302/samples/programbox @@ -0,0 +1,19 @@ +#!/bin/sh +# $Id: programbox,v 1.1 2011/03/02 01:17:28 tom Exp $ + +. ./setup-vars + +. ./setup-tempfile + +ls -1 >$tempfile +( +while true +do +read text +test -z "$text" && break +ls -ld "$text" +sleep 0.1 +done <$tempfile +) | + +$DIALOG --title "PROGRAMBOX" "$@" --programbox 20 70 |