summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/termcap.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
committerjkh <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
commita6d22d5527b448bae8f777f96f703f4c78759ae4 (patch)
treee16e118dfbf61572d55eb479473237b41f776011 /usr.sbin/sysinstall/termcap.c
parente7580e953680afd240217d7e4591e5de26317b24 (diff)
downloadFreeBSD-src-a6d22d5527b448bae8f777f96f703f4c78759ae4.zip
FreeBSD-src-a6d22d5527b448bae8f777f96f703f4c78759ae4.tar.gz
Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better idea if your link has crashed or is behaving oddly.
Diffstat (limited to 'usr.sbin/sysinstall/termcap.c')
-rw-r--r--usr.sbin/sysinstall/termcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/termcap.c b/usr.sbin/sysinstall/termcap.c
index 30efe0c..1f25ab1 100644
--- a/usr.sbin/sysinstall/termcap.c
+++ b/usr.sbin/sysinstall/termcap.c
@@ -55,7 +55,6 @@ set_termcap(void)
on = 1;
i = ioctl(DebugFD, TIOCCONS, (char *)&on);
msgDebug("ioctl(%d, TIOCCONS, NULL) = %d (%s)\n", DebugFD, i, !i ? "success" : strerror(errno));
- OnVTY = TRUE;
}
if (ColorDisplay) {
if (!term) {
@@ -73,6 +72,7 @@ set_termcap(void)
return -1;
}
}
+ OnVTY = TRUE;
}
return 0;
}
OpenPOWER on IntegriCloud