forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cshrc
276 lines (241 loc) · 6.1 KB
/
.cshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
#! /bin/csh
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
#
# Startup file for csh and tcsh. It is meant to work on
# Sun Solaris and SGI IRIX, and everything else.
# * Let's try to get this .cshrc file working much better...
#limit coredumpsize 0
setenv EDITOR vi
# For Java class loading path
# For RDClient
#setenv CLASSPATH .:/u/wtc/public_html/java:/u/wtc/public_html/java/apps
# For RDServer
#setenv CLASSPATH .:/u/wtc/public_html/java
#setenv NSROOT /u/wtc/ns
setenv CVSROOT /m/src
#setenv NNTPSERVER news.mcom.com
#setenv MOZILLA_CLIENT 1
# Operating system name and release level
set os_name=`uname -s`
set os_release=`uname -r`
# Command search path
if ($os_name == "SunOS" && $os_release == "4.1.3_U1") then
##############################
# SunOS 4.1.3_U1
#
setenv NO_MDUPDATE 1
set path = ( /tools/ns/soft/gcc-2.6.3/run/default/sparc_sun_sunos4.1.3_U1/bin \
/tools/ns/bin \
/sbin \
/usr/bin \
/usr/openwin/bin \
/usr/openwin/include \
/usr/ucb \
/usr/local/bin \
/etc \
/usr/etc \
/usr/etc/install \
. )
else if ($os_name == "SunOS") then
################################
# Assume it is Sun Solaris
#
# To build Navigator on Solaris 2.5, I must set the environment
# variable NO_MDUPDATE and use gcc-2.6.3.
setenv NO_MDUPDATE 1
# To build with the native Solaris cc compiler
setenv NS_USE_NATIVE 1
# /tools/ns/soft/gcc-2.6.3/run/default/sparc_sun_solaris2.4/bin
# /u/wtc/bin
set path = ( /u/wtc/bin \
/usr/ccs/bin \
/usr/opt/bin \
/tools/ns/bin \
/usr/sbin \
/sbin \
/usr/bin \
/usr/dt/bin \
/usr/openwin/bin \
/usr/openwin/include \
/usr/ucb \
/usr/opt/java/bin \
/usr/local/bin \
/etc \
/usr/etc \
/usr/etc/install \
/opt/Acrobat3/bin \
. )
# To get the native Solaris cc
if (`uname -m` == i86pc) then
set path = (/h/solx86/export/home/opt/SUNWspro/SC3.0.1/bin $path)
else
#/tools/ns/soft/sparcworks-3.0.1/run/default/share/lib/sparcworks/SUNWspro/bin
#/tools/ns/workshop/bin
set path = ( \
/tools/ns/workshop/bin \
/tools/ns/soft/gcc-2.6.3/run/default/sparc_sun_solaris2.4/bin \
$path)
endif
setenv MANPATH /usr/local/man:/usr/local/lib/mh/man:/usr/local/lib/rcscvs/man:/usr/local/lib/fvwm/man:/usr/local/lib/xscreensaver/man:/usr/share/man:/usr/openwin/man:/usr/opt/man
# For Purify
setenv PURIFYHOME /usr/local-sparc-solaris/pure/purify-4.0-solaris2
setenv PATH /usr/local-sparc-solaris/pure/purify-4.0-solaris2:$PATH
setenv MANPATH $PURIFYHOME/man:$MANPATH
setenv LD_LIBRARY_PATH /usr/local-sparc-solaris/pure/purify-4.0-solaris2
setenv PURIFYOPTIONS "-max_threads=1000 -follow-child-processes=yes"
else if ($os_name == "IRIX" || $os_name == "IRIX64") then
#############
# SGI Irix
#
set path = ( /tools/ns/bin \
/tools/contrib/bin \
/usr/local/bin \
/usr/sbin \
/usr/bsd \
/usr/bin \
/bin \
/etc \
/usr/etc \
/usr/bin/X11 \
.)
else if ($os_name == "UNIX_SV") then
#################
# UNIX_SV
#
set path = ( /usr/local/bin \
/tools/ns/bin \
/bin \
/usr/bin \
/usr/bin/X11 \
/X11/bin \
/usr/X/bin \
/usr/ucb \
/usr/sbin \
/sbin \
/usr/ccs/bin \
.)
else if ($os_name == "AIX") then
#################
# IBM AIX
#
set path = ( /usr/ucb/ \
/tools/ns-arch/rs6000_ibm_aix4.1/bin \
/tools/ns-arch/rs6000_ibm_aix3.2.5/bin \
/share/tools/ns/soft/cvs-1.8/run/default/rs6000_ibm_aix3.2.5/bin \
/bin \
/usr/bin \
/usr/ccs/bin \
/usr/sbin \
/usr/local/bin \
/usr/bin/X11 \
/usr/etc \
/etc \
/sbin \
.)
else if ($os_name == "HP-UX") then
#################
# HP UX
#
set path = ( /usr/bin \
/opt/ansic/bin \
/usr/ccs/bin \
/usr/contrib/bin \
/opt/nettladm/bin \
/opt/graphics/common/bin \
/usr/bin/X11 \
/usr/contrib/bin/X11 \
/opt/upgrade/bin \
/opt/CC/bin \
/opt/aCC/bin \
/opt/langtools/bin \
/opt/imake/bin \
/etc \
/usr/etc \
/usr/local/bin \
/tools/ns/bin \
/tools/contrib/bin \
/usr/sbin \
/usr/local/bin \
/tools/ns/bin \
/tools/contrib/bin \
/usr/sbin \
/usr/include/X11R5 \
.)
else if ($os_name == "SCO_SV") then
#################
# SCO
#
set path = ( /bin \
/usr/bin \
/tools/ns/bin \
/tools/contrib/bin \
/usr/sco/bin \
/usr/bin/X11 \
/usr/local/bin \
.)
else if ($os_name == "FreeBSD") then
#################
# FreeBSD
#
setenv PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/java/bin:/usr/local/bin:/usr/ucb:/usr/ccs/bin:/tools/contrib/bin:/tools/ns/bin:.
else if ($os_name == "OSF1") then
#################
# DEC OSF1
#
limit datasize 300000kb
set path = ( /tools/ns-arch/alpha_dec_osf4.0/bin \
/tools/ns-arch/soft/cvs-1.8.3/run/default/alpha_dec_osf2.0/bin \
/usr/local-alpha-osf/bin \
/usr3/local/bin \
/usr/local/bin \
/usr/sbin \
/usr/bin \
/bin \
/usr/bin/X11 \
/usr/ucb \
. )
endif
set path = ($path /u/$USER/bin )
# for interactive csh only, in which the "prompt" variable is defined
if ($?prompt) then
# For vi, set "autoindent" option
setenv EXINIT "set ai"
# set history = 999
# Use "<host name>:<current directory> <command number>% " as prompt.
#set prompt="%m:%/ \!% "
set host_name = "`uname -n | sed 's/.mcom.com//'`"
# alias setprompt 'set prompt = "${host_name}:$cwd \\!% "'
# setprompt
# alias cd 'cd \!*; setprompt'
# alias pushd 'pushd \!*; setprompt'
# alias popd 'popd \!*; setprompt'
# set filec
# set notify
set ignoreeof # prevent ^d from doing logout
# alias h history
# alias so source
# alias f finger
# alias rm rm -i
# alias mv mv -i
# alias ls ls -CFa
endif
rehash