/* mailpi.h */ #define NCMDS 37 #define QMARK 1 #define BYE 2 #define COPY 3 #define DEBUG 4 #define DELETE 5 #define DIR 6 #define EXIT 7 #define HASH 8 #define HELP 9 #define HOME 10 #define INDEX 11 #define INTERACTIVE 12 #define LCD 13 #define LDELETE 14 #define LDIR 15 #define LIST 16 #define LLS 17 #define LMKDIR 18 #define LPROTECT 19 #define LPWD 20 #define LRENAME 21 #define LRMDIR 22 #define LTYPE 23 #define LUNPROTECT 24 #define MAIL 25 #define NEWMAIL 26 #define NONINTERACTIVE 27 #define PROMPT 28 #define QUIT 29 #define READ 30 #define SCAN 31 #define SEND 32 #define STATUS 33 #define USER 34 #define VERBOSE 35 #define VERSION 36 #define WILD 37 #ifdef MAILMASTER char *mail_cmdlist[]={ "?", "bye", "copy", "debug", "delete", "directory", "exit", "hash", "help", "home", "index", "interactive", "lcd", "ldelete", "ldir", "listmail", "lls", "lmkdir", "lprotect", "lpwd", "lrename", "lrmdir", "ltype", "lunprotect", "mail", "newmail", "noninteractive", "prompt", "quit", "read", "scan", "send", "status", "user", "verbose", "version", "wild" }; #else extern char *mail_cmdlist[]; #endif /* * The following helpstring text must be * copied to sy: as maicmd.txt */ #ifdef MAICMDTXT /* maicmd.txt */ ? print local help information bye terminate the MAIL program copy copy a message to a file debug toggle/set debugging mode delete delete a message dir list of unread mail messages exit terminate the MAIL program hash toggle printing `#' for each 1024 bytes transferred help print local help information home go to home (initial) directory index an index of received mail interactive turn on prompting for multiple commands lcd change local working directory ldelete delete local files ldir list contents of local directory listmail list of unread mail messages lls list contents of local directory lmkdir make a local directory lprotect set protection flag on local file lpwd show local working directory lrename rename a local file lrmdir remove a local directory ltype print a local file to the screen lunprotect clear protection flag on a local file mail go to mail directory newmail count number of new mail messages noninteractive turn off prompting on multiple commands prompt toggle interactive prompting on multiple commands quit terminate the MAIL program read read a mail message scan scan directory for all mail messages send [filespec] initiate the sending of a message status show current status user enter a new user/password access key verbose toggle verbose mode version MAIL-11 version displayed wild toggle wildcard expansion of local file names #endif