version 1.4, 1997/07/13 21:21:10 |
version 1.5, 2001/01/16 05:36:08 |
|
|
*/ |
*/ |
|
|
const struct cmd cmdtab[] = { |
const struct cmd cmdtab[] = { |
|
/* msgmask msgflag */ |
|
/* command function argtype result & mask */ |
|
/* ------- -------- ------- ------- -------- */ |
{ "next", next, NDMLIST, 0, MMNDEL }, |
{ "next", next, NDMLIST, 0, MMNDEL }, |
{ "alias", group, M|RAWLIST, 0, 1000 }, |
{ "alias", group, M|RAWLIST, 0, 1000 }, |
{ "print", type, MSGLIST, 0, MMNDEL }, |
{ "print", type, MSGLIST, 0, MMNDEL }, |
|
|
{ "unset", unset, M|RAWLIST, 1, 1000 }, |
{ "unset", unset, M|RAWLIST, 1, 1000 }, |
{ "mail", sendmail, R|M|I|STRLIST, 0, 0 }, |
{ "mail", sendmail, R|M|I|STRLIST, 0, 0 }, |
{ "mbox", mboxit, W|MSGLIST, 0, 0 }, |
{ "mbox", mboxit, W|MSGLIST, 0, 0 }, |
|
{ "pipe", pipeit, MSGLIST|STRLIST,0, MMNDEL }, |
|
{ "|", pipeit, MSGLIST|STRLIST,0, MMNDEL }, |
{ "more", more, MSGLIST, 0, MMNDEL }, |
{ "more", more, MSGLIST, 0, MMNDEL }, |
{ "page", more, MSGLIST, 0, MMNDEL }, |
{ "page", more, MSGLIST, 0, MMNDEL }, |
{ "More", More, MSGLIST, 0, MMNDEL }, |
{ "More", More, MSGLIST, 0, MMNDEL }, |
|
|
{ "from", from, MSGLIST, 0, MMNORM }, |
{ "from", from, MSGLIST, 0, MMNORM }, |
{ "file", file, T|M|RAWLIST, 0, 1 }, |
{ "file", file, T|M|RAWLIST, 0, 1 }, |
{ "folder", file, T|M|RAWLIST, 0, 1 }, |
{ "folder", file, T|M|RAWLIST, 0, 1 }, |
{ "folders", folders, T|M|NOLIST, 0, 0 }, |
{ "folders", folders, T|M|STRLIST, 0, 0 }, |
{ "?", help, M|NOLIST, 0, 0 }, |
{ "?", help, M|NOLIST, 0, 0 }, |
{ "z", scroll, M|STRLIST, 0, 0 }, |
{ "z", scroll, M|STRLIST, 0, 0 }, |
{ "headers", headers, MSGLIST, 0, MMNDEL }, |
{ "headers", headers, MSGLIST, 0, MMNDEL }, |
|
|
{ "#", null, M|NOLIST, 0, 0 }, |
{ "#", null, M|NOLIST, 0, 0 }, |
{ "clobber", clobber, M|RAWLIST, 0, 1 }, |
{ "clobber", clobber, M|RAWLIST, 0, 1 }, |
{ "inc", inc, T|NOLIST, 0, 0 }, |
{ "inc", inc, T|NOLIST, 0, 0 }, |
|
{ "new", marknew, MSGLIST, 0, MMNDEL }, |
{ 0, 0, 0, 0, 0 } |
{ 0, 0, 0, 0, 0 } |
}; |
}; |