[16894] in Athena Bugs
Re: early-release, bindkey
daemon@ATHENA.MIT.EDU (John Hawkinson)
Tue Jun 15 22:33:07 1999
Date: Tue, 15 Jun 1999 22:33:02 -0400 (EDT)
Message-Id: <199906160233.WAA24299@contents-vnder-pressvre.mit.edu>
To: Alicia L Allen <iggy@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: "[16893] in Athena Bugs"
From: John Hawkinson <jhawk@MIT.EDU>
Didn't your [authority figure] tell you not to use csh scripts? ;-)
A not-too-well-known fact is that csh scripts execute dotfiles
unless you use -f. I.e. your script should be using:
#!/bin/csh -f
you'll find it is faster that way, too.
On the other hand, this is certainly still a bug, yes.
/bin/csh should be a supported shell and /usr/athena/lib/init/cshrc
shouldn't use tcsh-isms without verifying that the shell
one is using is tcsh.
(The problem here is that you run csh, which runs your .cshrc,
which runs /usr/athena/lib/init/cshrc, which has tcsh-specific
stuff (bindkey); you could also change the script to #!/bin/tcsh -f
(or even omit the -f, but that would be silly).)
--jhawk