[14533] in Athena Bugs

home help back first fref pref prev next nref lref last post

sun4 8.0I: sendbug

daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Fri Aug 9 18:02:33 1996

To: bugs@MIT.EDU
Date: Fri, 09 Aug 1996 18:02:14 EDT
From: "Jacob Morzinski" <jmorzins@MIT.EDU>

System name:		test-5000
Type and version:	SPARC/4 8.0I
Display type:		cgthree

What were you trying to do?
	Send a bug report with sendbug.

What's wrong:
	The sendbug script clobbers my existing PATH, so that MH
	can't find the editor I use.

What should have happened:
	Sendbug should _prepend_ the directories it needs onto the
	user's PATH, instead of clobbering it.  Or pull some other
	trick to preserve the PATH.  It shouldn't mysteriously fail
	and leave droppings in users' +drafts directories; many
	users don't even know that the +drafts directory _exists_.

Please describe any relevant documentation references:
	Here's my interaction with sendbug:

0 athena% sendbug 
Please enter the name of the program or locker with which you are
having problems. You may first want to check with the consultants to
see if there is a known workaround to this problem; hit ctrl-c now and
type 'olc' at your athena% prompt to enter a question.
 --> mark
 
Please fill in the specified fields of the bug report form, which will
be displayed momentarily.  Remember to save the file before exiting the
editor.
unable to exec Edit: No such file or directory
0 athena% mhparam Editor
Edit
0 athena% ls -ld `where Edit`
-rwx--x--x   1 jmorzins root          189 Aug  9 17:44 /afs/athena.mit.edu/user/j/m/jmorzins/Bin/Edit
0 athena% cat `where Edit`
#!/bin/sh
 
prog=${VISUAL:-${EDITOR:-vi}}
 
case $prog in
    vi) exec $prog +'/^$/' "$@";;
   vim) exec $prog +'/^$/' "$@";;
   nvi) exec $prog +'/^$/' "$@";;
     *) exec $prog "$@";;
esac
0 athena% 


home help back first fref pref prev next nref lref last post