Commit e51fe3e4 e51fe3e4c26d9b480860d310f5a829880426785e by Sergey Poznyakoff

Initialize "flags" field.

1 parent 46c1d554
......@@ -32,24 +32,24 @@ const struct mail_command_entry mail_command_table[] = {
{ "dt", "dt", 0, mail_dp, "dt [msglist]" },
{ "ec", "echo", 0, mail_echo, "ec[ho] string ..." },
{ "e", "edit", 0, mail_edit, "e[dit] [msglist]" },
{ "el", "else", 1, mail_else, "el[se]" },
{ "en", "endif", 1, mail_endif, "en[dif]" },
{ "el", "else", EF_FLOW, mail_else, "el[se]" },
{ "en", "endif", EF_FLOW, mail_endif, "en[dif]" },
{ "ex", "exit", 0, mail_exit, "ex[it]" },
{ "F", "Followup", 0, mail_followup,"F[ollowup] [msglist]" },
{ "F", "Followup", EF_SEND, mail_followup,"F[ollowup] [msglist]" },
{ "fi", "file", 0, mail_file, "fi[le] [file]" },
{ "fold", "folder", 0, mail_file, "fold[er] [file]" },
{ "folders", "folders", 0, mail_folders,"folders" },
{ "fo", "followup", 0, mail_followup,"fo[llowup] [msglist]" },
{ "fo", "followup", EF_SEND, mail_followup,"fo[llowup] [msglist]" },
{ "f", "from", 0, mail_from, "f[rom] [msglist]" },
{ "g", "group", 0, mail_alias,
"g[roup] [alias [address...]]" },
{ "h", "headers", 0, mail_headers,"h[eaders] [msglist]" },
{ "hel", "help", 0, mail_help, "hel[p] [command...]" },
{ "ho", "hold", 0, mail_hold, "ho[ld] [msglist]" },
{ "i", "if", 1, mail_if, "i[f] s|r|t" },
{ "i", "if", EF_FLOW, mail_if, "i[f] s|r|t" },
{ "ig", "ignore", 0, mail_discard,"ig[nore] [header-field...]" },
{ "l", "list", 0, mail_list, "l[ist]" },
{ "m", "mail", 0, mail_send, "m[ail] [address...]" },
{ "m", "mail", EF_SEND, mail_send, "m[ail] [address...]" },
{ "mb", "mbox", 0, mail_mbox, "mb[ox] [msglist]" },
{ "n", "next", 0, mail_next, "n[ext] [message]" },
{ "P", "Print", 0, mail_print, "P[rint] [msglist]" },
......@@ -58,10 +58,10 @@ const struct mail_command_entry mail_command_table[] = {
{ "prev", "previous", 0, mail_previous,"prev[ious] [message]" },
{ "p", "print", 0, mail_print, "p[rint] [msglist]" },
{ "q", "quit", 0, mail_quit, "q[uit]" },
{ "R", "Reply", 0, mail_reply, "R[eply] [msglist]" },
{ "R", "Respond", 0, mail_reply, "R[espond] [msglist]" },
{ "r", "reply", 0, mail_reply, "r[eply] [msglist]" },
{ "r", "respond", 0, mail_reply, "r[espond] [msglist]" },
{ "R", "Reply", EF_SEND, mail_reply, "R[eply] [msglist]" },
{ "R", "Respond", EF_SEND, mail_reply, "R[espond] [msglist]" },
{ "r", "reply", EF_SEND, mail_reply, "r[eply] [msglist]" },
{ "r", "respond", EF_SEND, mail_reply, "r[espond] [msglist]" },
{ "ret", "retain", 0, mail_retain, "ret[ain] [header-field]" },
{ "S", "Save", 0, mail_save, "S[ave] [msglist]" },
{ "s", "save", 0, mail_save, "s[ave] [[msglist] file]" },
......@@ -78,6 +78,7 @@ const struct mail_command_entry mail_command_table[] = {
{ "u", "undelete", 0, mail_undelete,"u[ndelete] [msglist]" },
{ "uns", "unset", 0, mail_unset, "uns[et] name..." },
{ "v", "visual", 0, mail_visual, "v[isual] [msglist]" },
{ "wa", "warranty", 0, mail_warranty,"wa[rranty]" },
{ "W", "Write", 0, mail_write, "W[rite] [msglist]" },
{ "w", "write", 0, mail_write, "w[rite] [[msglist] file]" },
{ "x", "xit", 0, mail_exit, "x[it]" },
......@@ -94,5 +95,29 @@ const struct mail_command_entry mail_command_table[] = {
};
const struct mail_command_entry mail_escape_table[] = {
{"!", "!", 0, var_shell, "![shell-command]"},
{":", ":", 0, var_command, ":[mail-command]"},
{"-", "-", 0, var_command, "-[mail-command]"},
{"?", "?", 0, var_help, "?"},
{"A", "A", 0, var_sign, "A"},
{"a", "a", 0, var_sign, "a"},
{"b", "b", 0, var_bcc, "b[bcc-list]"},
{"c", "c", 0, var_cc, "c[cc-list]"},
{"d", "d", 0, var_deadletter, "d"},
{"e", "e", 0, var_editor, "e"},
{"f", "f", 0, var_print, "f[mesg-list]"},
{"F", "F", 0, var_print, "F[mesg-list]"},
{"h", "h", 0, var_headers, "h"},
{"i", "i", 0, var_insert, "i[var-name]"},
{"m", "m", 0, var_quote, "m[mesg-list]"},
{"M", "M", 0, var_quote, "M[mesg-list]"},
{"p", "p", 0, var_type_input,"p"},
{"r", "<", 0, var_read, "r[filename]"},
{"s", "s", 0, var_subj, "s[string]"},
{"t", "t", 0, var_to, "t[name-list]"},
{"v", "v", 0, var_visual, "v"},
{"w", "w", 0, var_write, "w[filename]"},
{"x", "x", 0, var_exit, "x"},
{"|", "|", 0, var_pipe, "|[shell-command]"},
{0, 0, 0, 0}
};
......