[1417] in Athena Bugs

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

'csh -c' behaves differently on vax than on RT.

daemon@ATHENA.MIT.EDU (Bill Cattey)
Wed Nov 23 16:50:02 1988

Date: Wed, 23 Nov 88 16:48:33 EST
From: Bill Cattey <wdc@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
I have finally discovered why people said Andrew previewing wasn't
working.

Do the following on a vax and on an RT and you get different values
returned for the path variable:

set path=(/mit/andrew/${hosttype}/bin $path)
csh -c 'set'

This has the effect of changing your path in your current environment,
forking a c shell, and asking what it thinks your path is set to
(among other variables.)

On the vax, the change to the path variable does not get recognized in
the sub-shell.

  From the 'desk' of     _   /|
  Bill (the) CATTey...   \'o.O'
                         ~(___)~       THSHVPPPOOO!
                            U  	   	   ACH!

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