File:  [TIS-4000 Rel T60] / scripts / .cshrc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Mon Nov 29 15:10:45 1999 UTC (18 years ago) by tis4000
Branches: MAIN, HIA
CVS tags: baseline, LMC_baseline, HEAD, Duluth_baseline
Setup initial baseline

                           
#################################################################
#
#         .cshrc file
#
#         initial setup file for both interactive and noninteractive
#         C-Shells
#
#################################################################


# Set openwin as my default window system 
set mychoice=openwin

#         set up search path

# add directories for local commands
set lpath = ( )
if ( ${?mychoice} != 0 ) then
	if ( ${mychoice} == "openwin" ) then
		set lpath = ( /usr/openwin/bin/xview /usr/openwin/bin /usr/openwin/lib $lpath )
	endif
endif

limit descriptors 200

set path = (. ~ $lpath /usr/local /usr/local/bin /usr/bin /usr/ucb /usr/etc /usr/sbin \
	/tis4000/tasks /tis4000/apple /tis4000/snl /tis4000/udb /tis4000/graphics \
	/opt/Acrobat4/bin /opt/Applix /export/home/tis4000/UTILITIES /export/home/oracle/orahome )

setenv XAPPLRESDIR	$HOME/tasks
setenv WINDOW_MGR 'olwm'
setenv OPENWINHOME /usr/openwin
#
setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/X11R5/lib:/usr/Motif1.2.4/lib:/usr/dt/lib
setenv XENVIRONMENT /home/tis4000/tasks/tis4000Xdefaults
setenv EDITOR	textedit
setenv GALAXYHOME /galaxy
#
#
# Setup Oracle Logicals
#
setenv ORACLE_BASE /home/oracle
setenv ORACLE_DOC /home/oracle/orahome/wg/doc
setenv ORACLE_HOME /home/oracle/orahome
setenv ORACLE_NLS /home/oracle/orahome/ocommon/nls/admin/dat
setenv ORACLE_SID tis4
#

setenv EPICS_DISPLAY_PATH /tis4000/graphics
#
#	set EPICS_TS_MIN_WEST based on the Timezone
#
set myzone=`date "+%Z"`		# get the Current Timezone from the date

if ( $myzone == "EDT" || $myzone == "EST" ) then
	setenv EPICS_TS_MIN_WEST         300
else if ( $myzone == "CDT" || $myzone == "CST"  ) then
	setenv EPICS_TS_MIN_WEST         360
else if ( $myzone == "MDT" || $myzone == "MST"   ) then
	setenv EPICS_TS_MIN_WEST         420
else if ( $myzone == "PDT" || $myzone == "PST"   ) then
	setenv EPICS_TS_MIN_WEST         480
endif


#         cd path

#set lcd = ( )  #  add parents of frequently used directories
#set cdpath = (.. ~ ~/bin ~/src $lcd)

#         set this for all shells

#set noclobber

#         aliases for all shells

alias cd            'cd \!*;echo $cwd'
alias mailx		'mail'
alias cp            'cp -i'
alias mv            'mv -i'
#alias rm            'rm -i'
alias pwd           'echo $cwd'
#alias del          'rm -i'
umask 000
tset -e
#
#	setup alias for printing text files to a Post Script printer
#
alias print		'/usr/lib/lp/postscript/postprint \!* | lp'
alias print_land	'/usr/lib/lp/postscript/postprint -pland \!* | lp'
alias psg           '/usr/ucb/ps -axww | grep \!* | grep -v grep'

#         skip remaining setup if not an interactive shell

if ($?USER == 0 || $?prompt == 0) exit

#          settings  for interactive shells

set history=40
set ignoreeof
#set notify
#set savehist=40
#set prompt="% "
#set prompt="`hostname`{`whoami`}\!: "
#set time=100

#          commands for interactive shells

#date
#pwd


#         other aliases

#alias a            alias
#alias h            'history \!* | head -39 | more'
#alias u            unalias

#alias             clear
#alias list         cat
#alias lock          lockscreen
#alias m             more
alias mroe          more
#alias type         more

#alias .             'echo $cwd'
#alias ..            'set dot=$cwd;cd ..'
#alias ,             'cd $dot '

#alias pdw           'echo $cwd'
#alias la            'ls -a'
alias ll            'ls -la'
#alias ls           'ls -F'

#alias pd           dirs
#alias po           popd
#alias pp           pushd

#alias +w            'chmod go+w'
#alias -w            'chmod go-w'
#alias x             'chmod +x'

#alias j             'jobs -l'

alias bye           logout
#alias ciao          logout
#alias adios         logout

#alias punt          kill

#alias r            rlogin
alias run		source

#alias nms 'tbl \!* | nroff -ms | more'                  # nroff -ms
#alias tms 'tbl \!* | troff -t -ms >! troff.output &'    # troff -ms
#alias tpr 'tbl \!* | troff -t -ms | lpr -t &'           # troff & print
#alias ppr 'lpr -t \!* &'                                # print troffed

#alias lp1           'lpr -P1'
#alias lq1           'lpq -P1'
#alias lr1           'lprm -P1'

#alias sd           'screendump | rastrepl | lpr -v &'

alias ed         textedit

#alias help          man
#alias key           'man -k'

#alias mkae          make
#
source /tis4000/.Cshrc.tis4000

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>