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

Diff for /src/usr.bin/mail/collect.c between version 1.4 and 1.5

version 1.4, 1997/04/13 20:22:39 version 1.5, 1997/04/13 20:32:06
Line 154 
Line 154 
                 if (hadintr) {                  if (hadintr) {
                         fflush(stdout);                          fflush(stdout);
                         fprintf(stderr,                          fprintf(stderr,
                         "\n(Interrupt -- one more to kill letter)\n");                              "\n(Interrupt -- one more to kill letter)\n");
                 } else {                  } else {
                         if (isatty(0)) {                          if (isatty(0)) {
                                 printf("(continue)\n");                                  printf("(continue)\n");
Line 601 
Line 601 
         /*          /*
          * the control flow is subtle, because we can be called from ~q.           * the control flow is subtle, because we can be called from ~q.
          */           */
         if (!hadintr) {          if (hadintr == 0 && isatty(0)) {
                 if (value("ignore") != NOSTR) {                  if (value("ignore") != NOSTR) {
                         puts("@");                          puts("@");
                         fflush(stdout);                          fflush(stdout);

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5