#!/bin/csh
# Local standard shell profile

# Universal sets
set host = `hostname`
set me   = `whoami`
set history=30
set filec

# Universal env vars
set path=($path /usr/local/bin /products/uniXEDIT /products/uniREXX .)
setenv XEDITPATH /usr/local/bin
setenv REXXLIB /products/uniREXX

if ($?prompt) then
  alias   prompt  'set prompt=\<`whoami`\@$host\>\ $cwd\ !\:\ '
  prompt
  /usr/local/bin/identify
endif

# Universal aliases
alias   a       alias
alias   cafe    'rsh tevm2 -n -l anonymous@anonymous exec cafe'
alias   cd      'cd \!*; prompt'
alias   h       history
alias   j       'jobs -l'
alias   lsd     'ls -alFt'              # files long by date
alias   lsl     'ls -alF'               # files long by alpha
alias   lo      exit
alias   log     exit
alias   m       mail
alias   nsm     'echo " "; rsh tevm2 -n -l anonymous@anonymous exec nsm'
alias   qs      'rsh tevm2 -n -l anonymous@anonymous exec qs'
alias   sdf     'df | grep -v sybase | grep -v pc | grep -v mac'
alias   x       xe
alias   xedit   xe
alias   wtime   'rsh tevm2 -n -l anonymous@anonymous exec wtime'
alias	cls	clear
alias	cl 	clear
alias	dir	'ls -l | more'
alias	blk	'cd /home/ablmsc'
alias	li	'cd /home/tljksc'
alias	syb	'cd /products/sybase'
alias	chg_all '/home/ablmsc/TEST/bob'    
alias	chg_all2 '/home/ablmsc/TEST/bob2'    

# Perform local initializations
switch($host)
#===============================================================
# scaixr1
# -------
case scaixr1:

  set path=($path /usr/cad/nsccad /usr/local/tma/bin /usr/local/gnu/bin \
    /products/frame-3.0.1 /home/lpp/x3270/bin)
  setenv NSCSEC /usr/cad
  setenv FMHOME /usr/local/products/aix3/frame-3.0.1
  setenv FRAMEUSERSD_HOST brubeck

  breaksw
#===============================================================
# scaixr2
# -------
case scaixr2:

  set path=($path /usr/cad/nsccad /usr/local/tma/bin /usr/local/gnu/bin \
    /home/lpp/x3270/bin)
  setenv NSCSEC /usr/cad

  breaksw
#===============================================================
# aix3
# ----
case aix3:

  setenv MANPATH /products/syncsort/man

  # For the time being, we automatically init AIX3DEV for aix3 logins
  set path=($path /products/sybase/source/1002/bin /products/syncsort/bin)
  setenv SYBASE /products/sybase
  setenv DSQUERY AIX3DEV
  alias aix3dev 'setenv DSQUERY AIX3DEV;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias nsc_cts 'setenv DSQUERY NSC_CTS;setenv PATH $SYBASE/source/492/bin:$PATH'
  alias scdev2  'setenv DSQUERY SCDEV2;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# aix4               Last Change: April 11th, 1995. by Araceli Henley
# ----
case aix4:

  # The forreview PATH addition is for milaero
  set path=($path /usr/local/forreview1.3/bin /products/syncsort/bin)
  setenv MANPATH /products/syncsort/man

  setenv SYBASE /products/sybase
  alias findev 'setenv DSQUERY FINDEV;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias j157sc 'setenv DSQUERY J157SC;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias madbd  'setenv DSQUERY MADBD;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias quic   'setenv DSQUERY QUIC;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias sc360rev 'setenv DSQUERY SC360REV;setenv PATH $SYBASE/source/492/bin:$PATH'

  breaksw
#===============================================================
# scaix101
# --------
case scaix101:

  set path=($path /products/syncsort/bin)
  setenv MANPATH /products/syncsort/man
  setenv SYBASE /products/sybase
  alias dsdbprod 'setenv DSQUERY DSDBPROD;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# scaix103
# --------
case scaix103:

  setenv SYBASE /products/sybase
  alias scprod1 'setenv DSQUERY SCPROD1;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias scprod2 'setenv DSQUERY SCPROD2;setenv PATH $SYBASE/source/492/bin:$PATH'
  alias scprod3 'setenv DSQUERY SCPROD3;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# scaix105
# --------
case scaix105:

  setenv SYBASE /products/sybase
  alias scbeta2 'setenv DSQUERY SCBETA2;setenv PATH $SYBASE/source/492/bin:$PATH'

  breaksw
#===============================================================
# scaix109
# --------
case scaix109:

  set path=($path /products/syncsort/bin)
  setenv MANPATH /products/syncsort/man
  setenv SYBASE /products/sybase
  alias finprod 'setenv DSQUERY FINPROD;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# scaix111
# --------
case scaix111:

  setenv SYBASE /products/sybase
  alias sctest1 'setenv DSQUERY SCTEST1;setenv PATH $SYBASE/source/1002/bin:$PATH'
  alias sctrain 'setenv DSQUERY SCTRAIN;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# scaix113
# --------
case scaix113:

  set path=($path /products/syncsort/bin)
  setenv MANPATH /products/syncsort/man
  setenv SYBASE /products/sybase
  alias biat 'setenv DSQUERY BIAT;setenv PATH $SYBASE/source/1002/bin:$PATH'

  breaksw
#===============================================================
# genserv
# -------
case genserv:

  # (Tivoli Management Environment Version 1.7)
  set path = ($path /Tivoli/bin/ibmr2_3.2/bin/CLI )
  setenv MANPATH /Tivoli/man
  # -----------------------------------------------
  alias autosys source /usr/local/setup/autosys.csh

  breaksw
#===============================================================

default:
  breaksw

endsw
