#!/bin/csh -f # If you donot have intimate knowledge of the demo, please dont change # any of the data. The only thing you should do is uncomment # client-nogui as indicated in the README file to add more atm's to the # demo # free up colormap xstdcmap -delete default xstdcmap -delete best # setup the background ../packaging/xloadimage -onroot -fit ../packaging/newmtbank.rf& # intialize database ./populate # set path for application defaults file setenv XFILESEARCHPATH `pwd`/%N%S:${XFILESEARCHPATH} # start the demo ./server 5 & ./dispserver 12 -geom +345+225 & ./animate -geom +300+525 & # start two clients as default. Two ATMs senario will work on most # Sparc stations. However, the more powerful machine you get (ex: # MP machines with 8 CPUs), the more atms you need. Uncomment as many # atms as you like. Read the README first... ./client -atmNumber 1 -clientName Denise -geom +16+525 -optionalPort 5 -optionalPortDisp 12 & ./client -atmNumber 2 -clientName Robert -geom +860+525 -optionalPort 5 -optionalPortDisp 12 & # client-nogui are all commented out. You can uncomment them to add # additional atms. Note: if you are adding more atms than supplied # below, then do the following: # 1) copy one of the atm lines below. # 2) change the atmNumber to a unique number (just increment it one # more than the largest number below) # 3) change geom. You will see a pattern. The first number in # geometry is a multiple of 60. So just add 60 to # the largest number below # 4) change clientName to a unique name. You can do this by # running reader which outputs the database. Pick # any name from it. Make sure you take care of upper # and lower case #./client-nogui -atmNumber 3 -clientName Lynn -geom +0+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 4 -clientName Ian -geom +60+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 5 -clientName Janice -geom +120+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 6 -clientName Tammy -geom +180+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 7 -clientName Peter -geom +240+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 8 -clientName Charles -geom +300+849 -optionalPort 5 -optionalPortDisp 12 & #./client-nogui -atmNumber 9 -clientName Chung -geom +360+849 -optionalPort 5 -optionalPortDisp 12 &