[5652] in Athena Bugs
vax 7.0F: sendbug
daemon@ATHENA.MIT.EDU (Daniel A Schmidt)
Wed Aug 1 13:15:34 1990
To: bugs@ATHENA.MIT.EDU
Date: Wed, 01 Aug 90 13:14:57 EDT
From: Daniel A Schmidt <dschmidt@ATHENA.MIT.EDU>
System name: wombat
Type and version: MVAX-II 7.0F (1 update(s) to same version)
Display type: QDSS
What were you trying to do?
Use sendbug.
What's wrong:
When I type sendbug, I get the following message:
/usr/athena/sendbug:
/usr/athena/sendbug: [wombat]: not found
and then things proceed normally. The problem seems to happen
in the first line of the sendbug script.,
eval `/etc/athena/sh_commands_path`
sh_commands_path (except for some comments) consists of the lines
#!/bin/csh -b
echo "PATH=/usr/athena:/usr/new:/usr/new/mh:/usr/ucb:/bin:/usr/bin"
exit
Since there is no -f flag to the csh, my .cshrc is executed.
My .cshrc performs a 'cd .'; cd is aliased to a sequence of
commands including an echo of a control sequence to set the
title bar of my xterm. This title looks something like
"[wombat] /mit/dschmidt".
Apparently, what is happening is that sh_commands_path is
echoing my control sequence as well as the "PATH=" line, and
sendbug is trying to evaluate the result, which now begins
with "[wombat]" instead of "PATH=".
What should have happened:
sh_commands_path should have been eval'ed correctly, and I
shouldn not have gotten an error message. I suggest that a -f
flag be added to the the #!/bin/csh line of sh_commands_path.
Please describe any relevant documentation references:
None that I know of.