From 1e4c734852402d0de4333c341cd7a20bd04ef9b8 Mon Sep 17 00:00:00 2001 From: millert Date: Fri, 11 Apr 1997 23:14:04 +0000 Subject: [PATCH] emacs is dumb too--the $TERM entry that is. --- usr.bin/ftp/main.c | 8 ++++---- 1 file 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 */ -- 2.20.1