nailfuns: add NYD2 series (only if HAVE_NYD2)
[s-mailx.git] / cmd_tab.h
blob4e78252fd0248965a1f39192d337ebd9104ee49b
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>.
6 */
7 /*
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
13 * are met:
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
37 * SUCH DAMAGE.
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
48 #define A ARG_A
49 #define F ARG_F
50 #define H ARG_H
51 #define I ARG_I
52 #define M ARG_M
53 #define P ARG_P
54 #define R ARG_R
55 #define T ARG_T
56 #define V ARG_V
57 #define W ARG_W
59 #ifdef HAVE_DOCSTRINGS
60 # define DS(S) , S
61 #else
62 # define DS(S)
63 #endif
65 /* Note: the first command in here may NOT expand to an unsupported one! */
66 { "next", &c_next, (A | NDMLIST), 0, MMNDEL
67 DS(N_("Goes to the next message (-list) and prints it")) },
68 { "alias", &c_group, (M | RAWLIST), 0, 1000
69 DS(N_("Show all or the specified alias(es), or (re)define one")) },
70 { "print", &c_type, (A | MSGLIST), 0, MMNDEL
71 DS(N_("Type each message of <message-list> on the terminal")) },
72 { "type", &c_type, (A | MSGLIST), 0, MMNDEL
73 DS(N_("Type each message of <message-list> on the terminal")) },
74 { "Type", &c_Type, (A | MSGLIST), 0, MMNDEL
75 DS("Like \"print\", but prints all headers and parts") },
76 { "Print", &c_Type, (A | MSGLIST), 0, MMNDEL
77 DS("Like \"print\", but prints all headers and parts") },
78 { "visual", &c_visual, (A | I | MSGLIST), 0, MMNORM
79 DS(N_("Edit <message-list>")) },
80 { "top", &c_top, (A | MSGLIST), 0, MMNDEL
81 DS(N_("Print top few lines of <message-list>")) },
82 { "touch", &c_stouch, (A | W | MSGLIST), 0, MMNDEL
83 DS(N_("Mark <message-list> for saving in *mbox*")) },
84 { "preserve", &c_preserve, (A | W | MSGLIST), 0, MMNDEL
85 DS(N_("Save <message-list> in system mailbox instead of *mbox*")) },
86 { "delete", &c_delete, (A | W | P | MSGLIST), 0, MMNDEL
87 DS(N_("Delete <message-list>")) },
88 { "dp", &c_deltype, (A | W | MSGLIST), 0, MMNDEL
89 DS(N_("Delete the current message, then print the next")) },
90 { "dt", &c_deltype, (A | W | MSGLIST), 0, MMNDEL
91 DS(N_("Delete the current message, then print the next")) },
92 { "undelete", &c_undelete, (A | P | MSGLIST), MDELETED,MMNDEL
93 DS("Un\"delete\" <message-list>") },
94 { "unset", &c_unset, (H | M | RAWLIST), 1, 1000
95 DS(N_("Unset <option-list>")) },
96 { "unsetenv", &c_unsetenv, (H | M | RAWLIST), 1, 1000
97 DS(N_("Unset <option-list>, also in the program environment")) },
98 { "mail", &c_sendmail, (R | M | I | STRLIST), 0, 0
99 DS(N_("Compose mail; recipients may be given as arguments")) },
100 { "Mail", &c_Sendmail, (R | M | I | STRLIST), 0, 0
101 DS("Like \"mail\", but derive filename from first recipient") },
102 { "mbox", &c_mboxit, (A | W | MSGLIST), 0, 0
103 DS(N_("Indicate that <message-list> is to be stored in *mbox*")) },
104 { "more", &c_more, (A | MSGLIST), 0, MMNDEL
105 DS("Like \"type\"/\"print\", put print \\f between messages") },
106 { "page", &c_more, (A | MSGLIST), 0, MMNDEL
107 DS("Like \"type\"/\"print\", put print \\f between messages") },
108 { "More", &c_More, (A | MSGLIST), 0, MMNDEL
109 DS("Like \"Type\"/\"Print\", put print \\f between messages") },
110 { "Page", &c_More, (A | MSGLIST), 0, MMNDEL
111 DS("Like \"Type\"/\"Print\", put print \\f between messages") },
112 { "unread", &c_unread, (A | MSGLIST), 0, MMNDEL
113 DS(N_("Mark <message-list> as not being read")) },
114 { "Unread", &c_unread, (A | MSGLIST), 0, MMNDEL
115 DS(N_("Mark <message-list> as not being read")) },
116 { "new", &c_unread, (A | MSGLIST), 0, MMNDEL
117 DS(N_("Mark <message-list> as not being read")) },
118 { "New", &c_unread, (A | MSGLIST), 0, MMNDEL
119 DS(N_("Mark <message-list> as not being read")) },
120 { "!", &c_shell, (I | STRLIST), 0, 0 /* XXX I? */
121 DS(N_("Execute <shell-command>")) },
122 { "copy", &c_copy, (A | M | STRLIST), 0, 0
123 DS(N_("Copy <message-list>, but don't mark them for deletion")) },
124 { "Copy", &c_Copy, (A | M | STRLIST), 0, 0
125 DS("Like \"copy\", but derive filename from first sender") },
126 { "chdir", &c_chdir, (M | RAWLIST), 0, 1
127 DS(N_("Change CWD to the specified/the login directory")) },
128 { "cd", &c_chdir, (M | RAWLIST), 0, 1
129 DS(N_("Change CWD to the specified/the login directory")) },
130 { "save", &c_save, (A | STRLIST), 0, 0
131 DS(N_("Append <message-list> to <file>")) },
132 { "Save", &c_Save, (A | STRLIST), 0, 0
133 DS("Like \"save\", but derive filename from first sender") },
134 { "source", &c_source, (M | RAWLIST), 1, 1
135 DS(N_("Read commands from <file>")) },
136 { "set", &c_set, (H | M | RAWLIST), 0, 1000
137 DS(N_("Print all variables, or set (a) variable(s)")) },
138 { "setenv", &c_setenv, (H | M | RAWLIST), 1, 1000
139 DS(N_("Set (a) variable(s) and export into the program environment")) },
140 { "shell", &c_dosh, (I | NOLIST), 0, 0
141 DS(N_("Invoke an interactive shell")) },
142 { "unalias", &c_ungroup, (M | RAWLIST), 0, 1000
143 DS("Un\"alias\" <name-list>") },
144 { "write", &c_write, (A | STRLIST), 0, 0
145 DS(N_("Write (append) to <file>")) },
146 { "from", &c_from, (A | MSGLIST), 0, MMNORM
147 DS(N_("Show message headers of <message-list>")) },
148 { "file", &c_file, (T | M | RAWLIST), 0, 1
149 DS(N_("Switch to new or show the current mail file or folder")) },
150 { "followup", &c_followup, (A | R | I | MSGLIST), 0, MMNDEL
151 DS("Like \"respond\", but derive filename from first sender") },
152 { "followupall", &c_followupall, (A | R | I | MSGLIST), 0, MMNDEL
153 DS("Like \"respond\", but derive filename from first sender") },
154 { "followupsender", &c_followupsender, (A | R | I | MSGLIST), 0, MMNDEL
155 DS("Like \"Followup\", but always respond to the sender only") },
156 { "folder", &c_file, (T | M | RAWLIST), 0, 1
157 DS(N_("Switch to new or show the current mail file or folder")) },
158 { "folders", &c_folders, (T | M | RAWLIST), 0, 1
159 DS(N_("List folders (below given folder)")) },
160 { "z", &c_scroll, (A | M | STRLIST), 0, 0
161 DS(N_("Scroll to next/previous window of headers")) },
162 { "Z", &c_Scroll, (A | M | STRLIST), 0, 0
163 DS("Like \"z\", but continues to the next flagged message") },
164 { "headers", &c_headers, (A | MSGLIST), 0, MMNDEL
165 DS(N_("Show the current(/last/next) 18-message group of headers")) },
166 { "help", &c_help, (H | M | RAWLIST), 0, 1
167 DS(N_("Show command help (for the given one)")) },
168 { "?", &c_help, (H | M | RAWLIST), 0, 1
169 DS(N_("Show command help (for the given one)")) },
170 { "=", &c_pdot, (A | NOLIST), 0, 0
171 DS(N_("Show current message number")) },
172 { "Reply", &c_Respond, (A | R | I | MSGLIST), 0, MMNDEL
173 DS(N_("Reply to originator, exclusively")) },
174 { "Respond", &c_Respond, (A | R | I | MSGLIST), 0, MMNDEL
175 DS(N_("Reply to originator, exclusively")) },
176 { "Followup", &c_Followup, (A | R | I | MSGLIST), 0, MMNDEL
177 DS("Like \"Respond\", but derive filename from first sender") },
178 { "reply", &c_respond, (A | R | I | MSGLIST), 0, MMNDEL
179 DS(N_("Reply to originator and recipients of <message-list>")) },
180 { "replyall", &c_respondall, (A | R | I | MSGLIST), 0, MMNDEL
181 DS(N_("Reply to originator and recipients of <message-list>")) },
182 { "replysender", &c_respondsender, (A | R | I | MSGLIST), 0, MMNDEL
183 DS(N_("Reply to originator, exclusively")) },
184 { "respond", &c_respond, (A | R | I | MSGLIST), 0, MMNDEL
185 DS(N_("Reply to originators and recipients of <message-list>")) },
186 { "respondall", &c_respondall, (A | R | I | MSGLIST), 0, MMNDEL
187 DS(N_("Reply to originators and recipients of <message-list>")) },
188 { "respondsender", &c_respondsender, (A | R | I | MSGLIST),0, MMNDEL
189 DS(N_("Reply to originator, exclusively")) },
190 { "Resend", &c_Resend, (A | R | STRLIST), 0, MMNDEL
191 DS("Like \"resend\", but don't add Resent-* headers") },
192 { "Redirect", &c_Resend, (A | R | STRLIST), 0, MMNDEL
193 DS("Like \"resend\", but don't add Resent-* headers") },
194 { "resend", &c_resend, (A | R | STRLIST), 0, MMNDEL
195 DS(N_("Resend <message-list> to <user>, add Resent-* headers")) },
196 { "redirect", &c_resend, (A | R | STRLIST), 0, MMNDEL
197 DS(N_("Resend <message-list> to <user>, add Resent-* headers")) },
198 { "Forward", &c_Forward, (A | R | STRLIST), 0, MMNDEL
199 DS("Like \"forward\", but derive filename from <address>") },
200 { "Fwd", &c_Forward, (A | R | STRLIST), 0, MMNDEL
201 DS("Like \"forward\", but derive filename from <address>") },
202 { "forward", &c_forward, (A | R | STRLIST), 0, MMNDEL
203 DS(N_("Forward <message> to <address>")) },
204 { "fwd", &c_forward, (A | R | STRLIST), 0, MMNDEL
205 DS(N_("Forward <message> to <address>")) },
206 { "edit", &c_editor, (A | I | MSGLIST), 0, MMNORM
207 DS(N_("Edit <message-list>")) },
208 { "echo", &c_echo, (H | M | ECHOLIST), 0, 1000
209 DS(N_("Echo given arguments")) },
210 { "quit", &c_quit, NOLIST, 0, 0
211 DS(N_("Terminate session, saving messages as necessary")) },
212 { "list", &_pcmdlist, (H | M | NOLIST), 0, 0
213 DS(N_("List all available commands")) },
214 { "xit", &c_rexit, (M | NOLIST), 0, 0
215 DS(N_("Immediate return to the shell without saving")) },
216 { "exit", &c_rexit, (M | NOLIST), 0, 0
217 DS(N_("Immediate return to the shell without saving")) },
218 { "pipe", &c_pipe, (A | STRLIST), 0, MMNDEL
219 DS(N_("Pipe <message-list> to <command>")) },
220 { "|", &c_pipe, (A | STRLIST), 0, MMNDEL
221 DS(N_("Pipe <message-list> to <command>")) },
222 { "Pipe", &c_Pipe, (A | STRLIST), 0, MMNDEL
223 DS("Like \"pipe\", but pipes all headers and parts") },
224 { "size", &c_messize, (A | MSGLIST), 0, MMNDEL
225 DS(N_("Show size in characters for <message-list>")) },
226 { "hold", &c_preserve, (A | W | MSGLIST), 0, MMNDEL
227 DS(N_("Save <message-list> in system mailbox instead of *mbox*")) },
228 { "if", &c_if, (F | M | RAWLIST), 1, 3
229 DS(N_("Part of the if .. then .. endif statement")) },
230 { "else", &c_else, (F | M | RAWLIST), 0, 0
231 DS(N_("Part of the if .. then .. endif statement")) },
232 { "elif", &c_elif, (F | M | RAWLIST), 1, 3
233 DS(N_("Part of the if .. then .. endif statement")) },
234 { "endif", &c_endif, (F | M | RAWLIST), 0, 0
235 DS(N_("Part of the if .. then .. endif statement")) },
236 { "alternates", &c_alternates, (M | RAWLIST), 0, 1000
237 DS(N_("Show or define an alternate list for the invoking user")) },
238 { "ignore", &c_igfield, (M | RAWLIST), 0, 1000
239 DS(N_("Add <header-fields> to the ignored LIST, or show that list")) },
240 { "discard", &c_igfield, (M | RAWLIST), 0, 1000
241 DS(N_("Add <header-fields> to the ignored LIST, or show that list")) },
242 { "retain", &c_retfield, (M | RAWLIST), 0, 1000
243 DS(N_("Add <header-fields> to retained list, or show that list")) },
244 { "saveignore", &c_saveigfield, (M | RAWLIST), 0, 1000
245 DS("Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
246 { "savediscard", &c_saveigfield, (M | RAWLIST), 0, 1000
247 DS("Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
248 { "saveretain", &c_saveretfield, (M | RAWLIST), 0, 1000
249 DS("Is to \"save\" what \"retain\" is to \"type\"/\"print\"") },
250 { "unignore", &c_unignore, (M | RAWLIST), 0, 1000
251 DS("Un\"ignore\" <header-fields>") },
252 { "unretain", &c_unretain, (M | RAWLIST), 0, 1000
253 DS("Un\"retain\" <header-fields>") },
254 { "unsaveignore", &c_unsaveignore, (M | RAWLIST), 0, 1000
255 DS("Un\"saveignore\" <header-fields>") },
256 { "unsaveretain", &c_unsaveretain, (M | RAWLIST), 0, 1000
257 DS("Un\"saveretain\" <header-fields>") },
258 { "inc", &c_newmail, (A | T | NOLIST), 0, 0
259 DS(N_("Check for new mail in current folder")) },
260 { "newmail", &c_newmail, (A | T | NOLIST), 0, 0
261 DS(N_("Check for new mail in current folder")) },
262 { "shortcut", &c_shortcut, (M | RAWLIST), 0, 1000
263 DS(N_("Define a <shortcut> and <expansion>, or list shortcuts")) },
264 { "unshortcut", &c_unshortcut, (M | RAWLIST), 0, 1000
265 DS(N_("Delete <shortcut-list>")) },
266 { "imap", &c_imap_imap, (A | STRLIST), 0, 1000
267 DS(N_("Send command strings directly to the IMAP server")) },
268 { "account", &c_account, (M | RAWLIST), 0, 1000
269 DS(N_("Creates, selects or lists an email account")) },
270 { "thread", &c_thread, (A | MSGLIST), 0, 0
271 DS("Create threaded view of current \"folder\"") },
272 { "unthread", &c_unthread, (A | MSGLIST), 0, 0
273 DS(N_("Disable sorted or threaded mode")) },
274 { "connect", &c_connect, (A | NOLIST), 0, 0
275 DS(N_("If disconnected, connect to IMAP mailbox")) },
276 { "disconnect", &c_disconnect, (A | NDMLIST), 0, 0
277 DS(N_("If connected, disconnect from IMAP mailbox")) },
278 { "sort", &c_sort, (A | RAWLIST), 0, 1
279 DS(N_("Change sorting criteria (and addressing modes)")) },
280 { "unsort", &c_unthread, (A | MSGLIST), 0, 0
281 DS(N_("Disable sorted or threaded mode")) },
282 { "cache", &c_cache, (A | MSGLIST), 0, 0
283 DS(N_("Read specified <message list> into the IMAP cache")) },
284 { "flag", &c_flag, (A | M | MSGLIST), 0, 0
285 DS(N_("(Un)Flag <message-list> (for special attention)")) },
286 { "unflag", &c_unflag, (A | M | MSGLIST), 0, 0
287 DS(N_("(Un)Flag <message-list> (for special attention)")) },
288 { "answered", &c_answered, (A | M | MSGLIST), 0, 0
289 DS("Mark the given <message list> as \"answered\"") },
290 { "unanswered", &c_unanswered, (A | M | MSGLIST), 0, 0
291 DS("Un\"answered\" <message-list>") },
292 { "draft", &c_draft, (A | M | MSGLIST), 0, 0
293 DS(N_("Mark <message-list> as draft")) },
294 { "undraft", &c_undraft, (A | M | MSGLIST), 0, 0
295 DS("Un\"draft\" <message-list>") },
296 { "define", &c_define, (M | RAWLIST), 0, 2
297 DS(N_("Define a macro")) },
298 { "undefine", &c_undefine, (M | RAWLIST), 0, 1000
299 DS("Un\"define\" all <macros>") },
300 { "unaccount", &c_unaccount, (M | RAWLIST), 0, 1000
301 DS(N_("Delete all given <accounts>")) },
302 { "call", &c_call, (M | RAWLIST), 0, 1
303 DS(N_("Call a macro")) },
304 { "~", &c_call, (M | RAWLIST), 0, 1
305 DS(N_("Call a macro")) },
306 { "move", &c_move, (A | M | STRLIST), 0, 0
307 DS("Like \"copy\", but mark messages for deletion") },
308 { "mv", &c_move, (A | M | STRLIST), 0, 0
309 DS("Like \"copy\", but mark messages for deletion") },
310 { "Move", &c_Move, (A | M | STRLIST), 0, 0
311 DS("Like \"move\", but derive filename from first sender") },
312 { "Mv", &c_Move, (A | M | STRLIST), 0, 0
313 DS("Like \"move\", but derive filename from first sender") },
314 { "noop", &c_noop, (A | M | RAWLIST), 0, 0
315 DS(N_("NOOP command if IMAP or POP folder; else noop")) },
316 { "collapse", &c_collapse, (A | MSGLIST), 0, 0
317 DS(N_("Collapse thread views for <message-list>")) },
318 { "uncollapse", &c_uncollapse, (A | MSGLIST), 0, 0
319 DS(N_("Uncollapse <message-list> if in threaded view")) },
320 { "verify", &c_verify, (A | MSGLIST), 0, 0
321 DS(N_("Verify <message-list>")) },
322 { "decrypt", &c_decrypt, (A | M | STRLIST), 0, 0
323 DS("Like \"copy\", but decrypt first, if encrypted") },
324 { "Decrypt", &c_Decrypt, (A | M | STRLIST), 0, 0
325 DS("Like \"decrypt\", but derive filename from first sender") },
326 { "certsave", &c_certsave, (A | STRLIST), 0, 0
327 DS(N_("Save S/MIME certificates of <message-list> to <file>")) },
328 { "rename", &c_rename, (M | RAWLIST), 0, 2
329 DS(N_("Rename <existing-folder> to <new-folder>")) },
330 { "remove", &c_remove, (M | RAWLIST), 0, 1000
331 DS(N_("Remove the named folders")) },
332 { "show", &c_show, (A | MSGLIST), 0, MMNDEL
333 DS("Like \"print\", but show raw message content") },
334 { "Show", &c_show, (A | MSGLIST), 0, MMNDEL
335 DS("Like \"print\", but show raw message content") },
336 { "seen", &c_seen, (A | M | MSGLIST), 0, MMNDEL
337 DS(N_("Mark <message-list> as seen")) },
338 { "Seen", &c_seen, (A | M | MSGLIST), 0, MMNDEL
339 DS(N_("Mark <message-list> as seen")) },
340 { "fwdignore", &c_fwdigfield, (M | RAWLIST), 0, 1000
341 DS("Which header fields are to be ignored with \"forward\"") },
342 { "fwddiscard", &c_fwdigfield, (M | RAWLIST), 0, 1000
343 DS("Which header fields are to be ignored with \"forward\"") },
344 { "fwdretain", &c_fwdretfield, (M | RAWLIST), 0, 1000
345 DS("Which header fields have to be retained with \"forward\"") },
346 { "unfwdignore", &c_unfwdignore, (M | RAWLIST), 0, 1000
347 DS("Un\"fwdignore\" <header-fields>") },
348 { "unfwdretain", &c_unfwdretain, (M | RAWLIST), 0, 1000
349 DS("Un\"fwdretain\" <header-fields>") },
350 { "mimetypes", &c_mimetypes, (M | RAWLIST), 0, 1
351 DS(N_("Either <show> (default) or <clear> the mime.types cache")) },
352 { "spamrate", &c_spam_rate, (A | M | R | MSGLIST), 0, 0
353 DS(N_("Rate <message-list> via the spam detector")) },
354 { "spamham", &c_spam_ham, (A | M | R | MSGLIST), 0, 0
355 DS(N_("Teach the spam detector that <message-list> is ham")) },
356 { "spamspam", &c_spam_spam, (A | M | R | MSGLIST), 0, 0
357 DS(N_("Teach the spam detector that <message-list> is spam")) },
358 { "spamforget", &c_spam_forget, (A | M | R | MSGLIST), 0, 0
359 DS("Force the spam detector to \"unlearn\" <message-list>") },
360 { "spamset", &c_spam_set, (A | M | MSGLIST), 0, 0
361 DS(N_("Set the spam flag for each message in <message-list>")) },
362 { "spamclear", &c_spam_clear, (A | M | MSGLIST), 0, 0
363 DS(N_("Clear the spam flag for each message in <message-list>")) },
364 { "ghost", &_ghost, (M | RAWLIST), 0, 2
365 DS(N_("Define a <ghost> of <command>, or list all ghosts")) },
366 { "unghost", &_unghost, (M | RAWLIST), 1, 1000
367 DS(N_("Delete <ghost-list>")) },
368 { "localopts", &c_localopts, (H | M | RAWLIST), 1, 1
369 DS(N_("Inside `define' / `account': insulate modifications? <0> / <1>"))},
370 { "cwd", &c_cwd, (M | NOLIST), 0, 0
371 DS(N_("Print current working directory (CWD)")) },
372 { "pwd", &c_cwd, (M | NOLIST), 0, 0
373 DS(N_("Print current working directory (CWD)")) },
374 { "varshow", &c_varshow, (H | M | RAWLIST), 1, 1000
375 DS(N_("Show some informations about the given <variables>")) },
376 { "varedit", &c_varedit, (H | I | M | RAWLIST), 1, 1000
377 DS(N_("Edit the value(s) of (an) existing variable(s)")) },
378 { "urlencode", &c_urlencode, (H| M | RAWLIST), 1, 1000
379 DS(N_("Encode <string-list> for usage in an URL")) },
380 { "urldecode", &c_urldecode, (H | M | RAWLIST), 1, 1000
381 DS(N_("Decode the URL-encoded <URL-list> into strings")) },
382 { "features", &_features, (H | M | NOLIST), 0, 0
383 DS(N_("Show features that are compiled into the MUA")) },
384 { "version", &_version, (H | M | NOLIST), 0, 0
385 DS(N_("Print the MUA version")) },
386 #ifdef HAVE_HISTORY
387 { "history", &c_history, (H | I | M | V | RAWLIST), 0, 1
388 DS(N_("<show> (default), <clear> or select <NO> from editor history")) },
389 #endif
390 #ifdef HAVE_NETRC
391 { "netrc", &c_netrc, (M | RAWLIST), 0, 1
392 DS(N_("Either <show> (default) or <clear> the .netrc cache")) },
393 #endif
394 #ifdef HAVE_DEBUG
395 { "sstats", &c_sstats, (H | I | M | NOLIST), 0, 0
396 DS(N_("Print statistics about the auto-reclaimed string store")) },
397 { "smemtrace", &c_smemtrace, (H | I | M | NOLIST), 0, 0
398 DS(N_("Trace current memory usage afap")) },
399 #endif
400 { NULL, NULL, 0, 0, 0 DS("") }
402 #undef DS
404 #undef MSGLIST
405 #undef STRLIST
406 #undef RAWLIST
407 #undef NOLIST
408 #undef NDMLIST
409 #undef ECHOLIST
410 #undef ARG_ARGMASK
411 #undef A
412 #undef F
413 #undef H
414 #undef I
415 #undef M
416 #undef P
417 #undef R
418 #undef T
419 #undef V
420 #undef W
422 /* vim:set fenc=utf-8:s-it-mode */