changes due to addition of isflow field
Showing
1 changed file
with
69 additions
and
69 deletions
... | @@ -18,79 +18,79 @@ | ... | @@ -18,79 +18,79 @@ |
18 | #include "mail.h" | 18 | #include "mail.h" |
19 | 19 | ||
20 | const struct mail_command_entry mail_command_table[] = { | 20 | const struct mail_command_entry mail_command_table[] = { |
21 | { "a", "alias", mail_alias, | 21 | { "a", "alias", 0, mail_alias, |
22 | "a[lias] [alias [address...]]" }, | 22 | "a[lias] [alias [address...]]" }, |
23 | { "alt", "alternates", mail_alt, "alt[ernates] name..." }, | 23 | { "alt", "alternates", 0, mail_alt, "alt[ernates] name..." }, |
24 | { "C", "Copy", mail_copy, "C[opy] [msglist]" }, | 24 | { "C", "Copy", 0, mail_copy, "C[opy] [msglist]" }, |
25 | { "cd", "cd", mail_cd, "cd [directory]" }, | 25 | { "cd", "cd", 0, mail_cd, "cd [directory]" }, |
26 | { "ch", "chdir", mail_cd, "ch[dir] directory" }, | 26 | { "ch", "chdir", 0, mail_cd, "ch[dir] directory" }, |
27 | { "c", "copy", mail_copy, "c[opy] [[msglist] file]" }, | 27 | { "c", "copy", 0, mail_copy, "c[opy] [[msglist] file]" }, |
28 | { "d", "delete", mail_delete, "d[elete] [msglist]" }, | 28 | { "d", "delete", 0, mail_delete, "d[elete] [msglist]" }, |
29 | { "di", "discard", mail_discard, | 29 | { "di", "discard", 0, mail_discard, |
30 | "di[scard] [header-field...]" }, | 30 | "di[scard] [header-field...]" }, |
31 | { "dp", "dp", mail_dp, "dp [msglist]" }, | 31 | { "dp", "dp", 0, mail_dp, "dp [msglist]" }, |
32 | { "dt", "dt", mail_dp, "dt [msglist]" }, | 32 | { "dt", "dt", 0, mail_dp, "dt [msglist]" }, |
33 | { "ec", "echo", mail_echo, "ec[ho] string ..." }, | 33 | { "ec", "echo", 0, mail_echo, "ec[ho] string ..." }, |
34 | { "e", "edit", mail_edit, "e[dit] [msglist]" }, | 34 | { "e", "edit", 0, mail_edit, "e[dit] [msglist]" }, |
35 | { "el", "else", mail_if, "el[se]" }, /* FIXME */ | 35 | { "el", "else", 1, mail_else, "el[se]" }, |
36 | { "en", "endif", mail_if, "en[dif]" }, /* FIXME */ | 36 | { "en", "endif", 1, mail_endif, "en[dif]" }, |
37 | { "ex", "exit", mail_exit, "ex[it]" }, | 37 | { "ex", "exit", 0, mail_exit, "ex[it]" }, |
38 | { "F", "Followup", mail_followup, "F[ollowup] [msglist]" }, | 38 | { "F", "Followup", 0, mail_followup, "F[ollowup] [msglist]" }, |
39 | { "fi", "file", mail_file, "fi[le] [file]" }, | 39 | { "fi", "file", 0, mail_file, "fi[le] [file]" }, |
40 | { "fold", "folder", mail_file, "fold[er] [file]" }, | 40 | { "fold", "folder", 0, mail_file, "fold[er] [file]" }, |
41 | { "folders", "folders", mail_folders, "folders" }, | 41 | { "folders", "folders", 0, mail_folders,"folders" }, |
42 | { "fo", "followup", mail_followup, "fo[llowup] [msglist]" }, | 42 | { "fo", "followup", 0, mail_followup,"fo[llowup] [msglist]" }, |
43 | { "f", "from", mail_from, "f[rom] [msglist]" }, | 43 | { "f", "from", 0, mail_from, "f[rom] [msglist]" }, |
44 | { "g", "group", mail_alias, | 44 | { "g", "group", 0, mail_alias, |
45 | "g[roup] [alias [address...]]" }, | 45 | "g[roup] [alias [address...]]" }, |
46 | { "h", "headers", mail_headers, "h[eaders] [msglist]" }, | 46 | { "h", "headers", 0, mail_headers,"h[eaders] [msglist]" }, |
47 | { "hel", "help", mail_help, "hel[p] [command...]" }, | 47 | { "hel", "help", 0, mail_help, "hel[p] [command...]" }, |
48 | { "ho", "hold", mail_hold, "ho[ld] [msglist]" }, | 48 | { "ho", "hold", 0, mail_hold, "ho[ld] [msglist]" }, |
49 | { "i", "if", mail_if, "i[f] s|r" }, /* FIXME */ | 49 | { "i", "if", 1, mail_if, "i[f] s|r|t" }, |
50 | { "ig", "ignore", mail_discard, "ig[nore] [header-field...]" }, | 50 | { "ig", "ignore", 0, mail_discard,"ig[nore] [header-field...]" }, |
51 | { "l", "list", mail_list, "l[ist]" }, | 51 | { "l", "list", 0, mail_list, "l[ist]" }, |
52 | { "m", "mail", mail_send, "m[ail] [address...]" }, | 52 | { "m", "mail", 0, mail_send, "m[ail] [address...]" }, |
53 | { "mb", "mbox", mail_mbox, "mb[ox] [msglist]" }, | 53 | { "mb", "mbox", 0, mail_mbox, "mb[ox] [msglist]" }, |
54 | { "n", "next", mail_next, "n[ext] [message]" }, | 54 | { "n", "next", 0, mail_next, "n[ext] [message]" }, |
55 | { "P", "Print", mail_print, "P[rint] [msglist]" }, | 55 | { "P", "Print", 0, mail_print, "P[rint] [msglist]" }, |
56 | { "pi", "pipe", mail_pipe, "pi[pe] [[msglist] command]" }, | 56 | { "pi", "pipe", 0, mail_pipe, "pi[pe] [[msglist] command]" }, |
57 | { "pre", "preserve", mail_hold, "pre[serve] [msglist]" }, | 57 | { "pre", "preserve", 0, mail_hold, "pre[serve] [msglist]" }, |
58 | { "prev", "previous", mail_previous, "prev[ious] [message]" }, | 58 | { "prev", "previous", 0, mail_previous,"prev[ious] [message]" }, |
59 | { "p", "print", mail_print, "p[rint] [msglist]" }, | 59 | { "p", "print", 0, mail_print, "p[rint] [msglist]" }, |
60 | { "q", "quit", mail_quit, "q[uit]" }, | 60 | { "q", "quit", 0, mail_quit, "q[uit]" }, |
61 | { "R", "Reply", mail_reply, "R[eply] [msglist]" }, | 61 | { "R", "Reply", 0, mail_reply, "R[eply] [msglist]" }, |
62 | { "R", "Respond", mail_reply, "R[espond] [msglist]" }, | 62 | { "R", "Respond", 0, mail_reply, "R[espond] [msglist]" }, |
63 | { "r", "reply", mail_reply, "r[eply] [msglist]" }, | 63 | { "r", "reply", 0, mail_reply, "r[eply] [msglist]" }, |
64 | { "r", "respond", mail_reply, "r[espond] [msglist]" }, | 64 | { "r", "respond", 0, mail_reply, "r[espond] [msglist]" }, |
65 | { "ret", "retain", mail_retain, "ret[ain] [header-field]" }, | 65 | { "ret", "retain", 0, mail_retain, "ret[ain] [header-field]" }, |
66 | { "S", "Save", mail_save, "S[ave] [msglist]" }, | 66 | { "S", "Save", 0, mail_save, "S[ave] [msglist]" }, |
67 | { "s", "save", mail_save, "s[ave] [[msglist] file]" }, | 67 | { "s", "save", 0, mail_save, "s[ave] [[msglist] file]" }, |
68 | { "se", "set", mail_set, | 68 | { "se", "set", 0, mail_set, |
69 | "se[t] [name[=[string]]...] [name=number...] [noname...]" }, | 69 | "se[t] [name[=[string]]...] [name=number...] [noname...]" }, |
70 | { "sh", "shell", mail_shell, "sh[ell] [command]" }, | 70 | { "sh", "shell", 0, mail_shell, "sh[ell] [command]" }, |
71 | { "si", "size", mail_size, "si[ze] [msglist]" }, | 71 | { "si", "size", 0, mail_size, "si[ze] [msglist]" }, |
72 | { "so", "source", mail_source, "so[urce] file" }, | 72 | { "so", "source", 0, mail_source, "so[urce] file" }, |
73 | { "T", "Type", mail_print, "T[ype] [msglist]" }, | 73 | { "T", "Type", 0, mail_print, "T[ype] [msglist]" }, |
74 | { "to", "top", mail_top, "to[p] [msglist]" }, | 74 | { "to", "top", 0, mail_top, "to[p] [msglist]" }, |
75 | { "tou", "touch", mail_touch, "tou[ch] [msglist]" }, | 75 | { "tou", "touch", 0, mail_touch, "tou[ch] [msglist]" }, |
76 | { "t", "type", mail_print, "t[ype] [msglist]" }, | 76 | { "t", "type", 0, mail_print, "t[ype] [msglist]" }, |
77 | { "una", "unalias", mail_unalias, "una[lias] [alias]..." }, | 77 | { "una", "unalias", 0, mail_unalias,"una[lias] [alias]..." }, |
78 | { "u", "undelete", mail_undelete, "u[ndelete] [msglist]" }, | 78 | { "u", "undelete", 0, mail_undelete,"u[ndelete] [msglist]" }, |
79 | { "uns", "unset", mail_unset, "uns[et] name..." }, | 79 | { "uns", "unset", 0, mail_unset, "uns[et] name..." }, |
80 | { "v", "visual", mail_visual, "v[isual] [msglist]" }, | 80 | { "v", "visual", 0, mail_visual, "v[isual] [msglist]" }, |
81 | { "W", "Write", mail_write, "W[rite] [msglist]" }, | 81 | { "W", "Write", 0, mail_write, "W[rite] [msglist]" }, |
82 | { "w", "write", mail_write, "w[rite] [[msglist] file]" }, | 82 | { "w", "write", 0, mail_write, "w[rite] [[msglist] file]" }, |
83 | { "x", "xit", mail_exit, "x[it]" }, | 83 | { "x", "xit", 0, mail_exit, "x[it]" }, |
84 | { "z", "", mail_z, "z[+|-]" }, | 84 | { "z", "", 0, mail_z, "z[+|-|. [count]]" }, |
85 | { "?", "?", mail_help, "? [command...]" }, | 85 | { "?", "?", 0, mail_help, "? [command...]" }, |
86 | { "!", "", mail_shell, "![command]" }, | 86 | { "!", "", 0, mail_shell, "![command]" }, |
87 | { "=", "=", mail_eq, "=" }, | 87 | { "=", "=", 0, mail_eq, "=" }, |
88 | { "#", "#", NULL, "# comment" }, | 88 | { "#", "#", 0, NULL, "# comment" }, |
89 | { "*", "*", mail_list, "*" }, | 89 | { "*", "*", 0, mail_list, "*" }, |
90 | { "+", "+", mail_next, "+ [message]" }, | 90 | { "+", "+", 0, mail_next, "+ [message]" }, |
91 | { "|", "|", mail_pipe, "| [[msglist] command]" }, | 91 | { "|", "|", 0, mail_pipe, "| [[msglist] command]" }, |
92 | { "-", "-", mail_previous, "- [message]" }, | 92 | { "-", "-", 0, mail_previous,"- [message]" }, |
93 | { 0, 0, 0, 0} | 93 | { 0, 0, 0, 0, 0} |
94 | }; | 94 | }; |
95 | 95 | ||
96 | const struct mail_command_entry mail_escape_table[] = { | 96 | const struct mail_command_entry mail_escape_table[] = { | ... | ... |
-
Please register or sign in to post a comment