[4380] in Athena Bugs

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

vax 6.4R: .zwgc.desc

daemon@ATHENA.MIT.EDU (lnp@ATHENA.MIT.EDU)
Sat Mar 3 13:24:44 1990

From: lnp@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Sat, 03 Mar 90 13:24:24 EST
System name:		tabetha
Type and version:	CVAXSTAR 6.4R (1 update(s) to same version)
Display type:		SM

What were you trying to do?
	sending a class motif zephyrgram
	(I am subscribed to motif,*,*)

	This is due to an error in the description STANDARD description file. 
(since my description file is the standard with some font modifications)

What's wrong:
	I received a ping as well as the class motif message

What should have happened:
	I should not have received the ping

Please describe any relevant documentation references:
	.zwgc.desc
	
Here'e the fix:

	move the line 

	if (upcase($opcode) == "PING") then exit endif

	from the section 
/***/
match "MAIL"
	case $instance
	match "pop"
		exec "/usr/athena/zmailnotify"
		exit
	endcase
	print "(Authentication: @bold("+$aval+"))\n"
	print substitute($default)
	put
	exit
match "message"
/** where PING was originally **/
	case $instance
	match "PERSONAL"
		set type = "Personal"
	match "URGENT"
		set type = "Urgent"
	default
		set type = "Instance "+$instance
	endcase
/***/

	to the following area (before the stuff about match "MAIL")

case $auth
match "yes"
	set aval = "Authentic"
match "no"
	set aval = "UNAUTHENTIC"
match "forged"
	set aval = "UNAUTHENTIC"
endcase

/****************************/
/** moved to correct place **/
if (upcase($opcode) == "PING") then exit endif

case $class
match "WG_CTL_CLASS"
	exit
#  
# MAIL NOTIFICATION

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