# Barco Graphics environment file ".bgrc".
# Environment variable BG_DIR must be defined in file ".cshrc"
# before this file is sourced.


# set path
set path = ($BG_DIR/cre/bin $BG_DIR/crecmy/bin $BG_DIR/dcr/bin $BG_DIR/decocmy/bin $BG_DIR/egts/bin $BG_DIR/gps/bin $BG_DIR/gps/bin/ace $BG_DIR/gpscmy/bin $BG_DIR/gpscmy/bin/ace $BG_DIR/io/bin $BG_DIR/m3d/bin $BG_DIR/sfm/bin $BG_DIR/tex/bin $BG_DIR/strike/bin $BG_DIR/sys $BG_DIR/fntscr/bin $BG_DIR/bgcms/bin /usr/local/bin /usr/bin/dn $path)


# set tablet type to "wacom", "tds_zp" or "tds_zp+"
setenv BG_TABLET_TYPE wacom


# set internal image directory
setenv IMGDIR /usr/images


# set directory for Soft Match
setenv BG_SFMDAT $IMGDIR/sfmdat


# set job management environment
alias job 'set JOBIN = \!* ; source $BG_DIR/sys/job'

# set font directory

setenv FNTDIR $BG_DIR/fonts
setenv PSFNTDIR $IMGDIR/psfonts

# set bgcms directory

setenv BG_CMS $IMGDIR/bgcms
setenv BGCMS_SER_L /dev/bgspectro
setenv BGCMS_DEVICE /dev/bgspectro,spm50
setenv BG_MON /dev/bgmonitor

# set application specific environments

setenv GRORC     $BG_DIR/fntscr/dat/ps
setenv BG_DAT_PS $BG_DIR/fntscr/dat/ps

# 3D Art

if (-d $BG_DIR/m3d) then 
	setenv BG_UIS $BG_DIR/m3d/uis
endif


# EGTS

if (-d $BG_DIR/egts) then 
    source $BG_DIR/egts/bin/.egtsrc
endif


# GPS RGB

if (-d $BG_DIR/gps) then 
    if (-f $BG_DIR/gps/bin/.gpsrc) then 
	source $BG_DIR/gps/bin/.gpsrc
    endif
endif


# GPS CMY

if (-d $BG_DIR/gpscmy) then 
    if (-f $BG_DIR/gpscmy/bin/.gpsrc) then 
	source $BG_DIR/gpscmy/bin/.gpsrc
    endif
endif

# TEX-DECO
setenv BG_2ND_DISPLAY ":0"

# place local stuff in file ".bgrc.local" !

if (-f $BG_DIR/sys/.bgrc.local) then
  source $BG_DIR/sys/.bgrc.local
endif
