[27099] in Athena Bugs
linux 9.4.40: cshrc
daemon@ATHENA.MIT.EDU (Joe Foley)
Tue Aug 14 14:53:14 2007
Message-Id: <200708141853.l7EIr7vS012506@omaha.mit.edu>
To: bugs@mit.edu
Date: Tue, 14 Aug 2007 14:53:07 -0400
From: Joe Foley <foley@mit.edu>
X-Spam-Flag: NO
X-Spam-Score: 0.00
Errors-To: bugs-bounces@mit.edu
System name: omaha.mit.edu
Type and version: i686 9.4.40 (with mkserv)
Display type: Silicon Integrated Systems [SiS] 65x/M650/740 PCI/AGP VGA Display Adapter
Shell: /bin/athena/tcsh
Window manager: fvwm2.4
What were you trying to do?
Use the /usr/athena/lib/init/cshrc
What's wrong:
Some versions of Gnome Terminal start the new shell in the directory that the
last terminal was running from. This confuses the section that sets $home
which then decides that the current directory is the user's homedir
What should have happened:
It should have noticed home was already set and not messed with it
Please describe any relevant documentation references:
I've changed line 96 to:
if ("$home" == "" && "$x" != "") then
from
if ("$x" != "") then