# # EGCG Version 8.0 # # November 1994 # # EGENETICS CREATES THE ENVIRONMENT FOR EGCG SOFTWARE # # This file must be sourced! # It is usually sourced by using the egcg alias defined in 'egcgstartup' # # Check for the evidence that 'egcgstartup' has been run # if ( ! $?EGCGUTILDIR ) then echo " The environment variable EGCGUTILDIR is not defined." echo " The file 'egcgstartup' must be sourced before 'egenetics'." exit 1 endif # # Check to see if the name service is already running, if it isn't # the stop before it is too late # $GCGUTILDIR/tableadmin $GCGUTILDIR/symbol -q GCGVersion; set verSet=$status if ( ! $?GCGNID || ( $verSet != 0 ) ) then echo " GCG not started ... you must start GCG before ECG" exit 1 endif # # This symbol is set ASAP in order that it can serve as evidence that # name service is running. # $GCGUTILDIR/symbol -q -s EGCGVersion 8.0-UNIX if ( $status == -1 ) then echo " Could not initialize logical names service; cancelling." echo " Please consult your system administrator for assistance." exit 1 endif # # This symbol is set to determine which shell the package is running. # $GCGUTILDIR/symbol -q -s EGCGShell csh #CSH #K $GCGUTILDIR/symbol -q -s EGCGShell ksh # EGCG's way to identify the operating system and hardware $GCGUTILDIR/symbol -q -s EGcg_IsVax FALSE #CSH $GCGUTILDIR/symbol -q -s EGcg_PageSize 512 #CSH $GCGUTILDIR/symbol -q -s EGcg_Arch $OSNAME #CSH $GCGUTILDIR/symbol -q -s EGCG_SYS Unix_$OSNAME #CSH $GCGUTILDIR/symbol -q -s EGCG_BATCH BINDIR #CSH # Now assign the logical names for each directory # $GCGUTILDIR/name -q -infile=$EGCGCOREROOT/egcgcore/script/egcglogicals # # Now augment the users path with the egcg directory tree # if ( "$path" !~ */egcgcore/script* ) then setenv PREEGCGPATH "$path" set path=($path $EGCGCOREROOT/egcgcore/script $EGCGUTILDIR ) endif # # Now assign the symbols in the command shell # source `name -f EGenScript:egcgshell` # # THE SUPPRESSION OF THIS BANNER IS AN INFRINGEMENT OF COPYRIGHT! # IF THE SIZE OF THE BANNER ANNOYS YOU, USE THE FOLLOWING # COMMENTED LINE INSTEAD # source $EGCGCOREROOT/egcgcore/script/egcgversions # egcgbanner # # Define the logicals to access the Data Libraries # name -q -infile=`name -f EGenScript:egcguserspecs` # # GenSiteScript contains locally modified command procedures. # Assign a directory where you'll put site specific changes. # Also define GenSiteCom and GenCom for compatibility with VMS. # name -q -s EGenSiteScript $EGCGSTARTUPDIR name -q -s EGenSiteCom EGenSiteScript name -q -s EGenCom EGenScript # # If you need a place to put site specific data, uncomment # this logical and add your local directory # # 'egcghistory' contains commands no longer supported. These commands # do provide some help to those who are used to the old commands, # otherwise, they provide no function. Comment out the next line if # symbol space (dynamic memory) is short on your machine. # source `name -f EGenScript:egcghistory` # # If we have to patch the command environment for an incremental # release we will do so in EGenScript:Patch so you won't have to # recustomize this file to install an incremental release. # source `name -f EGenScript:patch` # # Save the command for starting the EGCG Package # symbol -q -s EGCGCommand $EGCGCOMMAND symbol -q -s EGCGInitCommand "source $EGCGCOMMAND" # # Define site specific aliases. These definitions are optional. # source `name -f EGenSiteScript:esitealiases` # # If the user customization file '.egcgrc' # exists, run it. # if ( -r ~/.egcgrc ) source ~/.egcgrc