summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-11 23:14:05 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-11 23:14:05 +0000
commitadfbdc8011c52399fc983d2597f8ffd06e135221 (patch)
tree5ffc5f57d6693f6d71df3cc6bc8e7f0d34cface1 /usr.bin
parentee9b7dd9acd7db882d25640eebc2409e2b43a58e (diff)
emacs is dumb too--the $TERM entry that is.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ftp/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c
index 22ba48dc6ed..7601da8358a 100644
--- a/usr.bin/ftp/main.c
+++ b/usr.bin/ftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.28 1997/04/10 00:17:10 millert Exp $ */
+/* $OpenBSD: main.c,v 1.29 1997/04/11 23:14:04 millert Exp $ */
/* $NetBSD: main.c,v 1.21 1997/04/05 03:27:39 lukem Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 10/9/94";
#else
-static char rcsid[] = "$OpenBSD: main.c,v 1.28 1997/04/10 00:17:10 millert Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.29 1997/04/11 23:14:04 millert Exp $";
#endif
#endif /* not lint */
@@ -106,8 +106,8 @@ main(argc, argv)
if (strcmp(cp, "pftp") == 0)
passivemode = 1;
- dumb_terminal =
- (!strcmp(getenv("TERM"), "dumb") || !strcmp(getenv("TERM"), "su"));
+ dumb_terminal = (!strcmp(getenv("TERM"), "dumb") ||
+ !strcmp(getenv("TERM"), "emacs") || !strcmp(getenv("TERM"), "su"));
fromatty = isatty(fileno(stdin));
if (fromatty) {
verbose = 1; /* verbose if from a tty */