From 4e8ac024aec3968bd0e201d0e01d227427e76345 Mon Sep 17 00:00:00 2001 From: millert Date: Mon, 3 Feb 1997 01:22:08 +0000 Subject: [PATCH] Turn off progress bar by default as it interacts poorly with "get FILE /dev/tty" and "get FILE |pager" among others. --- usr.bin/ftp/main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index f1c302f05cf..a4cc1fc4909 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.18 1997/02/03 01:05:42 millert Exp $ */ +/* $OpenBSD: main.c,v 1.19 1997/02/03 01:22:08 millert Exp $ */ /* $NetBSD: main.c,v 1.17 1997/02/01 10:45:07 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.18 1997/02/03 01:05:42 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.19 1997/02/03 01:22:08 millert Exp $"; #endif #endif /* not lint */ @@ -103,8 +103,6 @@ main(argc, argv) fromatty = isatty(fileno(stdin)); if (fromatty) verbose = 1; /* verbose if from a tty */ - if (isatty(fileno(stdout))) - progress = 1; /* progress bar on if going to a tty */ while ((ch = getopt(argc, argv, "adginpPr:tvV")) != -1) { switch (ch) { -- 2.20.1