summaryrefslogtreecommitdiff
path: root/samples/programbox2
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-04-17 17:00:55 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-04-17 17:00:55 +0000
commitd9bc2c28cdecd831822f6fc6d2e813a789481d0d (patch)
tree9f4aad12e1032cbbf8e386136b4b4cad08096572 /samples/programbox2
parentfe24989830eac66b52d803c7a65ebf438100b714 (diff)
Notes
Diffstat (limited to 'samples/programbox2')
-rwxr-xr-xsamples/programbox219
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/programbox2 b/samples/programbox2
new file mode 100755
index 000000000000..63f87df276b2
--- /dev/null
+++ b/samples/programbox2
@@ -0,0 +1,19 @@
+#!/bin/sh
+# $Id: programbox2,v 1.1 2011/03/02 01:25:31 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 "ProgramBox" 20 70