1 /*@ S-nail - a mail user agent derived from Berkeley Mail.
2 *@ This header is included by ./lex.c and defines the command array content.
4 * Copyright (c) 2000-2004 Gunnar Ritter, Freiburg i. Br., Germany.
5 * Copyright (c) 2012 - 2014 Steffen (Daode) Nurpmeso <sdaoden@users.sf.net>.
8 * Copyright (c) 1980, 1993
9 * The Regents of the University of California. All rights reserved.
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions and the following disclaimer.
16 * 2. Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in the
18 * documentation and/or other materials provided with the distribution.
19 * 3. All advertising materials mentioning features or use of this software
20 * must display the following acknowledgement:
21 * This product includes software developed by the University of
22 * California, Berkeley and its contributors.
23 * 4. Neither the name of the University nor the names of its contributors
24 * may be used to endorse or promote products derived from this software
25 * without specific prior written permission.
27 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
40 /* Some shorter aliases to be able to define a command in two lines */
41 #define MSGLIST ARG_MSGLIST
42 #define STRLIST ARG_STRLIST
43 #define RAWLIST ARG_RAWLIST
44 #define NOLIST ARG_NOLIST
45 #define NDMLIST ARG_NDMLIST
46 #define ECHOLIST ARG_ECHOLIST
47 #define ARG_ARGMASK ARG_ARGMASK
59 #ifdef HAVE_DOCSTRINGS
60 # define DS(ID,S) , ID, S
65 /* Note: the first command in here may NOT expand to an unsupported one! */
66 { "next", &c_next
, (A
| NDMLIST
), 0, MMNDEL
67 DS(355, "Goes to the next message (-list) and prints it") },
68 { "alias", &c_group
, (M
| RAWLIST
), 0, 1000
69 DS(304, "Show all or the specified alias(es), or (re)define one") },
70 { "print", &c_type
, (A
| MSGLIST
), 0, MMNDEL
71 DS(361, "Type each message of <message-list> on the terminal") },
72 { "type", &c_type
, (A
| MSGLIST
), 0, MMNDEL
73 DS(361, "Type each message of <message-list> on the terminal") },
74 { "Type", &c_Type
, (A
| MSGLIST
), 0, MMNDEL
75 DS(360, "Like \"print\", but prints all headers and parts") },
76 { "Print", &c_Type
, (A
| MSGLIST
), 0, MMNDEL
77 DS(360, "Like \"print\", but prints all headers and parts") },
78 { "visual", &c_visual
, (A
| I
| MSGLIST
), 0, MMNORM
79 DS(326, "Edit <message-list>") },
80 { "top", &c_top
, (A
| MSGLIST
), 0, MMNDEL
81 DS(385, "Print top few lines of <message-list>") },
82 { "touch", &c_stouch
, (A
| W
| MSGLIST
), 0, MMNDEL
83 DS(386, "Mark <message-list> for saving in *mbox*") },
84 { "preserve", &c_preserve
, (A
| W
| MSGLIST
), 0, MMNDEL
85 DS(344, "Save <message-list> in system mailbox instead of *mbox*") },
86 { "delete", &c_delete
, (A
| W
| P
| MSGLIST
), 0, MMNDEL
87 DS(320, "Delete <message-list>") },
88 { "dp", &c_deltype
, (A
| W
| MSGLIST
), 0, MMNDEL
89 DS(323, "Delete the current message, then print the next") },
90 { "dt", &c_deltype
, (A
| W
| MSGLIST
), 0, MMNDEL
91 DS(323, "Delete the current message, then print the next") },
92 { "undelete", &c_undelete
, (A
| P
| MSGLIST
), MDELETED
,MMNDEL
93 DS(392, "Un\"delete\" <message-list>") },
94 { "unset", &c_unset
, (M
| RAWLIST
), 1, 1000
95 DS(402, "Unset <option-list>") },
96 { "unsetenv", &c_unsetenv
, (M
| RAWLIST
), 1, 1000
97 DS(434, "Unset <option-list>, also in the program environment") },
98 { "mail", &c_sendmail
, (R
| M
| I
| STRLIST
), 0, 0
99 DS(351, "Compose mail; recipients may be given as arguments") },
100 { "Mail", &c_Sendmail
, (R
| M
| I
| STRLIST
), 0, 0
101 DS(350, "Like \"mail\", but derive filename from first recipient") },
102 { "mbox", &c_mboxit
, (A
| W
| MSGLIST
), 0, 0
103 DS(352, "Indicate that <message-list> is to be stored in *mbox*") },
104 { "more", &c_more
, (A
| MSGLIST
), 0, MMNDEL
105 DS(410, "Like \"type\"/\"print\", put print \\f between messages") },
106 { "page", &c_more
, (A
| MSGLIST
), 0, MMNDEL
107 DS(410, "Like \"type\"/\"print\", put print \\f between messages") },
108 { "More", &c_More
, (A
| MSGLIST
), 0, MMNDEL
109 DS(411, "Like \"Type\"/\"Print\", put print \\f between messages") },
110 { "Page", &c_More
, (A
| MSGLIST
), 0, MMNDEL
111 DS(411, "Like \"Type\"/\"Print\", put print \\f between messages") },
112 { "unread", &c_unread
, (A
| MSGLIST
), 0, MMNDEL
113 DS(356, "Mark <message-list> as not being read") },
114 { "Unread", &c_unread
, (A
| MSGLIST
), 0, MMNDEL
115 DS(356, "Mark <message-list> as not being read") },
116 { "new", &c_unread
, (A
| MSGLIST
), 0, MMNDEL
117 DS(356, "Mark <message-list> as not being read") },
118 { "New", &c_unread
, (A
| MSGLIST
), 0, MMNDEL
119 DS(356, "Mark <message-list> as not being read") },
120 { "!", &c_shell
, (I
| STRLIST
), 0, 0
121 DS(412, "Execute <shell-command>") },
122 { "copy", &c_copy
, (A
| M
| STRLIST
), 0, 0
123 DS(314, "Copy <message-list>, but don't mark them for deletion") },
124 { "Copy", &c_Copy
, (A
| M
| STRLIST
), 0, 0
125 DS(315, "Like \"copy\", but derive filename from first sender") },
126 { "chdir", &c_chdir
, (M
| RAWLIST
), 0, 1
127 DS(309, "Change CWD to the specified/the login directory") },
128 { "cd", &c_chdir
, (M
| RAWLIST
), 0, 1
129 DS(309, "Change CWD to the specified/the login directory") },
130 { "save", &c_save
, (A
| STRLIST
), 0, 0
131 DS(371, "Append <message-list> to <file>") },
132 { "Save", &c_Save
, (A
| STRLIST
), 0, 0
133 DS(372, "Like \"save\", but derive filename from first sender") },
134 { "source", &c_source
, (M
| RAWLIST
), 1, 1
135 DS(383, "Read commands from <file>") },
136 { "set", &c_set
, (M
| RAWLIST
), 0, 1000
137 DS(376, "Print all variables, or set (a) variable(s)") },
138 { "setenv", &c_setenv
, (M
| RAWLIST
), 2, 2
139 DS(433, "Set (a) variable(s) and export into the program environment") },
140 { "shell", &c_dosh
, (I
| NOLIST
), 0, 0
141 DS(378, "Invoke an interactive shell") },
142 { "unalias", &c_ungroup
, (M
| RAWLIST
), 0, 1000
143 DS(387, "Un\"alias\" <name-list>") },
144 { "write", &c_write
, (A
| STRLIST
), 0, 0
145 DS(406, "Write (append) to <file>") },
146 { "from", &c_from
, (A
| MSGLIST
), 0, MMNORM
147 DS(338, "Show message headers of <message-list>") },
148 { "file", &c_file
, (T
| M
| RAWLIST
), 0, 1
149 DS(329, "Switch to new or show the current mail file or folder") },
150 { "followup", &c_followup
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
151 DS(333, "Like \"respond\", but derive filename from first sender") },
152 { "followupall", &c_followupall
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
153 DS(334, "Like \"respond\", but derive filename from first sender") },
154 { "followupsender", &c_followupsender
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
155 DS(335, "Like \"Followup\", but always respond to the sender only") },
156 { "folder", &c_file
, (T
| M
| RAWLIST
), 0, 1
157 DS(329, "Switch to new or show the current mail file or folder") },
158 { "folders", &c_folders
, (T
| M
| RAWLIST
), 0, 1
159 DS(332, "List folders (below given folder)") },
160 { "z", &c_scroll
, (A
| M
| STRLIST
), 0, 0
161 DS(407, "Scroll to next/previous window of headers") },
162 { "Z", &c_Scroll
, (A
| M
| STRLIST
), 0, 0
163 DS(408, "Like \"z\", but continues to the next flagged message") },
164 { "headers", &c_headers
, (A
| MSGLIST
), 0, MMNDEL
165 DS(342, "Show the current(/last/next) 18-message group of headers") },
166 { "help", &c_help
, (H
| M
| RAWLIST
), 0, 1
167 DS(343, "Show command help (for the given one)") },
168 { "?", &c_help
, (H
| M
| RAWLIST
), 0, 1
169 DS(343, "Show command help (for the given one)") },
170 { "=", &c_pdot
, (A
| NOLIST
), 0, 0
171 DS(409, "Show current message number") },
172 { "Reply", &c_Respond
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
173 DS(368, "Reply to originator, exclusively") },
174 { "Respond", &c_Respond
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
175 DS(368, "Reply to originator, exclusively") },
176 { "Followup", &c_Followup
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
177 DS(332, "Like \"Respond\", but derive filename from first sender") },
178 { "reply", &c_respond
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
179 DS(369, "Reply to originator and recipients of <message-list>") },
180 { "replyall", &c_respondall
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
181 DS(369, "Reply to originator and recipients of <message-list>") },
182 { "replysender", &c_respondsender
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
183 DS(368, "Reply to originator, exclusively") },
184 { "respond", &c_respond
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
185 DS(369, "Reply to originators and recipients of <message-list>") },
186 { "respondall", &c_respondall
, (A
| R
| I
| MSGLIST
), 0, MMNDEL
187 DS(369, "Reply to originators and recipients of <message-list>") },
188 { "respondsender", &c_respondsender
, (A
| R
| I
| MSGLIST
),0, MMNDEL
189 DS(368, "Reply to originator, exclusively") },
190 { "Resend", &c_Resend
, (A
| R
| STRLIST
), 0, MMNDEL
191 DS(365, "Like \"resend\", but don't add Resent-* headers") },
192 { "Redirect", &c_Resend
, (A
| R
| STRLIST
), 0, MMNDEL
193 DS(365, "Like \"resend\", but don't add Resent-* headers") },
194 { "resend", &c_resend
, (A
| R
| STRLIST
), 0, MMNDEL
195 DS(364, "Resend <message-list> to <user>, add Resent-* headers") },
196 { "redirect", &c_resend
, (A
| R
| STRLIST
), 0, MMNDEL
197 DS(364, "Resend <message-list> to <user>, add Resent-* headers") },
198 { "Forward", &c_Forward
, (A
| R
| STRLIST
), 0, MMNDEL
199 DS(337, "Like \"forward\", but derive filename from <address>") },
200 { "Fwd", &c_Forward
, (A
| R
| STRLIST
), 0, MMNDEL
201 DS(337, "Like \"forward\", but derive filename from <address>") },
202 { "forward", &c_forward
, (A
| R
| STRLIST
), 0, MMNDEL
203 DS(336, "Forward <message> to <address>") },
204 { "fwd", &c_forward
, (A
| R
| STRLIST
), 0, MMNDEL
205 DS(336, "Forward <message> to <address>") },
206 { "edit", &c_editor
, (A
| I
| MSGLIST
), 0, MMNORM
207 DS(326, "Edit <message-list>") },
208 { "echo", &c_echo
, (H
| M
| ECHOLIST
), 0, 1000
209 DS(325, "Echo given arguments") },
210 { "quit", &c_quit
, NOLIST
, 0, 0
211 DS(363, "Terminate session, saving messages as necessary") },
212 { "list", &_pcmdlist
, (H
| M
| NOLIST
), 0, 0
213 DS(349, "List all available commands") },
214 { "xit", &c_rexit
, (M
| NOLIST
), 0, 0
215 DS(328, "Immediate return to the shell without saving") },
216 { "exit", &c_rexit
, (M
| NOLIST
), 0, 0
217 DS(328, "Immediate return to the shell without saving") },
218 { "pipe", &c_pipe
, (A
| STRLIST
), 0, MMNDEL
219 DS(359, "Pipe <message-list> to <command>") },
220 { "|", &c_pipe
, (A
| STRLIST
), 0, MMNDEL
221 DS(359, "Pipe <message-list> to <command>") },
222 { "Pipe", &c_Pipe
, (A
| STRLIST
), 0, MMNDEL
223 DS(358, "Like \"pipe\", but pipes all headers and parts") },
224 { "size", &c_messize
, (A
| MSGLIST
), 0, MMNDEL
225 DS(381, "Show size in characters for <message-list>") },
226 { "hold", &c_preserve
, (A
| W
| MSGLIST
), 0, MMNDEL
227 DS(344, "Save <message-list> in system mailbox instead of *mbox*") },
228 { "if", &c_if
, (F
| M
| RAWLIST
), 1, 3
229 DS(327, "Part of the if .. then .. endif statement") },
230 { "else", &c_else
, (F
| M
| RAWLIST
), 0, 0
231 DS(327, "Part of the if .. then .. endif statement") },
232 { "elif", &c_elif
, (F
| M
| RAWLIST
), 1, 3
233 DS(327, "Part of the if .. then .. endif statement") },
234 { "endif", &c_endif
, (F
| M
| RAWLIST
), 0, 0
235 DS(327, "Part of the if .. then .. endif statement") },
236 { "alternates", &c_alternates
, (M
| RAWLIST
), 0, 1000
237 DS(305, "Show or define an alternate list for the invoking user") },
238 { "ignore", &c_igfield
, (M
| RAWLIST
), 0, 1000
239 DS(321, "Add header fields to ignored LIST), or show that list") },
240 { "discard", &c_igfield
, (M
| RAWLIST
), 0, 1000
241 DS(321, "Add header fields to ignored LIST), or show that list") },
242 { "retain", &c_retfield
, (M
| RAWLIST
), 0, 1000
243 DS(370, "Add header fields to retained LIST), or show that list") },
244 { "saveignore", &c_saveigfield
, (M
| RAWLIST
), 0, 1000
245 DS(373, "Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
246 { "savediscard", &c_saveigfield
, (M
| RAWLIST
), 0, 1000
247 DS(373, "Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
248 { "saveretain", &c_saveretfield
, (M
| RAWLIST
), 0, 1000
249 DS(374, "Is to \"save\" what \"retain\" is to \"type\"/\"print\"") },
250 { "unignore", &c_unignore
, (M
| RAWLIST
), 0, 1000
251 DS(396, "Un\"ignore\" <header-fields>") },
252 { "unretain", &c_unretain
, (M
| RAWLIST
), 0, 1000
253 DS(399, "Un\"retain\" <header-fields>") },
254 { "unsaveignore", &c_unsaveignore
, (M
| RAWLIST
), 0, 1000
255 DS(400, "Un\"saveignore\" <header-fields>") },
256 { "unsaveretain", &c_unsaveretain
, (M
| RAWLIST
), 0, 1000
257 DS(401, "Un\"saveretain\" <header-fields>") },
258 { "inc", &c_newmail
, (A
| T
| NOLIST
), 0, 0
259 DS(346, "Check for new mail in current folder") },
260 { "newmail", &c_newmail
, (A
| T
| NOLIST
), 0, 0
261 DS(346, "Check for new mail in current folder") },
262 { "shortcut", &c_shortcut
, (M
| RAWLIST
), 0, 1000
263 DS(379, "Define a <shortcut> and <expansion>, or list shortcuts") },
264 { "unshortcut", &c_unshortcut
, (M
| RAWLIST
), 0, 1000
265 DS(403, "Delete <shortcut-list>") },
266 { "imap", &c_imap_imap
, (A
| STRLIST
), 0, 1000
267 DS(345, "Send command strings directly to the IMAP server") },
268 { "account", &c_account
, (M
| RAWLIST
), 0, 1000
269 DS(303, "Creates, selects or lists an email account") },
270 { "thread", &c_thread
, (A
| MSGLIST
), 0, 0
271 DS(384, "Create threaded view of current \"folder\"") },
272 { "unthread", &c_unthread
, (A
| MSGLIST
), 0, 0
273 DS(404, "Disable sorted or threaded mode") },
274 { "connect", &c_connect
, (A
| NOLIST
), 0, 0
275 DS(314, "If disconnected, connect to IMAP mailbox") },
276 { "disconnect", &c_disconnect
, (A
| NDMLIST
), 0, 0
277 DS(322, "If connected, disconnect from IMAP mailbox") },
278 { "sort", &c_sort
, (A
| RAWLIST
), 0, 1
279 DS(382, "Change sorting criteria (and addressing modes)") },
280 { "unsort", &c_unthread
, (A
| MSGLIST
), 0, 0
281 DS(404, "Disable sorted or threaded mode") },
282 { "cache", &c_cache
, (A
| MSGLIST
), 0, 0
283 DS(307, "Read specified <message list> into the IMAP cache") },
284 { "flag", &c_flag
, (A
| M
| MSGLIST
), 0, 0
285 DS(330, "(Un)Flag <message-list> (for special attention)") },
286 { "unflag", &c_unflag
, (A
| M
| MSGLIST
), 0, 0
287 DS(330, "(Un)Flag <message-list> (for special attention)") },
288 { "answered", &c_answered
, (A
| M
| MSGLIST
), 0, 0
289 DS(306, "Mark the given <message list> as \"answered\"") },
290 { "unanswered", &c_unanswered
, (A
| M
| MSGLIST
), 0, 0
291 DS(388, "Un\"answered\" <message-list>") },
292 { "draft", &c_draft
, (A
| M
| MSGLIST
), 0, 0
293 DS(324, "Mark <message-list> as draft") },
294 { "undraft", &c_undraft
, (A
| M
| MSGLIST
), 0, 0
295 DS(389, "Un\"draft\" <message-list>") },
296 { "define", &c_define
, (M
| RAWLIST
), 0, 2
297 DS(319, "Define a macro") },
298 { "undefine", &c_undefine
, (M
| RAWLIST
), 0, 1000
299 DS(391, "Un\"define\" all <macros>") },
300 { "unaccount", &c_unaccount
, (M
| RAWLIST
), 0, 1000
301 DS(432, "Delete all given <accounts>") },
302 { "call", &c_call
, (M
| RAWLIST
), 0, 1
303 DS(308, "Call a macro") },
304 { "~", &c_call
, (M
| RAWLIST
), 0, 1
305 DS(308, "Call a macro") },
306 { "move", &c_move
, (A
| M
| STRLIST
), 0, 0
307 DS(353, "Like \"copy\", but mark messages for deletion") },
308 { "mv", &c_move
, (A
| M
| STRLIST
), 0, 0
309 DS(353, "Like \"copy\", but mark messages for deletion") },
310 { "Move", &c_Move
, (A
| M
| STRLIST
), 0, 0
311 DS(354, "Like \"move\", but derive filename from first sender") },
312 { "Mv", &c_Move
, (A
| M
| STRLIST
), 0, 0
313 DS(354, "Like \"move\", but derive filename from first sender") },
314 { "noop", &c_noop
, (A
| M
| RAWLIST
), 0, 0
315 DS(357, "NOOP command if IMAP or POP folder; else noop") },
316 { "collapse", &c_collapse
, (A
| MSGLIST
), 0, 0
317 DS(312, "Collapse thread views for <message-list>") },
318 { "uncollapse", &c_uncollapse
, (A
| MSGLIST
), 0, 0
319 DS(390, "Uncollapse <message-list> if in threaded view") },
320 { "verify", &c_verify
, (A
| MSGLIST
), 0, 0
321 DS(405, "Verify <message-list>") },
322 { "decrypt", &c_decrypt
, (A
| M
| STRLIST
), 0, 0
323 DS(316, "Like \"copy\", but decrypt first, if encrypted") },
324 { "Decrypt", &c_Decrypt
, (A
| M
| STRLIST
), 0, 0
325 DS(317, "Like \"decrypt\", but derive filename from first sender") },
326 { "certsave", &c_certsave
, (A
| STRLIST
), 0, 0
327 DS(310, "Save S/MIME certificates of <message-list> to <file>") },
328 { "rename", &c_rename
, (M
| RAWLIST
), 0, 2
329 DS(367, "Rename <existing-folder> to <new-folder>") },
330 { "remove", &c_remove
, (M
| RAWLIST
), 0, 1000
331 DS(366, "Remove the named folders") },
332 { "show", &c_show
, (A
| MSGLIST
), 0, MMNDEL
333 DS(380, "Like \"print\", but show raw message content") },
334 { "Show", &c_show
, (A
| MSGLIST
), 0, MMNDEL
335 DS(380, "Like \"print\", but show raw message content") },
336 { "seen", &c_seen
, (A
| M
| MSGLIST
), 0, MMNDEL
337 DS(377, "Mark <message-list> as seen") },
338 { "Seen", &c_seen
, (A
| M
| MSGLIST
), 0, MMNDEL
339 DS(377, "Mark <message-list> as seen") },
340 { "fwdignore", &c_fwdigfield
, (M
| RAWLIST
), 0, 1000
341 DS(339, "Which header fields are to be ignored with \"forward\"") },
342 { "fwddiscard", &c_fwdigfield
, (M
| RAWLIST
), 0, 1000
343 DS(339, "Which header fields are to be ignored with \"forward\"") },
344 { "fwdretain", &c_fwdretfield
, (M
| RAWLIST
), 0, 1000
345 DS(340, "Which header fields have to be retained with \"forward\"") },
346 { "unfwdignore", &c_unfwdignore
, (M
| RAWLIST
), 0, 1000
347 DS(393, "Un\"fwdignore\" <header-fields>") },
348 { "unfwdretain", &c_unfwdretain
, (M
| RAWLIST
), 0, 1000
349 DS(394, "Un\"fwdretain\" <header-fields>") },
350 { "mimetypes", &c_mimetypes
, (M
| RAWLIST
), 0, 1
351 DS(418, "Either <show> (default) or <clear> the mime.types cache") },
352 { "spamrate", &c_spam_rate
, (A
| M
| R
| MSGLIST
), 0, 0
353 DS(419, "Rate <message-list> via the spam detector") },
354 { "spamham", &c_spam_ham
, (A
| M
| R
| MSGLIST
), 0, 0
355 DS(420, "Teach the spam detector that <message-list> is ham") },
356 { "spamspam", &c_spam_spam
, (A
| M
| R
| MSGLIST
), 0, 0
357 DS(421, "Teach the spam detector that <message-list> is spam") },
358 { "spamforget", &c_spam_forget
, (A
| M
| R
| MSGLIST
), 0, 0
359 DS(422, "Force the spam detector to \"unlearn\" <message-list>") },
360 { "spamset", &c_spam_set
, (A
| M
| MSGLIST
), 0, 0
361 DS(423, "Set the spam flag for each message in <message-list>") },
362 { "spamclear", &c_spam_clear
, (A
| M
| MSGLIST
), 0, 0
363 DS(424, "Clear the spam flag for each message in <message-list>") },
364 { "ghost", &_ghost
, (M
| RAWLIST
), 0, 2
365 DS(425, "Define a <ghost> of <command>, or list all ghosts") },
366 { "unghost", &_unghost
, (M
| RAWLIST
), 1, 1000
367 DS(426, "Delete <ghost-list>") },
368 { "localopts", &c_localopts
, (H
| M
| RAWLIST
), 1, 1
369 DS(427, "Inside `define' / `account': insulate modifications? <0> / <1>")},
370 { "cwd", &c_cwd
, (M
| NOLIST
), 0, 0
371 DS(428, "Print current working directory (CWD)") },
372 { "pwd", &c_cwd
, (M
| NOLIST
), 0, 0
373 DS(428, "Print current working directory (CWD)") },
374 { "varshow", &c_varshow
, (H
| M
| RAWLIST
), 1, 1000
375 DS(430, "Show some informations about the given <variables>") },
376 { "urlencode", &c_urlencode
, (H
| M
| RAWLIST
), 1, 1000
377 DS(435, "Encode <string-list> for usage in an URL") },
378 { "urldecode", &c_urldecode
, (H
| M
| RAWLIST
), 1, 1000
379 DS(436, "Decode the URL-encoded <URL-list> into strings") },
380 { "features", &_features
, (H
| M
| NOLIST
), 0, 0
381 DS(429, "Show features that are compiled into the MUA") },
382 { "version", &_version
, (H
| M
| NOLIST
), 0, 0
383 DS(413, "Print the MUA version") },
385 { "history", &c_history
, (H
| I
| M
| V
| RAWLIST
), 0, 1
386 DS(431, "<show> (default), <clear> or select <NO> from editor history") },
389 { "sstats", &c_sstats
, (H
| I
| M
| NOLIST
), 0, 0
390 DS(416, "Print statistics about the auto-reclaimed string store") },
391 { "smemtrace", &c_smemtrace
, (H
| I
| M
| NOLIST
), 0, 0
392 DS(417, "Trace current memory usage afap") },
394 { NULL
, NULL
, 0, 0, 0 DS(0, "") }
416 /* vim:set fenc=utf-8:s-it-mode */