#!/bin/csh
#------------------------------------------------------------------------
# Name:         fxlogin.csh
#
# Description:  This text file is sourced by opus_login.csh and is used
#               to define the OPUS_VERSION setting and a default messaging
#               level.
#
# History:
# Date       OPR    Who       Reason
# --------   ------ --------  ---------------------------------------------
# 07/05/2012 71663  MSwam     new, cleaned up version
#------------------------------------------------------------------------
#
# sets the OPUS_VERSION env var, used to populate OPUS_VER FITS keyword
#
setenv OPUS_DAT SOGS_DISK:/dat/
set version_file = `osfile_stretch_file OPUS_DAT:testbed.ver`
set noglob
set val = `/bin/cat $version_file | /bin/awk '{for(i=1;i<=NF;i++) printf $i" "}'`
setenv OPUS_VERSION "$val"
unset noglob
#
# set default messaging level (can be overriden in opus_login.csh)
setenv MSGRPT_REPORT_LEVEL MSGRPT_INFO
