version 1.28, 1997/04/10 00:17:10 |
version 1.29, 1997/04/11 23:14:04 |
|
|
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 */ |