[18408] in Athena Bugs
Re: sun4 8.4.13: bash
daemon@ATHENA.MIT.EDU (Arun A Tharuvai)
Fri Oct 13 15:50:35 2000
Message-Id: <200010131950.PAA11115@DORM.mit.edu>
To: Greg Hudson <ghudson@MIT.EDU>
cc: bugs@MIT.EDU, and@MIT.EDU
From: Arun A Tharuvai <aatharuv@MIT.EDU>
Date: Fri, 13 Oct 2000 15:50:33 -0400
The system cshrc is always executed on workstations, as it is sourced
from /usr/athena/lib/init/xsession.
Arun
----------------------------------------------------------------------
From ounix[29755]
There seems to be a problem with startup files on the workstations
if you use bash as your shell (I do)
initdir=/usr/athena/lib/init
$initdir/xsession
invokes $initdir/cshrc
or ~/.cshrc (which invokes $initdir/cshrc)
$initdir/cshrc does setenv ENV_SET (leaving it empty)
when bash stuff runs, the use of "${ENV_SET+set}"
instead of "${ENV_SET:+set}" prevents the bash files from running.
This isn't a problem on the dialup machines because the $initdir/cshrc
isn't run there.
Would you look into this and let me know if/when it will be fixed?
Thanks
PS - I can put in a workaround, but I thought this should be fixed in
the system wide files
------- Forwarded Message
To: Arun A Tharuvai <aatharuv@MIT.EDU>
cc: bugs@MIT.EDU, and@MIT.EDU
Subject: Re: sun4 8.4.13: bash
Date: Fri, 13 Oct 2000 15:39:23 -0400
From: Greg Hudson <ghudson@MIT.EDU>
> Here's a fix, thanks to a suggestion by Antony Donovan
> (and@mit.edu).
I don't understand exactly what problem is occurring or how this fix
would help. The only time ${ENV_SET+set} and ${ENV_SET:+set} differ
is when ENV_SET is set to the empty string, and nothing does that as
far as I know. (Well, the system cshrc does, but presumably you
aren't using that if you're using bash for a shell.)