[8032] in Athena Bugs
decmips 7.3L: /usr/prototype_user/.cshrc
daemon@ATHENA.MIT.EDU (mhpower@ATHENA.MIT.EDU)
Sat Aug 24 20:53:25 1991
From: mhpower@ATHENA.MIT.EDU
To: testers@ATHENA.MIT.EDU
Date: Sat, 24 Aug 91 20:53:49 EDT
System name: podge
Type and version: KN01 7.3L (1 update(s) to same version)
Display type: PMAX-MFB
What were you trying to do?
Look at the current "Prototype user .cshrc file".
What's wrong:
There are several problems. The 'set path' command should
probably be more reminiscent of that found in the file
/usr/athena/lib/init/cshrc, e.g., '.' should not be at the
beginning of the path, and /usr/athena/bin should be in
the path.
It refers to a "Project Athena".
It provides some information about what other standard
dotfiles should be used for, but doesn't refer the user
to more complete information found in the on-line help.
It uses inconsistent spelling, i.e., both "C shell" and
"cshell".
What should have happened:
Perhaps .cshrc should have been patched as follows:
*** .cshrc Sat Aug 24 20:06:11 1991
--- .cshrc.new Sat Aug 24 20:35:40 1991
***************
*** 6,12 ****
# - sets up standard environment variables
# - sources user file ~/.environment, if it exists
# - sets standard path, OR sources user file ~/.path, if it exists
! # - sets up standard cshell variables, aliases, etc.
# - source user file ~/.cshrc.mine, if it exists
set initdir=/usr/athena/lib/init
--- 6,12 ----
# - sets up standard environment variables
# - sources user file ~/.environment, if it exists
# - sets standard path, OR sources user file ~/.path, if it exists
! # - sets up standard C shell variables, aliases, etc.
# - source user file ~/.cshrc.mine, if it exists
set initdir=/usr/athena/lib/init
***************
*** 21,48 ****
endif
# set some basic defaults if failed initialization
umask 077
! set path=( . ~/${hosttype}bin /srvd/patch /usr/athena \
! /bin/athena /usr/bin/X /usr/new /usr/new/mh/bin \
! /usr/ucb /bin /usr/bin /usr/ibm )
endif
! # If you want to ADJUST the cshell initialization sequence, create any of
! # the following files (as appropriate) in your home directory, with commands
! # to achieve the effect listed:
#
! # .environment - setup session environment (set environmental variables,
! # attach lockers, etc.)
! # .path - set default search path (you can refer to shell
! # variable $athena_path, which lists athena default path,
! # when you set path, e.g., "set path=(. $athena_path)")
! # .cshrc.mine - setup cshell environment (set shell variables, aliases,
! # unset system defaults, etc.)
!
! # If you want to CHANGE the cshell initialization sequence, revise this .cshrc
! # file (the one you're reading now). You may want to copy the contents of
! # the system-wide cshrc file as a starting point.
#
# WARNING: If you revise this .cshrc file, you will not automatically
! # get any changes that Project Athena may make to the system-wide file at
! # a later date. Be sure you know what you are doing.
--- 21,49 ----
endif
# set some basic defaults if failed initialization
umask 077
! set path=( ~/${hosttype}bin /srvd/patch /usr/athena/bin \
! /bin/athena /usr/bin/X11 /usr/new /usr/ucb /bin \
! /usr/bin /usr/ibm /usr/andrew/bin . )
endif
! # If you want to ADJUST the C shell initialization sequence, create any
! # or all of the files .environment, .path, and .cshrc.mine in your home
! # directory. To find out what to place in each of these files, use the
! # 'help -tty' command, and read the discussion under the topic
#
! # Working with Configuration Files ("Dotfiles")
#
+ # after selecting
+ #
+ # Managing Your Athena Account
+ #
+ # from the Documentation Browser Main Menu.
+
+ # If you want to CHANGE the C shell initialization sequence, revise this
+ # .cshrc file (the one you're reading now). You may want to copy the
+ # contents of the system-wide cshrc file as a starting point.
+ #
# WARNING: If you revise this .cshrc file, you will not automatically
! # get any changes that Athena may make to the system-wide file at a
! # later date. Be sure you know what you are doing.
Please describe any relevant documentation references:
csh(1)