new ip statistics
[unix-history] / usr / src / usr.bin / mail / cmdtab.c
index 1617042..a19b694 100644 (file)
@@ -8,7 +8,7 @@
  * Define all of the command names and bindings.
  */
 
  * Define all of the command names and bindings.
  */
 
-static char *SccsId = "@(#)cmdtab.c    2.7 %G%";
+static char *SccsId = "@(#)cmdtab.c    2.9 %G%";
 
 extern int type(), preserve(), delete(), undelete(), next(), shell(), schdir();
 extern int save(), help(), headers(), pdot(), strace(), respond(), editor();
 
 extern int type(), preserve(), delete(), undelete(), next(), shell(), schdir();
 extern int save(), help(), headers(), pdot(), strace(), respond(), editor();
@@ -17,13 +17,15 @@ extern int messize(), psalloc(), deltype(), unset(), set(), source();
 extern int pversion(), group(), top(), core(), null(), stouch(), visual();
 extern int swrite(), dosh(), file(), echo(), Respond(), scroll(), ifcmd();
 extern int elsecmd(), endifcmd(), mboxit(), clobber(), alternates();
 extern int pversion(), group(), top(), core(), null(), stouch(), visual();
 extern int swrite(), dosh(), file(), echo(), Respond(), scroll(), ifcmd();
 extern int elsecmd(), endifcmd(), mboxit(), clobber(), alternates();
-extern int folders();
+extern int local(), folders(), igfield(), Type();
 
 struct cmd cmdtab[] = {
        "next",         next,           NDMLIST,        0,      MMNDEL,
        "alias",        group,          M|RAWLIST,      0,      1000,
        "print",        type,           MSGLIST,        0,      MMNDEL,
        "type",         type,           MSGLIST,        0,      MMNDEL,
 
 struct cmd cmdtab[] = {
        "next",         next,           NDMLIST,        0,      MMNDEL,
        "alias",        group,          M|RAWLIST,      0,      1000,
        "print",        type,           MSGLIST,        0,      MMNDEL,
        "type",         type,           MSGLIST,        0,      MMNDEL,
+       "Type",         Type,           MSGLIST,        0,      MMNDEL,
+       "Print",        Type,           MSGLIST,        0,      MMNDEL,
        "visual",       visual,         I|MSGLIST,      0,      MMNORM,
        "top",          top,            MSGLIST,        0,      MMNDEL,
        "touch",        stouch,         W|MSGLIST,      0,      MMNDEL,
        "visual",       visual,         I|MSGLIST,      0,      MMNORM,
        "top",          top,            MSGLIST,        0,      MMNDEL,
        "touch",        stouch,         W|MSGLIST,      0,      MMNDEL,
@@ -63,6 +65,7 @@ struct cmd cmdtab[] = {
        "echo",         echo,           M|RAWLIST,      0,      1000,
        "quit",         edstop,         NOLIST,         0,      0,
        "list",         pcmdlist,       M|NOLIST,       0,      0,
        "echo",         echo,           M|RAWLIST,      0,      1000,
        "quit",         edstop,         NOLIST,         0,      0,
        "list",         pcmdlist,       M|NOLIST,       0,      0,
+       "local",        local,          M|RAWLIST,      0,      1000,
        "xit",          rexit,          M|NOLIST,       0,      0,
        "exit",         rexit,          M|NOLIST,       0,      0,
        "size",         messize,        MSGLIST,        0,      MMNDEL,
        "xit",          rexit,          M|NOLIST,       0,      0,
        "exit",         rexit,          M|NOLIST,       0,      0,
        "size",         messize,        MSGLIST,        0,      MMNDEL,
@@ -71,6 +74,8 @@ struct cmd cmdtab[] = {
        "else",         elsecmd,        F|M|RAWLIST,    0,      0,
        "endif",        endifcmd,       F|M|RAWLIST,    0,      0,
        "alternates",   alternates,     M|RAWLIST,      0,      1000,
        "else",         elsecmd,        F|M|RAWLIST,    0,      0,
        "endif",        endifcmd,       F|M|RAWLIST,    0,      0,
        "alternates",   alternates,     M|RAWLIST,      0,      1000,
+       "ignore",       igfield,        M|RAWLIST,      0,      1000,
+       "discard",      igfield,        M|RAWLIST,      0,      1000,
        "core",         core,           M|NOLIST,       0,      0,
        "#",            null,           M|NOLIST,       0,      0,
        "clobber",      clobber,        M|RAWLIST,      0,      1,
        "core",         core,           M|NOLIST,       0,      0,
        "#",            null,           M|NOLIST,       0,      0,
        "clobber",      clobber,        M|RAWLIST,      0,      1,