[8354] in Athena Bugs
rt 7.3M: zctl
daemon@ATHENA.MIT.EDU (yandros@Athena.MIT.EDU)
Mon Oct 7 17:05:46 1991
From: yandros@Athena.MIT.EDU
Date: Mon, 7 Oct 91 17:06:35 -0400
To: bugs@Athena.MIT.EDU
Reply-To: yandros@Athena.MIT.EDU
System name: steve-dallas
Type and version: RTPC-ROMPC 7.3M
Display type: apa16
What were you trying to do?
Use zwgc's -subfile option, and change my subs with zctl
What's wrong:
This loses. Zctl still thinks my subfile is $HOME/.zephyr.subs:
[175] ~ :->zap zwgc
USER PID %CPU %MEM SZ RSS TT STAT TIME COMMAND
yandros 27771 0.3 3.6 604 364 v0 S 0:35 (zwgc)? y
[176] ~ :->zwrite yandros
yandros: Not logged in or not subscribing to messages
[177] ~ :->zwgc -f ~/.../zwgc.desc -subfile ~/.../zephyr.subs
[178] ~ :->zctl file
Current file: /mit/yandros/.zephyr.subs
Zctl then continues to act as if my subs were in
$HOME/.zephyr.subs (i.e. add(_un) appends to the file, and creates it when
it doesn't exist.) My subs at startup reflect the contents of
~/.../zephyr.subs, which is what I tell zwgc to use, not
~/.zephyr.subs, which is what zctl is using, but changes made with
zctl are put in ~/.zephyr.subs and implemented in my current session.
What should have happened:
Somewhere between zwgc and zctl the subfile info is getting lost.
Please describe any relevant documentation references:
man zwgc:
The user's subscription file defaults to
$HOME/.zephyr.subs, or it can be specified with the -subfile
option.
man zctl:
It allows the user to subscribe to
specific notice types, to save the subscriptions in a file
(default $HOME/.zephyr.subs)
-C