added W flag for commands which cannot be executed in
authorKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Fri, 10 Oct 1980 05:43:51 +0000 (21:43 -0800)
committerKurt A. Schoens <kas@ucbvax.Berkeley.EDU>
Fri, 10 Oct 1980 05:43:51 +0000 (21:43 -0800)
read only mode

SCCS-vsn: usr.bin/mail/def.h 1.3

usr/src/usr.bin/mail/def.h

index e6cc351..8f948fe 100644 (file)
@@ -9,7 +9,7 @@
 #undef isdigit
 
 /*
 #undef isdigit
 
 /*
- * Sccs Id = "@(#)def.h        1.2 %G%";
+ * Sccs Id = "@(#)def.h        1.3 %G%";
  */
 
 /*
  */
 
 /*
@@ -98,6 +98,7 @@ struct cmd {
 #define        P       040             /* Autoprint dot after command */
 #define        I       0100            /* Interactive command bit */
 #define        M       0200            /* Illegal from send mode bit */
 #define        P       040             /* Autoprint dot after command */
 #define        I       0100            /* Interactive command bit */
 #define        M       0200            /* Illegal from send mode bit */
+#define        W       0400            /* Illegal when read only bit */
 
 /*
  * Oft-used mask values
 
 /*
  * Oft-used mask values
@@ -243,6 +244,7 @@ char        *index();
 char   *nameof();
 char   *nextword();
 char   *getenv();
 char   *nameof();
 char   *nextword();
 char   *getenv();
+char   *getfilename();
 char   *hcontents();
 char   *netmap();
 char   *netname();
 char   *hcontents();
 char   *netmap();
 char   *netname();