sendbug(1) makes terrible assumptions about your editor

HP Data Systems Hpda at hplabs.UUCP
Sat Mar 24 11:53:35 AEST 1984


Index:		/usr/src/ucb/sendbug/sendbug.sh

Description:
	I hate vi(1).
	I resent being thrown into it when reporting a bug.

Repeat-By:
	% sendbug
	See vi ?
Fix:
	replace the line...
		/usr/ucb/vi /tmp/bug$$
	with...
		if ( $VISUAL != "" ) then
			set editor = $VISUAL
		else if ( $EDITOR != "" ) then
			set editor = $EDITOR
		else set editor = /usr/ucb/vi
		endif
		$editor /tmp/bug$$

Comments:
	Repent.  Learn EMACS.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list