summaryrefslogtreecommitdiff
path: root/clients/zctl/zctl_cmds.ct
blob: 27900d50dfade1760db96287c22ea848fc231bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#	$Id$
#
	command_table	zctl_cmds;

	request		set_file, "Set default subscriptions file.",
			file;

	request		cancel_subs, "Cancel all subscriptions.",
			cancel;

	request		load_subs, "Subscribe to a subscriptions file.",
			load, ld;

	request		load_subs, "Unsubscribe to a subscriptions file.",
			unload, unld;

	request		load_subs, "List a subscriptions file.",
			list, ls;

	request		subscribe, "Subscribe to a class/class instance.",
			subscribe, sub;

	request		subscribe, "Unsubscribe to a class/class instance.",
			unsubscribe, unsub;

	request		sub_file, "Subscribe and add to subscriptions file.",
			add;

	request		sub_file, "Unsubscribe and add to subscriptions file\n                         as un-subscription.",
			add_unsubscription, add_un;

	request		sub_file, "Unsubscribe and delete subscription from\n                         subscriptions file.",
			delete, del, dl;
	request		sub_file, "Delete un-subscription from subscriptions file.",
			delete_unsubscription, del_un;

	request		current, "Retrieve current subscriptions.",
			retrieve, ret;

	request		current, "Retrieve system-wide default subscriptions.",
			defaults, defs;

	request		current, "Save current subscriptions (replacing existing file).",
			save;

	request		show_var, "Show a variable's value.",
			show;

	request		set_var, "Set a variable's value.",
			set;

	request		unset_var, "Delete a variable's value.",
			unset;

	request		wgc_control, "Get the WindowGram to reread its description file.",
			wg_read;

	request		wgc_control, "Tell the WindowGram not to react to incoming notices.",
			wg_shutdown;

	request		wgc_control, "Tell the WindowGram to react to incoming notices.",
			wg_startup;

	request		wgc_control, "Tell the WindowGram to exit completely.",
			wg_exit;

	request		hm_control, "Tell the server to flush information about this host.",
			hm_flush;

	request		hm_control, "Tell the HostManager to find a new server.",
			new_server;

	request		flush_locations, "Flush all location information.",
			flush_locs;

	request		do_hide, "Hide your location.",
			hide;

	request		do_hide, "Show (un-hide) your location.",
			unhide;

	request		ss_list_requests, "List available commands.",
			list_requests, lr, "?";

	request		ss_quit, "Quit.",
			quit, exit, q;
#ifdef CMU_BACKWARD_COMPAT
	request		do_punt, "Ignore specified messages.",
			punt;

	request		do_punt, "Stop ignoring specified messages.",
			unpunt;

	request		list_punts, "List current messages to ignore.",
			list_punts, lp;

#endif
	end;