sendout.c:__savemail(): try to file_lock() *record*
[s-mailx.git] / cmd_tab.h
blob7e5c19819c9fcf07acc6e52d629a27434a4412dd
1 /*@ S-nail - a mail user agent derived from Berkeley Mail.
2 *@ This is included by ./lex_input.c and defines the command array.
4 * Copyright (c) 2000-2004 Gunnar Ritter, Freiburg i. Br., Germany.
5 * Copyright (c) 2012 - 2015 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. Neither the name of the University nor the names of its contributors
20 * may be used to endorse or promote products derived from this software
21 * without specific prior written permission.
23 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 * SUCH DAMAGE.
36 /* Some shorter aliases to be able to define a command in two lines */
37 #define MSGLIST ARG_MSGLIST
38 #define STRLIST ARG_STRLIST
39 #define RAWLIST ARG_RAWLIST
40 #define NOLIST ARG_NOLIST
41 #define NDMLIST ARG_NDMLIST
42 #define WYSHLIST ARG_WYSHLIST
43 # define WYRALIST ARG_WYRALIST
45 #define ARG_ARGMASK ARG_ARGMASK
46 #define A ARG_A
47 #define F ARG_F
48 #define H ARG_H
49 #define I ARG_I
50 #define M ARG_M
51 #define P ARG_P
52 #define R ARG_R
53 #define S ARG_S
54 #define T ARG_T
55 #define V ARG_V
56 #define W ARG_W
57 #define O ARG_O
59 /* Note: the first command in here may NOT expand to an unsupported one! */
60 { "next", &c_next, (A | NDMLIST), 0, MMNDEL
61 DS(N_("Goes to the next message (-list) and prints it")) },
62 { "alias", &c_alias, (M | RAWLIST), 0, 1000
63 DS(N_("Show all/<alias>, or (re)define <alias> to <:data:>")) },
64 { "print", &c_type, (A | MSGLIST), 0, MMNDEL
65 DS(N_("Type each message of <message-list> on the terminal")) },
66 { "type", &c_type, (A | MSGLIST), 0, MMNDEL
67 DS(N_("Type each message of <message-list> on the terminal")) },
68 { "Type", &c_Type, (A | MSGLIST), 0, MMNDEL
69 DS(N_("Like `print', but prints all headers and parts")) },
70 { "Print", &c_Type, (A | MSGLIST), 0, MMNDEL
71 DS(N_("Like `print', but prints all headers and parts")) },
72 { "visual", &c_visual, (A | I | S | MSGLIST), 0, MMNORM
73 DS(N_("Edit <message-list>")) },
74 { "top", &c_top, (A | MSGLIST), 0, MMNDEL
75 DS(N_("Print top few lines of <message-list>")) },
76 { "touch", &c_stouch, (A | W | MSGLIST), 0, MMNDEL
77 DS(N_("Mark <message-list> for saving in *mbox*")) },
78 { "preserve", &c_preserve, (A | S | W | MSGLIST), 0, MMNDEL
79 DS(N_("Save <message-list> in system mailbox instead of *MBOX*")) },
80 { "delete", &c_delete, (A | W | P | MSGLIST), 0, MMNDEL
81 DS(N_("Delete <message-list>")) },
82 { "dp", &c_deltype, (A | W | MSGLIST), 0, MMNDEL
83 DS(N_("Delete the current message, then print the next")) },
84 { "dt", &c_deltype, (A | W | MSGLIST), 0, MMNDEL
85 DS(N_("Delete the current message, then print the next")) },
86 { "undelete", &c_undelete, (A | P | MSGLIST), MDELETED,MMNDEL
87 DS(N_("Un`delete' <message-list>")) },
88 { "unset", &c_unset, (H | M | WYRALIST), 1, 1000
89 DS(N_("Unset <option-list>")) },
90 { "mail", &c_sendmail, (I | M | R | S | STRLIST), 0, 0
91 DS(N_("Compose mail; recipients may be given as arguments")) },
92 { "Mail", &c_Sendmail, (I | M | R | S | STRLIST), 0, 0
93 DS(N_("Like `mail', but derive filename from first recipient")) },
94 { "mbox", &c_mboxit, (A | W | MSGLIST), 0, 0
95 DS(N_("Indicate that <message-list> is to be stored in *mbox*")) },
96 { "more", &c_more, (A | MSGLIST), 0, MMNDEL
97 DS(N_("Invoke the pager on the given messages")) },
98 { "page", &c_more, (A | MSGLIST), 0, MMNDEL
99 DS(N_("Invoke the pager on the given messages")) },
100 { "More", &c_More, (A | MSGLIST), 0, MMNDEL
101 DS(N_("Invoke the pager on the given messages")) },
102 { "Page", &c_More, (A | MSGLIST), 0, MMNDEL
103 DS(N_("Invoke the pager on the given messages")) },
104 { "unread", &c_unread, (A | MSGLIST), 0, MMNDEL
105 DS(N_("Mark <message-list> as not being read")) },
106 { "Unread", &c_unread, (A | MSGLIST), 0, MMNDEL
107 DS(N_("Mark <message-list> as not being read")) },
108 { "new", &c_unread, (A | MSGLIST), 0, MMNDEL
109 DS(N_("Mark <message-list> as not being read")) },
110 { "New", &c_unread, (A | MSGLIST), 0, MMNDEL
111 DS(N_("Mark <message-list> as not being read")) },
112 { "!", &c_shell, (S | STRLIST), 0, 0
113 DS(N_("Execute <shell-command>")) },
114 { "copy", &c_copy, (A | M | STRLIST), 0, 0
115 DS(N_("Copy <message-list>, but don't mark them for deletion")) },
116 { "Copy", &c_Copy, (A | M | S | STRLIST), 0, 0
117 DS(N_("Like `copy', but derive filename from first sender")) },
118 { "chdir", &c_chdir, (M | WYRALIST), 0, 1
119 DS(N_("Change CWD to the specified/the login directory")) },
120 { "cd", &c_chdir, (M | WYRALIST), 0, 1
121 DS(N_("Change CWD to the specified/the login directory")) },
122 { "save", &c_save, (A | STRLIST), 0, 0
123 DS(N_("Append <message-list> to <file>")) },
124 { "Save", &c_Save, (A | S | STRLIST), 0, 0
125 DS(N_("Like `save', but derive filename from first sender")) },
126 { "source", &c_source, (M | R | WYRALIST), 1, 1
127 DS(N_("Read commands from <file>")) },
128 { "source_if", &c_source_if, (M | R | WYRALIST), 1, 1
129 DS(N_("If <file> can be opened successfully, read commands from it")) },
130 { "set", &c_set, (H | M | WYRALIST), 0, 1000
131 DS(N_("Print all variables, or set (a) <variable>(s)")) },
132 { "shell", &c_dosh, (I | R | S | NOLIST), 0, 0
133 DS(N_("Invoke an interactive shell")) },
134 { "unalias", &c_unalias, (M | RAWLIST), 1, 1000
135 DS(N_("Un`alias' <name-list> (\"*\" for all)")) },
136 { "write", &c_write, (A | STRLIST), 0, 0
137 DS(N_("Write (append) to <file>")) },
138 { "from", &c_from, (A | MSGLIST), 0, MMNORM
139 DS(N_("Show message headers of <message-list>")) },
140 { "search", &c_from, (A | MSGLIST), 0, MMNORM
141 DS(N_("\"Search\" for <message-specification>, print matching headers")) },
142 { "file", &c_file, (T | M | WYRALIST), 0, 1
143 DS(N_("Open a new <mailbox> or show the current one")) },
144 { "followup", &c_followup, (A | I | R | S | MSGLIST), 0, MMNDEL
145 DS(N_("Like `reply', but derive filename from first sender")) },
146 { "followupall", &c_followupall, (A | I | R | S | MSGLIST), 0, MMNDEL
147 DS(N_("Like `reply', but derive filename from first sender")) },
148 { "followupsender", &c_followupsender, (A | I | R | MSGLIST), 0, MMNDEL
149 DS(N_("Like `Followup', but always reply to the sender only")) },
150 { "folder", &c_file, (T | M | WYRALIST), 0, 1
151 DS(N_("Open a new <mailbox> or show the current one")) },
152 { "folders", &c_folders, (T | M | WYRALIST), 0, 1
153 DS(N_("List mailboxes below the given or the global folder")) },
154 { "z", &c_scroll, (A | M | STRLIST), 0, 0
155 DS(N_("Scroll header display as indicated by the argument (0,-,+,$)")) },
156 { "Z", &c_Scroll, (A | M | STRLIST), 0, 0
157 DS(N_("Like `z', but continues to the next flagged message")) },
158 { "headers", &c_headers, (A | M | MSGLIST), 0, MMNDEL
159 DS(N_("Print a page of headers (with the first of <message> if given)")) },
160 { "help", &c_help, (H | M | WYRALIST), 0, 1
161 DS(N_("Show command help (for the given one)")) },
162 { "?", &c_help, (H | M | WYRALIST), 0, 1
163 DS(N_("Show command help (for the given one)")) },
164 { "=", &c_pdot, (A | NOLIST), 0, 0
165 DS(N_("Show current message number")) },
166 { "Reply", &c_Reply, (A | I | R | S | MSGLIST), 0, MMNDEL
167 DS(N_("Reply to originator, exclusively")) },
168 { "Respond", &c_Reply, (A | I | R | S | MSGLIST), 0, MMNDEL
169 DS(N_("Reply to originator, exclusively")) },
170 { "Followup", &c_Followup, (A | I | R | S | MSGLIST), 0, MMNDEL
171 DS(N_("Like `Reply', but derive filename from first sender")) },
172 { "reply", &c_reply, (A | I | R | S | MSGLIST), 0, MMNDEL
173 DS(N_("Reply to originator and recipients of <message-list>")) },
174 { "replyall", &c_replyall, (A | I | R | S | MSGLIST), 0, MMNDEL
175 DS(N_("Reply to originator and recipients of <message-list>")) },
176 { "replysender", &c_replysender, (A | I | R | S | MSGLIST), 0, MMNDEL
177 DS(N_("Reply to originator, exclusively")) },
178 { "respond", &c_reply, (A | I | R | S | MSGLIST), 0, MMNDEL
179 DS(N_("Reply to originators and recipients of <message-list>")) },
180 { "respondall", &c_replyall, (A | I | R | S | MSGLIST), 0, MMNDEL
181 DS(N_("Reply to originators and recipients of <message-list>")) },
182 { "respondsender", &c_replysender, (A | I | R | S | MSGLIST),0, MMNDEL
183 DS(N_("Reply to originator, exclusively")) },
184 { "Resend", &c_Resend, (A | R | STRLIST), 0, MMNDEL
185 DS(N_("Like `resend', but don't add Resent-* headers")) },
186 { "Redirect", &c_Resend, (A | R | STRLIST), 0, MMNDEL
187 DS(N_("Like `resend', but don't add Resent-* headers")) },
188 { "resend", &c_resend, (A | R | STRLIST), 0, MMNDEL
189 DS(N_("Resend <message-list> to <user>, add Resent-* headers")) },
190 { "redirect", &c_resend, (A | R | STRLIST), 0, MMNDEL
191 DS(N_("Resend <message-list> to <user>, add Resent-* headers")) },
192 { "Forward", &c_Forward, (A | R | STRLIST), 0, MMNDEL
193 DS(N_("Like `forward', but derive filename from <address>")) },
194 { "Fwd", &c_Forward, (A | R | STRLIST), 0, MMNDEL
195 DS(N_("Like `forward', but derive filename from <address>")) },
196 { "forward", &c_forward, (A | R | STRLIST), 0, MMNDEL
197 DS(N_("Forward <message> to <address>")) },
198 { "fwd", &c_forward, (A | R | STRLIST), 0, MMNDEL
199 DS(N_("Forward <message> to <address>")) },
200 { "edit", &c_editor, (A | I | S | MSGLIST), 0, MMNORM
201 DS(N_("Edit <message-list>")) },
202 { "echo", &c_echo, (H | M | WYSHLIST), 0, 1000
203 DS(N_("Echo given arguments")) },
204 { "quit", &a_lex_c_quit, NOLIST, 0, 0
205 DS(N_("Terminate session, saving messages as necessary")) },
206 { "list", &a_lex_c_list, (H | M | STRLIST), 0, 0
207 DS(N_("List all commands (with argument: in prefix search order)")) },
208 { "xit", &c_exit, (M | NOLIST), 0, 0
209 DS(N_("Immediate return to the shell without saving")) },
210 { "exit", &c_exit, (M | NOLIST), 0, 0
211 DS(N_("Immediate return to the shell without saving")) },
212 { "pipe", &c_pipe, (A | STRLIST), 0, MMNDEL
213 DS(N_("Pipe <message-list> to <command>")) },
214 { "|", &c_pipe, (A | STRLIST), 0, MMNDEL
215 DS(N_("Pipe <message-list> to <command>")) },
216 { "Pipe", &c_Pipe, (A | STRLIST), 0, MMNDEL
217 DS(N_("Like `pipe', but pipes all headers and parts")) },
218 { "size", &c_messize, (A | MSGLIST), 0, MMNDEL
219 DS(N_("Show size in characters for <message-list>")) },
220 { "hold", &c_preserve, (A | S | W | MSGLIST), 0, MMNDEL
221 DS(N_("Save <message-list> in system mailbox instead of *MBOX*")) },
222 { "if", &c_if, (F | M | RAWLIST), 1, 1000
223 DS(N_("Part of the if..elif..else..endif statement")) },
224 { "else", &c_else, (F | M | RAWLIST), 0, 0
225 DS(N_("Part of the if..elif..else..endif statement")) },
226 { "elif", &c_elif, (F | M | RAWLIST), 1, 1000
227 DS(N_("Part of the if..elif..else..endif statement")) },
228 { "endif", &c_endif, (F | M | RAWLIST), 0, 0
229 DS(N_("Part of the if..elif..else..endif statement")) },
230 { "alternates", &c_alternates, (M | RAWLIST), 0, 1000
231 DS(N_("Show or define an alternate list for the invoking user")) },
232 { "ignore", &c_igfield, (M | RAWLIST), 0, 1000
233 DS(N_("Add <header-fields> to the ignored LIST, or show that list")) },
234 { "discard", &c_igfield, (M | RAWLIST), 0, 1000
235 DS(N_("Add <header-fields> to the ignored LIST, or show that list")) },
236 { "retain", &c_retfield, (M | RAWLIST), 0, 1000
237 DS(N_("Add <header-fields> to retained list, or show that list")) },
238 { "saveignore", &c_saveigfield, (M | RAWLIST), 0, 1000
239 DS(N_("Is to `save' what `ignore' is to `type'/`print'")) },
240 { "savediscard", &c_saveigfield, (M | RAWLIST), 0, 1000
241 DS(N_("Is to `save' what `ignore' is to `type'/`print'")) },
242 { "saveretain", &c_saveretfield, (M | RAWLIST), 0, 1000
243 DS(N_("Is to `save' what `retain' is to `type'/`print'")) },
244 { "unignore", &c_unignore, (M | RAWLIST), 0, 1000
245 DS(N_("Un`ignore' <header-fields>")) },
246 { "unretain", &c_unretain, (M | RAWLIST), 0, 1000
247 DS(N_("Un`retain' <header-fields>")) },
248 { "unsaveignore", &c_unsaveignore, (M | RAWLIST), 0, 1000
249 DS(N_("Un`saveignore' <header-fields>")) },
250 { "unsaveretain", &c_unsaveretain, (M | RAWLIST), 0, 1000
251 DS(N_("Un`saveretain' <header-fields>")) },
252 { "newmail", &c_newmail, (A | T | NOLIST), 0, 0
253 DS(N_("Check for new mail in current folder")) },
254 { "shortcut", &c_shortcut, (M | WYRALIST), 0, 1000
255 DS(N_("Define <shortcut>s and their <expansion>, or list shortcuts")) },
256 { "unshortcut", &c_unshortcut, (M | WYRALIST), 1, 1000
257 DS(N_("Delete <shortcut-list> (\"*\" for all)")) },
258 { "account", &c_account, (M | RAWLIST), 0, 1000
259 DS(N_("Create or select <account>, or list all accounts")) },
260 { "thread", &c_thread, (A | O | MSGLIST), 0, 0
261 DS(N_("Create threaded view of current \"folder\"")) },
262 { "unthread", &c_unthread, (A | O | MSGLIST), 0, 0
263 DS(N_("Disable sorted or threaded mode")) },
264 { "sort", &c_sort, (A | RAWLIST), 0, 1
265 DS(N_("Change sorting: date,from,size,spam,status,subject,thread,to")) },
266 { "unsort", &c_unthread, (A | MSGLIST), 0, 0
267 DS(N_("Disable sorted or threaded mode")) },
268 { "flag", &c_flag, (A | M | MSGLIST), 0, 0
269 DS(N_("(Un)Flag <message-list> (for special attention)")) },
270 { "unflag", &c_unflag, (A | M | MSGLIST), 0, 0
271 DS(N_("(Un)Flag <message-list> (for special attention)")) },
272 { "answered", &c_answered, (A | M | MSGLIST), 0, 0
273 DS(N_("Mark the given <message list> as \"answered\"")) },
274 { "unanswered", &c_unanswered, (A | M | MSGLIST), 0, 0
275 DS(N_("Un`answered' <message-list>")) },
276 { "draft", &c_draft, (A | M | MSGLIST), 0, 0
277 DS(N_("Mark <message-list> as draft")) },
278 { "undraft", &c_undraft, (A | M | MSGLIST), 0, 0
279 DS(N_("Un`draft' <message-list>")) },
280 { "define", &c_define, (M | RAWLIST), 0, 2
281 DS(N_("Define a <macro> or show the currently defined ones")) },
282 { "undefine", &c_undefine, (M | RAWLIST), 1, 1000
283 DS(N_("Un`define' all given <macros> (\"*\" for all)")) },
284 { "unaccount", &c_unaccount, (M | RAWLIST), 1, 1000
285 DS(N_("Delete all given <accounts> (\"*\" for all)")) },
286 { "call", &c_call, (M | RAWLIST), 0, 1
287 DS(N_("Call a macro")) },
288 { "~", &c_call, (M | RAWLIST), 0, 1
289 DS(N_("Call a macro")) },
290 { "move", &c_move, (A | M | STRLIST), 0, 0
291 DS(N_("Like `copy', but mark messages for deletion")) },
292 { "mv", &c_move, (A | M | STRLIST), 0, 0
293 DS(N_("Like `copy', but mark messages for deletion")) },
294 { "Move", &c_Move, (A | M | S | STRLIST), 0, 0
295 DS(N_("Like `move', but derive filename from first sender")) },
296 { "Mv", &c_Move, (A | M | S | STRLIST), 0, 0
297 DS(N_("Like `move', but derive filename from first sender")) },
298 { "noop", &c_noop, (A | M | RAWLIST), 0, 0
299 DS(N_("NOOP command if current folder is accessed via network")) },
300 { "collapse", &c_collapse, (A | MSGLIST), 0, 0
301 DS(N_("Collapse thread views for <message-list>")) },
302 { "uncollapse", &c_uncollapse, (A | MSGLIST), 0, 0
303 DS(N_("Uncollapse <message-list> if in threaded view")) },
304 { "verify", &c_verify, (A | MSGLIST), 0, 0
305 DS(N_("Verify <message-list>")) },
306 { "decrypt", &c_decrypt, (A | M | STRLIST), 0, 0
307 DS(N_("Like `copy', but decrypt first, if encrypted")) },
308 { "Decrypt", &c_Decrypt, (A | M | S | STRLIST), 0, 0
309 DS(N_("Like `decrypt', but derive filename from first sender")) },
310 { "certsave", &c_certsave, (A | STRLIST), 0, 0
311 DS(N_("Save S/MIME certificates of <message-list> to <file>")) },
312 { "rename", &c_rename, (M | RAWLIST), 0, 2
313 DS(N_("Rename <existing-folder> to <new-folder>")) },
314 { "remove", &c_remove, (M | WYRALIST), 0, 1000
315 DS(N_("Remove the named folders")) },
316 { "show", &c_show, (A | MSGLIST), 0, MMNDEL
317 DS(N_("Like `print', but show raw message content")) },
318 { "Show", &c_show, (A | MSGLIST), 0, MMNDEL
319 DS(N_("Like `print', but show raw message content")) },
320 { "seen", &c_seen, (A | M | MSGLIST), 0, MMNDEL
321 DS(N_("Mark <message-list> as seen")) },
322 { "Seen", &c_seen, (A | M | MSGLIST), 0, MMNDEL
323 DS(N_("Mark <message-list> as seen")) },
324 { "fwdignore", &c_fwdigfield, (M | RAWLIST), 0, 1000
325 DS(N_("Which header fields are to be ignored with `forward'")) },
326 { "fwddiscard", &c_fwdigfield, (M | RAWLIST), 0, 1000
327 DS(N_("Which header fields are to be ignored with `forward'")) },
328 { "fwdretain", &c_fwdretfield, (M | RAWLIST), 0, 1000
329 DS(N_("Which header fields have to be retained with `forward'")) },
330 { "unfwdignore", &c_unfwdignore, (M | RAWLIST), 0, 1000
331 DS(N_("Un`fwdignore' <header-fields>")) },
332 { "unfwdretain", &c_unfwdretain, (M | RAWLIST), 0, 1000
333 DS(N_("Un`fwdretain' <header-fields>")) },
334 { "mimetype", &c_mimetype, (M | WYRALIST), 0, 1000
335 DS(N_("(Load and) show all known MIME types or define some")) },
336 { "unmimetype", &c_unmimetype, (M | WYRALIST), 1, 1000
337 DS(N_("Delete <type>s (\"reset\", \"*\" for all; former reinit.s)")) },
338 { "spamrate", &c_spam_rate, (A | M | MSGLIST), 0, 0
339 DS(N_("Rate <message-list> via the spam detector")) },
340 { "spamham", &c_spam_ham, (A | M | MSGLIST), 0, 0
341 DS(N_("Teach the spam detector that <message-list> is ham")) },
342 { "spamspam", &c_spam_spam, (A | M | MSGLIST), 0, 0
343 DS(N_("Teach the spam detector that <message-list> is spam")) },
344 { "spamforget", &c_spam_forget, (A | M | MSGLIST), 0, 0
345 DS(N_("Force the spam detector to \"unlearn\" <message-list>")) },
346 { "spamset", &c_spam_set, (A | M | MSGLIST), 0, 0
347 DS(N_("Set the spam flag for each message in <message-list>")) },
348 { "spamclear", &c_spam_clear, (A | M | MSGLIST), 0, 0
349 DS(N_("Clear the spam flag for each message in <message-list>")) },
350 { "ghost", &a_lex_c_ghost, (M | WYRALIST), 0, 1000
351 DS(N_("Print or create <ghost> [<command>], or list all ghosts")) },
352 { "unghost", &a_lex_c_unghost, (M | WYRALIST), 1, 1000
353 DS(N_("Delete <ghost-list>")) },
354 { "localopts", &c_localopts, (H | M | RAWLIST), 1, 1
355 DS(N_("Inside `define' / `account': insulate modifications? <boolean>"))},
356 { "cwd", &c_cwd, (M | NOLIST), 0, 0
357 DS(N_("Print current working directory (CWD)")) },
358 { "pwd", &c_cwd, (M | NOLIST), 0, 0
359 DS(N_("Print current working directory (CWD)")) },
360 { "varshow", &c_varshow, (H | M | WYRALIST), 1, 1000
361 DS(N_("Show some informations about the given <variables>")) },
362 { "varedit", &c_varedit, (H | I | M | WYRALIST), 1, 1000
363 DS(N_("Edit the value(s) of (an) variable(s), or create them")) },
364 { "urlencode", &c_urlencode, (H | M | WYRALIST), 1, 1000
365 DS(N_("Encode <string-list> for usage in an URL")) },
366 { "urldecode", &c_urldecode, (H | M | WYRALIST), 1, 1000
367 DS(N_("Decode the URL-encoded <URL-list> into strings")) },
368 { "File", &c_File, (T | M | WYRALIST), 0, 1
369 DS(N_("Open a new mailbox readonly or show the current mailbox")) },
370 { "Folder", &c_File, (T | M | WYRALIST), 0, 1
371 DS(N_("Open a new mailbox readonly or show the current mailbox")) },
372 { "mlist", &c_mlist, (M | WYRALIST), 0, 1000
373 DS(N_("Show all known mailing lists or define some")) },
374 { "unmlist", &c_unmlist, (M | WYRALIST), 1, 1000
375 DS(N_("Un`mlist' <name-list> (\"*\" for all)")) },
376 { "mlsubscribe", &c_mlsubscribe, (M | WYRALIST), 0, 1000
377 DS(N_("Show all mailing list subscriptions or define some")) },
378 { "unmlsubscribe", &c_unmlsubscribe, (M | WYRALIST), 1, 1000
379 DS(N_("Un`mlsubscribe' <name-list> (\"*\" for all)"))},
380 { "Lreply", &c_Lreply, (A | I | R | S | MSGLIST), 0, MMNDEL
381 DS(N_("Mailing-list reply to the given message")) },
382 { "errors", &c_errors, (H | I | RAWLIST), 0, 1
383 DS(N_("Either [<show>] or <clear> the error message ring")) },
384 { "dotmove", &c_dotmove, (A | STRLIST), 1, 1
385 DS(N_("Move the dot up <-> or down <+> by one")) },
386 { "customhdr", &c_customhdr, (M | WYSHLIST), 0, 1000
387 DS(N_("Show [all]/<header>, or define a custom <header> to <:data:>")) },
388 { "uncustomhdr", &c_uncustomhdr, (M | WYSHLIST), 1, 1000
389 DS(N_("Delete custom <:header:> (\"*\" for all)")) },
390 { "features", &a_lex_c_features, (H | M | NOLIST), 0, 0
391 DS(N_("Show features that are compiled into the Mail-User-Agent")) },
392 { "version", &a_lex_c_version, (H | M | NOLIST), 0, 0
393 DS(N_("Print the Mail-User-Agent version")) },
395 { "history", &c_history, (H | I | M | V | RAWLIST), 0, 1
396 DS(N_("[<show>], <clear> or select <NO> from editor history")) },
398 { "netrc", &c_netrc, (M | RAWLIST), 0, 1
399 DS(N_("[<show>], <load> or <clear> the .netrc cache")) },
401 { "colour", &c_colour, (M | WYSHLIST), 1, 4
402 DS(N_("Show colour settings of <type> (1, 8, 256, all) or define one")) },
403 { "uncolour", &c_uncolour, (M | WYSHLIST), 2, 3
404 DS(N_("Un`colour' <type> <mapping> (\"*\" for all) [<precondition>]")) },
406 { "environ", &c_environ, (H | M | WYSHLIST), 2, 1000
407 DS(N_("<link|set|unset> (an) environment <variable>(s)")) },
409 #ifdef c_memtrace
410 { "memtrace", &c_memtrace, (H | I | M | NOLIST), 0, 0
411 DS(N_("Trace current memory usage afap")) },
412 #endif
413 #ifdef c_sstats
414 { "sstats", &c_sstats, (H | I | M | NOLIST), 0, 0
415 DS(N_("Print statistics about the auto-reclaimed string store")) },
416 #endif
418 # undef WYRALIST
419 #undef WYSHLIST
420 #undef MSGLIST
421 #undef STRLIST
422 #undef RAWLIST
423 #undef NOLIST
424 #undef NDMLIST
426 #undef ARG_ARGMASK
427 #undef A
428 #undef F
429 #undef H
430 #undef I
431 #undef M
432 #undef P
433 #undef R
434 #undef T
435 #undef V
436 #undef W
437 #undef O
439 /* s-it-mode */