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

Diff for /src/usr.bin/ftp/main.c between version 1.28 and 1.29

version 1.28, 1997/04/10 00:17:10 version 1.29, 1997/04/11 23:14:04
Line 106 
Line 106 
         if (strcmp(cp, "pftp") == 0)          if (strcmp(cp, "pftp") == 0)
                 passivemode = 1;                  passivemode = 1;
   
         dumb_terminal =          dumb_terminal = (!strcmp(getenv("TERM"), "dumb") ||
             (!strcmp(getenv("TERM"), "dumb") || !strcmp(getenv("TERM"), "su"));              !strcmp(getenv("TERM"), "emacs") || !strcmp(getenv("TERM"), "su"));
         fromatty = isatty(fileno(stdin));          fromatty = isatty(fileno(stdin));
         if (fromatty) {          if (fromatty) {
                 verbose = 1;            /* verbose if from a tty */                  verbose = 1;            /* verbose if from a tty */

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29