Commit 7596ca42 7596ca42c6986ee6cfd41fda592f3c68ee26471d by Sergey Poznyakoff

changes due to addition of isflow field

1 parent 37d1a8ee
......@@ -18,79 +18,79 @@
#include "mail.h"
const struct mail_command_entry mail_command_table[] = {
{ "a", "alias", mail_alias,
{ "a", "alias", 0, mail_alias,
"a[lias] [alias [address...]]" },
{ "alt", "alternates", mail_alt, "alt[ernates] name..." },
{ "C", "Copy", mail_copy, "C[opy] [msglist]" },
{ "cd", "cd", mail_cd, "cd [directory]" },
{ "ch", "chdir", mail_cd, "ch[dir] directory" },
{ "c", "copy", mail_copy, "c[opy] [[msglist] file]" },
{ "d", "delete", mail_delete, "d[elete] [msglist]" },
{ "di", "discard", mail_discard,
{ "alt", "alternates", 0, mail_alt, "alt[ernates] name..." },
{ "C", "Copy", 0, mail_copy, "C[opy] [msglist]" },
{ "cd", "cd", 0, mail_cd, "cd [directory]" },
{ "ch", "chdir", 0, mail_cd, "ch[dir] directory" },
{ "c", "copy", 0, mail_copy, "c[opy] [[msglist] file]" },
{ "d", "delete", 0, mail_delete, "d[elete] [msglist]" },
{ "di", "discard", 0, mail_discard,
"di[scard] [header-field...]" },
{ "dp", "dp", mail_dp, "dp [msglist]" },
{ "dt", "dt", mail_dp, "dt [msglist]" },
{ "ec", "echo", mail_echo, "ec[ho] string ..." },
{ "e", "edit", mail_edit, "e[dit] [msglist]" },
{ "el", "else", mail_if, "el[se]" }, /* FIXME */
{ "en", "endif", mail_if, "en[dif]" }, /* FIXME */
{ "ex", "exit", mail_exit, "ex[it]" },
{ "F", "Followup", mail_followup, "F[ollowup] [msglist]" },
{ "fi", "file", mail_file, "fi[le] [file]" },
{ "fold", "folder", mail_file, "fold[er] [file]" },
{ "folders", "folders", mail_folders, "folders" },
{ "fo", "followup", mail_followup, "fo[llowup] [msglist]" },
{ "f", "from", mail_from, "f[rom] [msglist]" },
{ "g", "group", mail_alias,
{ "dp", "dp", 0, mail_dp, "dp [msglist]" },
{ "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]" },
{ "ex", "exit", 0, mail_exit, "ex[it]" },
{ "F", "Followup", 0, 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]" },
{ "f", "from", 0, mail_from, "f[rom] [msglist]" },
{ "g", "group", 0, mail_alias,
"g[roup] [alias [address...]]" },
{ "h", "headers", mail_headers, "h[eaders] [msglist]" },
{ "hel", "help", mail_help, "hel[p] [command...]" },
{ "ho", "hold", mail_hold, "ho[ld] [msglist]" },
{ "i", "if", mail_if, "i[f] s|r" }, /* FIXME */
{ "ig", "ignore", mail_discard, "ig[nore] [header-field...]" },
{ "l", "list", mail_list, "l[ist]" },
{ "m", "mail", mail_send, "m[ail] [address...]" },
{ "mb", "mbox", mail_mbox, "mb[ox] [msglist]" },
{ "n", "next", mail_next, "n[ext] [message]" },
{ "P", "Print", mail_print, "P[rint] [msglist]" },
{ "pi", "pipe", mail_pipe, "pi[pe] [[msglist] command]" },
{ "pre", "preserve", mail_hold, "pre[serve] [msglist]" },
{ "prev", "previous", mail_previous, "prev[ious] [message]" },
{ "p", "print", mail_print, "p[rint] [msglist]" },
{ "q", "quit", mail_quit, "q[uit]" },
{ "R", "Reply", mail_reply, "R[eply] [msglist]" },
{ "R", "Respond", mail_reply, "R[espond] [msglist]" },
{ "r", "reply", mail_reply, "r[eply] [msglist]" },
{ "r", "respond", mail_reply, "r[espond] [msglist]" },
{ "ret", "retain", mail_retain, "ret[ain] [header-field]" },
{ "S", "Save", mail_save, "S[ave] [msglist]" },
{ "s", "save", mail_save, "s[ave] [[msglist] file]" },
{ "se", "set", mail_set,
{ "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" },
{ "ig", "ignore", 0, mail_discard,"ig[nore] [header-field...]" },
{ "l", "list", 0, mail_list, "l[ist]" },
{ "m", "mail", 0, 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]" },
{ "pi", "pipe", 0, mail_pipe, "pi[pe] [[msglist] command]" },
{ "pre", "preserve", 0, mail_hold, "pre[serve] [msglist]" },
{ "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]" },
{ "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]" },
{ "se", "set", 0, mail_set,
"se[t] [name[=[string]]...] [name=number...] [noname...]" },
{ "sh", "shell", mail_shell, "sh[ell] [command]" },
{ "si", "size", mail_size, "si[ze] [msglist]" },
{ "so", "source", mail_source, "so[urce] file" },
{ "T", "Type", mail_print, "T[ype] [msglist]" },
{ "to", "top", mail_top, "to[p] [msglist]" },
{ "tou", "touch", mail_touch, "tou[ch] [msglist]" },
{ "t", "type", mail_print, "t[ype] [msglist]" },
{ "una", "unalias", mail_unalias, "una[lias] [alias]..." },
{ "u", "undelete", mail_undelete, "u[ndelete] [msglist]" },
{ "uns", "unset", mail_unset, "uns[et] name..." },
{ "v", "visual", mail_visual, "v[isual] [msglist]" },
{ "W", "Write", mail_write, "W[rite] [msglist]" },
{ "w", "write", mail_write, "w[rite] [[msglist] file]" },
{ "x", "xit", mail_exit, "x[it]" },
{ "z", "", mail_z, "z[+|-]" },
{ "?", "?", mail_help, "? [command...]" },
{ "!", "", mail_shell, "![command]" },
{ "=", "=", mail_eq, "=" },
{ "#", "#", NULL, "# comment" },
{ "*", "*", mail_list, "*" },
{ "+", "+", mail_next, "+ [message]" },
{ "|", "|", mail_pipe, "| [[msglist] command]" },
{ "-", "-", mail_previous, "- [message]" },
{ 0, 0, 0, 0}
{ "sh", "shell", 0, mail_shell, "sh[ell] [command]" },
{ "si", "size", 0, mail_size, "si[ze] [msglist]" },
{ "so", "source", 0, mail_source, "so[urce] file" },
{ "T", "Type", 0, mail_print, "T[ype] [msglist]" },
{ "to", "top", 0, mail_top, "to[p] [msglist]" },
{ "tou", "touch", 0, mail_touch, "tou[ch] [msglist]" },
{ "t", "type", 0, mail_print, "t[ype] [msglist]" },
{ "una", "unalias", 0, mail_unalias,"una[lias] [alias]..." },
{ "u", "undelete", 0, mail_undelete,"u[ndelete] [msglist]" },
{ "uns", "unset", 0, mail_unset, "uns[et] name..." },
{ "v", "visual", 0, mail_visual, "v[isual] [msglist]" },
{ "W", "Write", 0, mail_write, "W[rite] [msglist]" },
{ "w", "write", 0, mail_write, "w[rite] [[msglist] file]" },
{ "x", "xit", 0, mail_exit, "x[it]" },
{ "z", "", 0, mail_z, "z[+|-|. [count]]" },
{ "?", "?", 0, mail_help, "? [command...]" },
{ "!", "", 0, mail_shell, "![command]" },
{ "=", "=", 0, mail_eq, "=" },
{ "#", "#", 0, NULL, "# comment" },
{ "*", "*", 0, mail_list, "*" },
{ "+", "+", 0, mail_next, "+ [message]" },
{ "|", "|", 0, mail_pipe, "| [[msglist] command]" },
{ "-", "-", 0, mail_previous,"- [message]" },
{ 0, 0, 0, 0, 0}
};
const struct mail_command_entry mail_escape_table[] = {
......