1217309Snwhitehorn#! /bin/sh
2217309Snwhitehorn# $Id: mixedgauge,v 1.7 2010/01/13 10:20:03 tom Exp $
3217309Snwhitehorn
4217309Snwhitehorn. ./setup-vars
5217309Snwhitehorn
6217309Snwhitehornbackground="An Example of --mixedgauge usage"
7217309Snwhitehorn
8217309Snwhitehornfor i in 5 10 20 30 40 50 60 70 80 90 100
9217309Snwhitehorndo
10217309Snwhitehorn$DIALOG --backtitle "$background" \
11217309Snwhitehorn	--title "Mixed gauge demonstration" "$@" \
12217309Snwhitehorn	--mixedgauge "This is a prompt message,\nand this is the second line." \
13217309Snwhitehorn		0 0 33 \
14217309Snwhitehorn		"Process one"	"0" \
15217309Snwhitehorn		"Process two"	"1" \
16217309Snwhitehorn		"Process three"	"2" \
17217309Snwhitehorn		"Process four"	"3" \
18217309Snwhitehorn		""		"8" \
19217309Snwhitehorn		"Process five"	"5" \
20217309Snwhitehorn		"Process six"	"6" \
21217309Snwhitehorn		"Process seven"	"7" \
22217309Snwhitehorn		"Process eight"	"4" \
23217309Snwhitehorn		"Process nine"	"-$i"
24217309Snwhitehorn# break
25217309Snwhitehornsleep 1 
26217309Snwhitehorndone
27