2 # $Id: tailboxbg2,v 1.9 2010/01/13 10:20:03 tom Exp $
9 ./listing >listing.out &
11 $DIALOG --title "TAIL BOXES" \
13 --begin 10 10 "$@" --tailboxbg listing.out 8 58 \
15 --begin 15 15 "$@" --tailboxbg listing.out 8 58 \
17 --begin 3 10 "$@" --msgbox "Press OK " 5 30 \
20 # The --and-widget causes a tab to be emitted, but our example will only
21 # write one number to stderr.
22 pid=`cat $tempfile |sed -e 's/ //g'`
23 if test -n "$pid" ; then
24 # wait a while for the background process to run
28 kill -3 $pid 2>&1 >/dev/null 2>/dev/null
32 # ...and the process that is making the listing