source: trunk/packs/dotfiles/dot.cshrc @ 5063

Revision 5063, 2.0 KB checked in by probe, 33 years ago (diff)
Removed 6.3 compatibility
Line 
1# Prototype user .cshrc file
2#
3# $Id: dot.cshrc,v 1.14 1991-06-08 18:39:17 probe Exp $
4
5# This file sources a system-wide cshrc file, which:
6#      - sets up standard environment variables
7#      - sources user file ~/.environment, if it exists
8#      - sets standard path, OR sources user file ~/.path, if it exists
9#      - sets up standard cshell variables, aliases, etc.
10#      - source user file ~/.cshrc.mine, if it exists
11
12set initdir=/usr/athena/lib/init
13
14if (-r $initdir/cshrc) then
15        source $initdir/cshrc
16else
17        if ($?prompt) then              # Don't echo if noninteractive
18          echo "Warning: System-wide initialization files not found."
19          echo "C Shell initialization has not been performed."
20          stty dec
21        endif
22        # set some basic defaults if failed initialization
23        umask 077
24        set path=( . ~/${hosttype}bin /srvd/patch /usr/athena \
25                /bin/athena /usr/bin/X /usr/new /usr/new/mh/bin \
26                /usr/ucb /bin /usr/bin /usr/ibm )
27endif
28
29
30# If you want to ADJUST the cshell initialization sequence, create any of
31# the following files (as appropriate) in your home directory, with commands
32# to achieve the effect listed:
33#
34#      .environment - setup session environment (set environmental variables,
35#                     attach lockers, etc.)
36#      .path        - set default search path (you can refer to shell
37#                     variable $athena_path, which lists athena default path,
38#                     when you set path, e.g., "set path=(. $athena_path)")
39#      .cshrc.mine  - setup cshell environment (set shell variables, aliases,
40#                     unset system defaults, etc.)
41                     
42# If you want to CHANGE the cshell initialization sequence, revise this .cshrc
43# file (the one you're reading now).  You may want to copy the contents of
44# the system-wide cshrc file as a starting point.
45#
46# WARNING: If you revise this .cshrc file, you will not automatically
47# get any changes that Project Athena may make to the system-wide file at
48# a later date.  Be sure you know what you are doing.
Note: See TracBrowser for help on using the repository browser.