Unix script for setting up shell for Animation

# Shell script argument $1 is REGION
# Shell script argument $2 is debugPORT
#
# PASSPORT is the PP region's directory path.
# REGIONDEV is the PP development region.
# REGIONTST is the PP test region.
# REGIONPRD is the PP production region.
# ppjobvars executes both $PASSPORT/tools/dforavars and $PASSPORT/tools/dfcobvars
# dfcobvars defines LD_LIBRARY_PATH which chains through $PASSPORT/region where libpparch.so exists.
#
. $PASSPORT/region/D100/ppjobvars
export COBSWAN=+A+F
export COBSW=$COBSWAN
export DBINDIR=$PASSPORT/libint:$PASSPORT/region/$REGIONDEV/dbin:$PASSPORT/region/$REGIONDEV/bin:$PASSPORT/region/$REGIONDEV/int:$PASSPORT/region/$REGIONTST/dbin:$PASSPORT/region/$REGIONTST/bin:$PASSPORT/region/$REGIONTST/int:$PASSPORT/region/$REGIONPRD/dbin:$PASSPORT/region/$REGIONPRD/bin:$PASSPORT/region/$REGIONPRD/int:$PASSPORT/dbin:$PASSPORT/bin:$PASSPORT/int

export COBPATH=$DBINDIR
#
export COBCPY=$PASSPORT/region/$REGIONDEV/source/gencopy:$PASSPORT/region/$REGIONDEV/source/copy:$PASSPORT/region/$REGIONTST/source/gencopy:$PASSPORT/region/$REGIONTST/source/copy:$PASSPORT/region/$REGIONPRD/source/gencopy:$PASSPORT/region/$REGIONPRD/source/copy:$PASSPORT/source/gencopy:$PASSPORT/source/copy

#
export COBIDY=$PASSPORT/region/$REGIONDEV/dbin
export COBAIF=$PASSPORT/region/$REGIONDEV/dbin
# COBAIFNAME is a working file for keeping track of Animator settings.
export COBAIFNAME=$COBAIF/user_animate
#
# Lines and columns of animator display.
export LINES=40
export COLUMNS=80
#
export COBMODE=32
#
export ORARTS=$PASSPORT/region/tigrts.debug

$ORARTS TESTLSTN $1 $2

Reply