/[TIS-4000 Rel T60]/sun2.4/libtis/.cshrc
ViewVC logotype

Contents of /sun2.4/libtis/.cshrc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Wed Aug 25 17:29:28 1999 UTC (24 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, t55baseline, Duluth_baseline, HEAD
initial version

1
2 #################################################################
3 #
4 # .cshrc file
5 #
6 # initial setup file for both interactive and noninteractive
7 # C-Shells
8 #
9 #################################################################
10
11
12 # Set openwin as my default window system
13 set mychoice=openwin
14
15 # set up search path
16
17 # add directories for local commands
18 set lpath = ( )
19 if ( ${?mychoice} != 0 ) then
20 if ( ${mychoice} == "openwin" ) then
21 set lpath = ( /usr/openwin/bin/xview /usr/openwin/bin /usr/openwin/lib $lpath )
22 endif
23 endif
24
25 limit descriptors 200
26
27 set path = (. ~ $lpath /usr/local /usr/bin /usr/ucb /usr/etc /usr/sbin \
28 /tis4000/tasks /tis4000/apple /tis4000/snl /tis4000/udb /tis4000/graphics \
29 /opt/Acrobat3/bin /home/Applix /home/tis4000/UTILITIES /home/oracle/orahome )
30
31 setenv XAPPLRESDIR $HOME/tasks
32 setenv WINDOW_MGR 'olwm'
33 setenv OPENWINHOME /usr/openwin
34 #
35 setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/X11R5/lib:/usr/Motif1.2.4/lib:/usr/dt/lib
36 setenv XENVIRONMENT /home/tis4000/tasks/tis4000Xdefaults
37 setenv EDITOR textedit
38 #
39 #
40 # Setup Oracle Logicals
41 #
42 setenv ORACLE_BASE /home/oracle
43 setenv ORACLE_DOC /home/oracle/orahome/wg/doc
44 setenv ORACLE_HOME /home/oracle/orahome
45 setenv ORACLE_NLS /home/oracle/orahome/ocommon/nls/admin/dat
46 setenv ORACLE_SID tis4
47 #
48
49 setenv EPICS_DISPLAY_PATH /tis4000/graphics
50 #
51 # set EPICS_TS_MIN_WEST based on the Timezone
52 #
53 set myzone=`date "+%Z"` # get the Current Timezone from the date
54
55 if ( $myzone == "EDT" || $myzone == "EST" ) then
56 setenv EPICS_TS_MIN_WEST 300
57 else if ( $myzone == "CDT" || $myzone == "CST" ) then
58 setenv EPICS_TS_MIN_WEST 360
59 else if ( $myzone == "MDT" || $myzone == "MST" ) then
60 setenv EPICS_TS_MIN_WEST 420
61 else if ( $myzone == "PDT" || $myzone == "PST" ) then
62 setenv EPICS_TS_MIN_WEST 480
63 endif
64
65
66 # cd path
67
68 #set lcd = ( ) # add parents of frequently used directories
69 #set cdpath = (.. ~ ~/bin ~/src $lcd)
70
71 # set this for all shells
72
73 #set noclobber
74
75 # aliases for all shells
76
77 alias cd 'cd \!*;echo $cwd'
78 alias mailx 'mail'
79 alias cp 'cp -i'
80 alias mv 'mv -i'
81 #alias rm 'rm -i'
82 alias pwd 'echo $cwd'
83 #alias del 'rm -i'
84 umask 000
85 tset -e
86 #
87 # setup alias for printing text files to a Post Script printer
88 #
89 alias print '/usr/lib/lp/postscript/postprint \!* | lp'
90 alias print_land '/usr/lib/lp/postscript/postprint -pland \!* | lp'
91 alias psg '/usr/ucb/ps -axww | grep \!* | grep -v grep'
92
93 # skip remaining setup if not an interactive shell
94
95 if ($?USER == 0 || $?prompt == 0) exit
96
97 # settings for interactive shells
98
99 set history=40
100 set ignoreeof
101 #set notify
102 #set savehist=40
103 #set prompt="% "
104 #set prompt="`hostname`{`whoami`}\!: "
105 #set time=100
106
107 # commands for interactive shells
108
109 #date
110 #pwd
111
112
113 # other aliases
114
115 #alias a alias
116 #alias h 'history \!* | head -39 | more'
117 #alias u unalias
118
119 #alias clear
120 #alias list cat
121 #alias lock lockscreen
122 #alias m more
123 alias mroe more
124 #alias type more
125
126 #alias . 'echo $cwd'
127 #alias .. 'set dot=$cwd;cd ..'
128 #alias , 'cd $dot '
129
130 #alias pdw 'echo $cwd'
131 #alias la 'ls -a'
132 alias ll 'ls -la'
133 #alias ls 'ls -F'
134
135 #alias pd dirs
136 #alias po popd
137 #alias pp pushd
138
139 #alias +w 'chmod go+w'
140 #alias -w 'chmod go-w'
141 #alias x 'chmod +x'
142
143 #alias j 'jobs -l'
144
145 alias bye logout
146 #alias ciao logout
147 #alias adios logout
148
149 #alias punt kill
150
151 #alias r rlogin
152 alias run source
153
154 #alias nms 'tbl \!* | nroff -ms | more' # nroff -ms
155 #alias tms 'tbl \!* | troff -t -ms >! troff.output &' # troff -ms
156 #alias tpr 'tbl \!* | troff -t -ms | lpr -t &' # troff & print
157 #alias ppr 'lpr -t \!* &' # print troffed
158
159 #alias lp1 'lpr -P1'
160 #alias lq1 'lpq -P1'
161 #alias lr1 'lprm -P1'
162
163 #alias sd 'screendump | rastrepl | lpr -v &'
164
165 alias ed textedit
166
167 #alias help man
168 #alias key 'man -k'
169
170 #alias mkae make
171 #
172 source /tis4000/.Cshrc.tis4000

  ViewVC Help
Powered by ViewVC 1.1.30