thus should always be executed and T == command is transparent and does
not affect sawcom; defined conditional constants: CANY -- execute in
either send or receive mode and CRCV/CSEND -- execute only in send/receive
mode
SCCS-vsn: usr.bin/mail/def.h 1.6
- * Sccs Id = "@(#)def.h 1.5 %G%";
+ * Sccs Id = "@(#)def.h 1.6 %G%";
#define I 0100 /* Interactive command bit */
#define M 0200 /* Illegal from send mode bit */
#define W 0400 /* Illegal when read only bit */
#define I 0100 /* Interactive command bit */
#define M 0200 /* Illegal from send mode bit */
#define W 0400 /* Illegal when read only bit */
+#define C 01000 /* Is a conditional command */
+#define T 02000 /* Is a transparent command */
/*
* Oft-used mask values
/*
* Oft-used mask values
#define REGDEP 2 /* Maximum regret depth. */
#define STRINGLEN 64 /* Maximum length of string token */
#define REGDEP 2 /* Maximum regret depth. */
#define STRINGLEN 64 /* Maximum length of string token */
+/*
+ * Constants for conditional commands. These describe whether
+ * we should be executing stuff or not.
+ */
+
+#define CANY 0 /* Execute in send or receive mode */
+#define CRCV 1 /* Execute in receive mode only */
+#define CSEND 2 /* Execute in send mode only */
+
/*
* Kludges to handle the change from setexit / reset to setjmp / longjmp
*/
/*
* Kludges to handle the change from setexit / reset to setjmp / longjmp
*/