[13114] in Athena Bugs

home help back first fref pref prev next nref lref last post

On the presence of . in PATH

daemon@ATHENA.MIT.EDU (John Hawkinson)
Fri Jan 20 20:17:24 1995

Date: Fri, 20 Jan 1995 20:17:13 -0500
To: bugs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>

Here's yet another low-priority nit.

It seems that the default cshrc (usr/athena/lib/init/cshrc) for
all 3 platforms sets the PATH to:

	set path=($HOME/$bindir $athena_path .)	# Standard Athena path

Whereas the default .cshrc (usr/athena/lib/prototype_user/.cshrc) 

	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 )

As you can see, this means that under normal circumstances dot
is at the _end_ of the PATH, but when the system packs are broken,
dot is at the beginning. (This is ironic because when the system
packs are unavailable is the WORST time to have dot in your path,
especially at the front). 

The two ought to be consistant.

I suppose it's hopeless to argue about why dot doesn't belong
in the PATH at all...

--jhawk

home help back first fref pref prev next nref lref last post