[7329] in Athena Bugs
/mit/fmax/$bindir/fmax
daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sun Mar 17 22:39:01 1991
To: bugs@ATHENA.MIT.EDU
Reply-To: Tom Palka <tompalka@mit.edu>
Date: Sun, 17 Mar 91 22:38:54 EST
From: Tom Palka <tompalka@ATHENA.MIT.EDU>
Hi,
I'm not sure where to report it, so I'm sending it to bugs. The
/mit/fmax/$bindir/fmax script that gets run when you start up fmax looks
like this:
> more decmipsbin/fmax
#!/bin/csh
setenv XENVIRONMENT /mit/fmax/fmax.ad
/mit/fmax/`/bin/athena/machtype`bin/Fmax $* &
I think it would be faster and better to make it like this:
----start------
#!/bin/csh -f
setenv XENVIRONMENT /mit/fmax/fmax.ad
/mit/fmax/$bindir/Fmax $* &
-----end-------
The $bindir could be also replaced with ${hosttype}bin. It would make
the script faster. It doesn't seem necessary to read the ~/.cshrc file
-- fmax doesn't make use of users aliases, does it? And since it's run
from an xterm, the .cshrc has been sources already.
A Bourne shell script would be even faster, but since we're supposed to
stick to csh, I won't suggest that.
tom