command(), evaluate(): s-it-mode, tweaks, obsolete *autoinc*
[s-mailx.git] / cmd_tab.h
blob4cea09402915aa354fc68b279c3d73bcb3626700
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 I ARG_I
51 #define M ARG_M
52 #define P ARG_P
53 #define R ARG_R
54 #define T ARG_T
55 #define W ARG_W
57 #ifdef HAVE_DOCSTRINGS
58 # define DS(ID,S) , ID, S
59 #else
60 # define DS(ID,S)
61 #endif
63 /* Note: the first command in here may NOT expand to an unsupported one! */
64 { "next", next, (A | NDMLIST), 0, MMNDEL
65 DS(355, "Goes to the next message (-list) and prints it") },
66 { "alias", group, (M | RAWLIST), 0, 1000
67 DS(304, "Show all or the specified alias(es), or (re)define one") },
68 { "print", type, (A | MSGLIST), 0, MMNDEL
69 DS(361, "Type each message of <message-list> on the terminal") },
70 { "type", type, (A | MSGLIST), 0, MMNDEL
71 DS(361, "Type each message of <message-list> on the terminal") },
72 { "Type", Type, (A | MSGLIST), 0, MMNDEL
73 DS(360, "Like \"print\", but prints all headers and parts") },
74 { "Print", Type, (A | MSGLIST), 0, MMNDEL
75 DS(360, "Like \"print\", but prints all headers and parts") },
76 { "visual", visual, (A | I | MSGLIST), 0, MMNORM
77 DS(326, "Edit <message-list>") },
78 { "top", top, (A | MSGLIST), 0, MMNDEL
79 DS(385, "Print top few lines of <message-list>") },
80 { "touch", stouch, (A | W | MSGLIST), 0, MMNDEL
81 DS(386, "Mark <message-list> for saving in *mbox*") },
82 { "preserve", preserve, (A | W | MSGLIST), 0, MMNDEL
83 DS(344, "Save <message-list> in system mailbox instead of *mbox*") },
84 { "delete", delete, (A | W | P | MSGLIST), 0, MMNDEL
85 DS(320, "Delete <message-list>") },
86 { "dp", deltype, (A | W | MSGLIST), 0, MMNDEL
87 DS(323, "Delete the current message, then print the next") },
88 { "dt", deltype, (A | W | MSGLIST), 0, MMNDEL
89 DS(323, "Delete the current message, then print the next") },
90 { "undelete", undeletecmd, (A | P | MSGLIST), MDELETED,MMNDEL
91 DS(392, "Un\"delete\" <message-list>") },
92 { "unset", unset, (M | RAWLIST), 1, 1000
93 DS(402, "Unset <option-list>") },
94 { "mail", csendmail, (R | M | I | STRLIST), 0, 0
95 DS(351, "Compose mail; recipients may be given as arguments") },
96 { "Mail", cSendmail, (R | M | I | STRLIST), 0, 0
97 DS(350, "Like \"mail\", but derive filename from first recipient") },
98 { "mbox", mboxit, (A | W | MSGLIST), 0, 0
99 DS(352, "Indicate that <message-list> is to be stored in *mbox*") },
100 { "more", more, (A | MSGLIST), 0, MMNDEL
101 DS(410, "Like \"type\"/\"print\", put print \\f between messages") },
102 { "page", more, (A | MSGLIST), 0, MMNDEL
103 DS(410, "Like \"type\"/\"print\", put print \\f between messages") },
104 { "More", More, (A | MSGLIST), 0, MMNDEL
105 DS(411, "Like \"Type\"/\"Print\", put print \\f between messages") },
106 { "Page", More, (A | MSGLIST), 0, MMNDEL
107 DS(411, "Like \"Type\"/\"Print\", put print \\f between messages") },
108 { "unread", unread, (A | MSGLIST), 0, MMNDEL
109 DS(356, "Mark <message-list> as not being read") },
110 { "Unread", unread, (A | MSGLIST), 0, MMNDEL
111 DS(356, "Mark <message-list> as not being read") },
112 { "new", unread, (A | MSGLIST), 0, MMNDEL
113 DS(356, "Mark <message-list> as not being read") },
114 { "New", unread, (A | MSGLIST), 0, MMNDEL
115 DS(356, "Mark <message-list> as not being read") },
116 { "!", shell, (I | STRLIST), 0, 0
117 DS(412, "Execute <shell-command>") },
118 { "copy", copycmd, (A | M | STRLIST), 0, 0
119 DS(314, "Copy <message-list>, but don't mark them for deletion") },
120 { "Copy", Copycmd, (A | M | STRLIST), 0, 0
121 DS(315, "Like \"copy\", but derive filename from first sender") },
122 { "chdir", c_chdir, (M | RAWLIST), 0, 1
123 DS(309, "Change CWD to the specified/the login directory") },
124 { "cd", c_chdir, (M | RAWLIST), 0, 1
125 DS(309, "Change CWD to the specified/the login directory") },
126 { "save", save, (A | STRLIST), 0, 0
127 DS(371, "Append <message-list> to <file>") },
128 { "Save", Save, (A | STRLIST), 0, 0
129 DS(372, "Like \"save\", but derive filename from first sender") },
130 { "source", csource, (M | RAWLIST), 1, 1
131 DS(383, "Read commands from <file>") },
132 { "set", set, (M | RAWLIST), 0, 1000
133 DS(376, "Print all variables, or set variables to argument(s)") },
134 { "shell", dosh, (I | NOLIST), 0, 0
135 DS(378, "Invoke an interactive shell") },
136 { "unalias", ungroup, (M | RAWLIST), 0, 1000
137 DS(387, "Un\"alias\" <name-list>") },
138 { "write", cwrite, (A | STRLIST), 0, 0
139 DS(406, "Write (append) to <file>") },
140 { "from", from, (A | MSGLIST), 0, MMNORM
141 DS(338, "Show message headers of <message-list>") },
142 { "file", cfile, (T | M | RAWLIST), 0, 1
143 DS(329, "Switch to new or show the current mail file or folder") },
144 { "followup", followup, (A | R | I | MSGLIST), 0, MMNDEL
145 DS(333, "Like \"respond\", but derive filename from first sender") },
146 { "followupall", followupall, (A | R | I | MSGLIST), 0, MMNDEL
147 DS(334, "Like \"respond\", but derive filename from first sender") },
148 { "followupsender", followupsender, (A | R | I | MSGLIST), 0, MMNDEL
149 DS(335, "Like \"Followup\", but always respond to the sender only") },
150 { "folder", cfile, (T | M | RAWLIST), 0, 1
151 DS(329, "Switch to new or show the current mail file or folder") },
152 { "folders", folders, (T | M | RAWLIST), 0, 1
153 DS(332, "List folders (below given folder)") },
154 { "z", scroll, (A | M | STRLIST), 0, 0
155 DS(407, "Scroll to next/previous window of headers") },
156 { "Z", Scroll, (A | M | STRLIST), 0, 0
157 DS(408, "Like \"z\", but continues to the next flagged message") },
158 { "headers", headers, (A | MSGLIST), 0, MMNDEL
159 DS(342, "Show the current(/last/next) 18-message group of headers") },
160 { "help", help, (M | RAWLIST), 0, 1
161 DS(343, "Show command help (for the given one)") },
162 { "?", help, (M | RAWLIST), 0, 1
163 DS(343, "Show command help (for the given one)") },
164 { "=", pdot, (A | NOLIST), 0, 0
165 DS(409, "Show current message number") },
166 { "Reply", Respond, (A | R | I | MSGLIST), 0, MMNDEL
167 DS(368, "Reply to originator, exclusively") },
168 { "Respond", Respond, (A | R | I | MSGLIST), 0, MMNDEL
169 DS(368, "Reply to originator, exclusively") },
170 { "Followup", Followup, (A | R | I | MSGLIST), 0, MMNDEL
171 DS(332, "Like \"Respond\", but derive filename from first sender") },
172 { "reply", respond, (A | R | I | MSGLIST), 0, MMNDEL
173 DS(369, "Reply to originator and recipients of <message-list>") },
174 { "replyall", respondall, (A | R | I | MSGLIST), 0, MMNDEL
175 DS(369, "Reply to originator and recipients of <message-list>") },
176 { "replysender", respondsender, (A | R | I | MSGLIST), 0, MMNDEL
177 DS(368, "Reply to originator, exclusively") },
178 { "respond", respond, (A | R | I | MSGLIST), 0, MMNDEL
179 DS(369, "Reply to originators and recipients of <message-list>") },
180 { "respondall", respondall, (A | R | I | MSGLIST), 0, MMNDEL
181 DS(369, "Reply to originators and recipients of <message-list>") },
182 { "respondsender", respondsender, (A | R | I | MSGLIST),0, MMNDEL
183 DS(368, "Reply to originator, exclusively") },
184 { "Resend", Resendcmd, (A | R | STRLIST), 0, MMNDEL
185 DS(365, "Like \"resend\", but don't add Resent-* headers") },
186 { "Redirect", Resendcmd, (A | R | STRLIST), 0, MMNDEL
187 DS(365, "Like \"resend\", but don't add Resent-* headers") },
188 { "resend", resendcmd, (A | R | STRLIST), 0, MMNDEL
189 DS(364, "Resend <message-list> to <user>, add Resent-* headers") },
190 { "redirect", resendcmd, (A | R | STRLIST), 0, MMNDEL
191 DS(364, "Resend <message-list> to <user>, add Resent-* headers") },
192 { "Forward", Forwardcmd, (A | R | STRLIST), 0, MMNDEL
193 DS(337, "Like \"forward\", but derive filename from <address>") },
194 { "Fwd", Forwardcmd, (A | R | STRLIST), 0, MMNDEL
195 DS(337, "Like \"forward\", but derive filename from <address>") },
196 { "forward", forwardcmd, (A | R | STRLIST), 0, MMNDEL
197 DS(336, "Forward <message> to <address>") },
198 { "fwd", forwardcmd, (A | R | STRLIST), 0, MMNDEL
199 DS(336, "Forward <message> to <address>") },
200 { "edit", editor, (A | I | MSGLIST), 0, MMNORM
201 DS(326, "Edit <message-list>") },
202 { "echo", echo, (M | ECHOLIST), 0, 1000
203 DS(325, "Echo given arguments") },
204 { "quit", quitcmd, NOLIST, 0, 0
205 DS(363, "Terminate session, saving messages as necessary") },
206 { "list", &_pcmdlist, (M | NOLIST), 0, 0
207 DS(349, "List all available commands") },
208 { "xit", rexit, (M | NOLIST), 0, 0
209 DS(328, "Immediate return to the shell without saving") },
210 { "exit", rexit, (M | NOLIST), 0, 0
211 DS(328, "Immediate return to the shell without saving") },
212 { "pipe", pipecmd, (A | STRLIST), 0, MMNDEL
213 DS(359, "Pipe <message-list> to <command>") },
214 { "|", pipecmd, (A | STRLIST), 0, MMNDEL
215 DS(359, "Pipe <message-list> to <command>") },
216 { "Pipe", Pipecmd, (A | STRLIST), 0, MMNDEL
217 DS(358, "Like \"pipe\", but pipes all headers and parts") },
218 { "size", messize, (A | MSGLIST), 0, MMNDEL
219 DS(381, "Show size in characters for <message-list>") },
220 { "hold", preserve, (A | W | MSGLIST), 0, MMNDEL
221 DS(344, "Save <message-list> in system mailbox instead of *mbox*") },
222 { "if", &c_if, (F | M | RAWLIST), 1, 3
223 DS(327, "Part of the if .. then .. endif statement") },
224 { "else", &c_else, (F | M | RAWLIST), 0, 0
225 DS(327, "Part of the if .. then .. endif statement") },
226 { "endif", &c_endif, (F | M | RAWLIST), 0, 0
227 DS(327, "Part of the if .. then .. endif statement") },
228 { "alternates", alternates, (M | RAWLIST), 0, 1000
229 DS(305, "Show or define an alternate list for the invoking user") },
230 { "ignore", igfield, (M | RAWLIST), 0, 1000
231 DS(321, "Add header fields to ignored LIST), or show that list") },
232 { "discard", igfield, (M | RAWLIST), 0, 1000
233 DS(321, "Add header fields to ignored LIST), or show that list") },
234 { "retain", retfield, (M | RAWLIST), 0, 1000
235 DS(370, "Add header fields to retained LIST), or show that list") },
236 { "saveignore", saveigfield, (M | RAWLIST), 0, 1000
237 DS(373, "Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
238 { "savediscard",saveigfield, (M | RAWLIST), 0, 1000
239 DS(373, "Is to \"save\" what \"ignore\" is to \"type\"/\"print\"") },
240 { "saveretain", saveretfield, (M | RAWLIST), 0, 1000
241 DS(374, "Is to \"save\" what \"retain\" is to \"type\"/\"print\"") },
242 { "unignore", unignore, (M | RAWLIST), 0, 1000
243 DS(396, "Un\"ignore\" <header-fields>") },
244 { "unretain", unretain, (M | RAWLIST), 0, 1000
245 DS(399, "Un\"retain\" <header-fields>") },
246 { "unsaveignore", unsaveignore, (M | RAWLIST), 0, 1000
247 DS(400, "Un\"saveignore\" <header-fields>") },
248 { "unsaveretain", unsaveretain, (M | RAWLIST), 0, 1000
249 DS(401, "Un\"saveretain\" <header-fields>") },
250 { "inc", newmail, (A | T | NOLIST), 0, 0
251 DS(346, "Check for new mail in current folder") },
252 { "newmail", newmail, (A | T | NOLIST), 0, 0
253 DS(346, "Check for new mail in current folder") },
254 { "shortcut", shortcut, (M | RAWLIST), 0, 1000
255 DS(379, "Define a <shortcut> and <expansion>, or list shortcuts") },
256 { "unshortcut", unshortcut, (M | RAWLIST), 0, 1000
257 DS(403, "Delete <shortcut-list>") },
258 { "imap", imap_imap, (A | STRLIST), 0, 1000
259 DS(345, "Send command strings directly to the IMAP server") },
260 { "account", c_account, (M | RAWLIST), 0, 1000
261 DS(303, "Creates, selects or lists an email account") },
262 { "thread", thread, (A | MSGLIST), 0, 0
263 DS(384, "Create threaded view of current \"folder\"") },
264 { "unthread", unthread, (A | MSGLIST), 0, 0
265 DS(404, "Disable sorted or threaded mode") },
266 { "online", cconnect, (A | NOLIST), 0, 0
267 DS(314, "If disconnected, connect to IMAP mailbox") },
268 { "connect", cconnect, (A | NOLIST), 0, 0
269 DS(314, "If disconnected, connect to IMAP mailbox") },
270 { "disconnect", cdisconnect, (A | NDMLIST), 0, 0
271 DS(322, "If connected, disconnect from IMAP mailbox") },
272 { "sort", sort, (A | RAWLIST), 0, 1
273 DS(382, "Change sorting criteria (and addressing modes)") },
274 { "unsort", unthread, (A | MSGLIST), 0, 0
275 DS(404, "Disable sorted or threaded mode") },
276 { "cache", ccache, (A | MSGLIST), 0, 0
277 DS(307, "Read specified <message list> into the IMAP cache") },
278 { "flag", cflag, (A | M | MSGLIST), 0, 0
279 DS(330, "(Un)Flag <message-list> (for special attention)") },
280 { "unflag", cunflag, (A | M | MSGLIST), 0, 0
281 DS(330, "(Un)Flag <message-list> (for special attention)") },
282 { "answered", canswered, (A | M | MSGLIST), 0, 0
283 DS(306, "Mark the given <message list> as \"answered\"") },
284 { "unanswered", cunanswered, (A | M | MSGLIST), 0, 0
285 DS(388, "Un\"answered\" <message-list>") },
286 { "draft", cdraft, (A | M | MSGLIST), 0, 0
287 DS(324, "Mark <message-list> as draft") },
288 { "undraft", cundraft, (A | M | MSGLIST), 0, 0
289 DS(389, "Un\"draft\" <message-list>") },
290 { "define", &c_define, (M | RAWLIST), 0, 2
291 DS(319, "Define a macro") },
292 { "defines", &c_defines, (I | M | RAWLIST), 0, 0
293 DS(320, "Show all defined macros including their content") },
294 { "undef", &c_undef, (M | RAWLIST), 0, 1000
295 DS(391, "Un\"define\" all <macros>") },
296 { "call", &c_call, (M | RAWLIST), 0, 1
297 DS(308, "Call a macro") },
298 { "~", &c_call, (M | RAWLIST), 0, 1
299 DS(308, "Call a macro") },
300 { "move", cmove, (A | M | STRLIST), 0, 0
301 DS(353, "Like \"copy\", but mark messages for deletion") },
302 { "mv", cmove, (A | M | STRLIST), 0, 0
303 DS(353, "Like \"copy\", but mark messages for deletion") },
304 { "Move", cMove, (A | M | STRLIST), 0, 0
305 DS(354, "Like \"move\", but derive filename from first sender") },
306 { "Mv", cMove, (A | M | STRLIST), 0, 0
307 DS(354, "Like \"move\", but derive filename from first sender") },
308 { "noop", cnoop, (A | M | RAWLIST), 0, 0
309 DS(357, "NOOP command if IMAP or POP folder; else noop") },
310 { "collapse", ccollapse, (A | MSGLIST), 0, 0
311 DS(312, "Collapse thread views for <message-list>") },
312 { "uncollapse", cuncollapse, (A | MSGLIST), 0, 0
313 DS(390, "Uncollapse <message-list> if in threaded view") },
314 { "verify", cverify, (A | MSGLIST), 0, 0
315 DS(405, "Verify <message-list>") },
316 { "decrypt", cdecrypt, (A | M | STRLIST), 0, 0
317 DS(316, "Like \"copy\", but decrypt first, if encrypted") },
318 { "Decrypt", cDecrypt, (A | M | STRLIST), 0, 0
319 DS(317, "Like \"decrypt\", but derive filename from first sender") },
320 { "certsave", ccertsave, (A | STRLIST), 0, 0
321 DS(310, "Save S/MIME certificates of <message-list> to <file>") },
322 { "rename", crename, (M | RAWLIST), 0, 2
323 DS(367, "Rename <existing-folder> to <new-folder>") },
324 { "remove", cremove, (M | RAWLIST), 0, 1000
325 DS(366, "Remove the named folders") },
326 { "show", show, (A | MSGLIST), 0, MMNDEL
327 DS(380, "Like \"print\", but show raw message content") },
328 { "Show", show, (A | MSGLIST), 0, MMNDEL
329 DS(380, "Like \"print\", but show raw message content") },
330 { "seen", seen, (A | M | MSGLIST), 0, MMNDEL
331 DS(377, "Mark <message-list> as seen") },
332 { "Seen", seen, (A | M | MSGLIST), 0, MMNDEL
333 DS(377, "Mark <message-list> as seen") },
334 { "fwdignore", fwdigfield, (M | RAWLIST), 0, 1000
335 DS(339, "Which header fields are to be ignored with \"forward\"") },
336 { "fwddiscard", fwdigfield, (M | RAWLIST), 0, 1000
337 DS(339, "Which header fields are to be ignored with \"forward\"") },
338 { "fwdretain", fwdretfield, (M | RAWLIST), 0, 1000
339 DS(340, "Which header fields have to be retained with \"forward\"") },
340 { "unfwdignore", unfwdignore, (M | RAWLIST), 0, 1000
341 DS(393, "Un\"fwdignore\" <header-fields>") },
342 { "unfwdretain", unfwdretain, (M | RAWLIST), 0, 1000
343 DS(394, "Un\"fwdretain\" <header-fields>") },
344 { "mimetypes", &c_mimetypes, (M | RAWLIST), 0, 1000
345 DS(418, "Either <show> (default) or <clear> the mime.types cache") },
346 { "spamrate", cspam_rate, (A | M | R | MSGLIST), 0, 0
347 DS(419, "Rate <message-list> via the spam detector") },
348 { "spamham", cspam_ham, (A | M | R | MSGLIST), 0, 0
349 DS(420, "Teach the spam detector that <message-list> is ham") },
350 { "spamspam", cspam_spam, (A | M | R | MSGLIST), 0, 0
351 DS(421, "Teach the spam detector that <message-list> is spam") },
352 { "spamforget", cspam_forget, (A | M | R | MSGLIST), 0, 0
353 DS(422, "Force the spam detector to \"unlearn\" <message-list>") },
354 { "spamset", cspam_set, (A | M | MSGLIST), 0, 0
355 DS(423, "Set the spam flag for each message in <message-list>") },
356 { "spamclear", cspam_clear, (A | M | MSGLIST), 0, 0
357 DS(424, "Clear the spam flag for each message in <message-list>") },
358 { "ghost", &_ghost, (M | RAWLIST), 0, 2
359 DS(425, "Define a <ghost> of <command>, or list all ghosts") },
360 { "unghost", &_unghost, (M | RAWLIST), 1, 1000
361 DS(426, "Delete <ghost-list>") },
362 { "localopts", &c_localopts, (M | RAWLIST), 1, 1
363 DS(427, "Inside `define' / `account': insulate modifications? <0> / <1>")},
364 { "cwd", &c_cwd, (M | NOLIST), 0, 0
365 DS(428, "Print current working directory (CWD)") },
366 { "pwd", &c_cwd, (M | NOLIST), 0, 0
367 DS(428, "Print current working directory (CWD)") },
368 { "var-inspect", &c_var_inspect, (M | RAWLIST), 1, 1000
369 DS(430, "Print some informations on the given <variables>") },
370 { "features", &_features, (M | NOLIST), 0, 0
371 DS(429, "Show features that are compiled into the MUA") },
372 { "version", &_version, (M | NOLIST), 0, 0
373 DS(413, "Print the MUA version") },
374 #if defined HAVE_HISTORY &&\
375 (defined HAVE_READLINE || defined HAVE_EDITLINE || defined HAVE_NCL)
376 { "history", &c_history, (I | M | RAWLIST), 0, 1
377 DS(431, "Either <show> (default) or <clear> the line editor history") },
378 #endif
379 #ifdef HAVE_DEBUG
380 { "sstats", &c_sstats, (I | M | NOLIST), 0, 0
381 DS(416, "Print statistics about the auto-reclaimed string store") },
382 { "smemtrace", &smemtrace, (I | M | NOLIST), 0, 0
383 DS(417, "Trace current memory usage afap") },
384 #endif
385 { NULL, NULL, 0, 0, 0 DS(0, "") }
387 #undef DS
389 #undef MSGLIST
390 #undef STRLIST
391 #undef RAWLIST
392 #undef NOLIST
393 #undef NDMLIST
394 #undef ECHOLIST
395 #undef ARG_ARGMASK
396 #undef A
397 #undef F
398 #undef I
399 #undef M
400 #undef P
401 #undef R
402 #undef T
403 #undef W
405 /* vim:set fenc=utf-8:s-it-mode */