Added -I flag, which causes Mail to assume that input is a tty
authorSerge ??? <serge@ucbvax.Berkeley.EDU>
Tue, 28 May 1985 06:02:19 +0000 (22:02 -0800)
committerSerge ??? <serge@ucbvax.Berkeley.EDU>
Tue, 28 May 1985 06:02:19 +0000 (22:02 -0800)
SCCS-vsn: usr.bin/mail/main.c 2.15

usr/src/usr.bin/mail/main.c

index 046d85d..3a272ad 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)main.c     2.14 (Berkeley) %G%";
+static char *sccsid = "@(#)main.c      2.15 (Berkeley) %G%";
 #endif
 
 #include "rcv.h"
 #endif
 
 #include "rcv.h"
@@ -212,6 +212,13 @@ main(argc, argv)
                        assign("verbose", "");
                        break;
 
                        assign("verbose", "");
                        break;
 
+               case 'I':
+                       /*
+                        * We're interactive
+                        */
+                       intty = 1;
+                       break;
+
                default:
                        fprintf(stderr, "Unknown flag: %s\n", argv[i]);
                        exit(1);
                default:
                        fprintf(stderr, "Unknown flag: %s\n", argv[i]);
                        exit(1);