[15267] in Athena Bugs
sun4 8.1.7: zctl
daemon@ATHENA.MIT.EDU (Sara C Pickett)
Mon Jul 14 22:57:21 1997
To: bugs@MIT.EDU
Date: Mon, 14 Jul 1997 22:57:14 EDT
From: Sara C Pickett <sarac@MIT.EDU>
System name: SNOW-GOON
Type and version: SPARC/Classic 8.1.7 (with mkserv)
Display type: cgthree
What were you trying to do?
Subscribe to "message urgent sarac" and add it to my
zephyr subscriptions file.
What's wrong:
When I type:
athena% zctl add "message urgent sarac"
or
athena% zctl add "message urgent %me%"
it adds "message,urgent,*" to the end of my ~/.zephyr.subs
file, and doesn't subscribe me to the "message, urgent, sarac"
triplet. (ie, when I try "zwrite -u sarac", it says I'm not
subscribed.)
Just:
athena% zctl sub "message urgent sarac"
works just fine, but "add"ing doesn't work. If I edit my
~/.zephyr.subs file manually to add "message,urgent,%me%",
it works fine once I relog.
(Attempting to use zctl to "del"ete the subscription from my
file:
athena% zctl del "message urgent %me%"
produces the message:
Couldn't find class message instance urgent recipient * in
file /afs/athena.mit.edu/user/s/a/sarac/.zephyr.subs
which is just as odd as the orignal effect of trying to add
that triplet. (although at least it's symetric.))
What should have happened:
It should have added "message,urgent,sarac" to the end of
my ~/.zephyr.subs file, and subscribed me to the "message,
urgent, sarac" zephyr triplet.
Please describe any relevant documentation references:
man zwrite suggests that subscribing the "message,
urgent,%me%" would be a reasonable thing, so that I
could receive messages sent via "zwrite -u".