[BACK]Return to cmdtab.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mail

Diff for /src/usr.bin/mail/cmdtab.c between version 1.7 and 1.8

version 1.7, 2003/06/03 02:56:11 version 1.8, 2004/01/03 20:26:36
Line 46 
Line 46 
  *   *
  * Define all of the command names and bindings.   * Define all of the command names and bindings.
  */   */
   typedef int (*cfunc_t)(void *);
 const struct cmd cmdtab[] = {  const struct cmd cmdtab[] = {
         /*                                              msgmask msgflag  */          /*                                              msgmask msgflag  */
         /* command      function        argtype         result  & mask   */          /* command      function        argtype         result  & mask   */
Line 67 
Line 68 
         { "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 },          { "pipe",       { (cfunc_t)pipeit }, MSGLIST|STRLIST,0, MMNDEL },
         { "|",          { pipeit },     MSGLIST|STRLIST,0,      MMNDEL },          { "|",          { (cfunc_t)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 },

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8