summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/msg.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/msg.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/msg.c')
-rw-r--r--usr.sbin/sysinstall/msg.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c
index ef1d79b..4d01088 100644
--- a/usr.sbin/sysinstall/msg.c
+++ b/usr.sbin/sysinstall/msg.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: msg.c,v 1.32 1996/04/28 00:37:36 jkh Exp $
+ * $Id: msg.c,v 1.33 1996/05/16 11:47:40 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -82,7 +82,7 @@ msgInfo(char *fmt, ...)
/* NULL is a special convention meaning "erase the old stuff" */
if (!fmt) {
move(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0);
- attrset(A_REVERSE);
+ attrset(A_NORMAL);
clrtoeol();
attrset(attrs);
return;
@@ -99,16 +99,11 @@ msgInfo(char *fmt, ...)
break;
}
line[80] = '\0';
- attrset(A_REVERSE);
+ attrset(item_attr);
mvaddstr(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0, line);
attrset(attrs);
move(OnVTY ? VTY_STATLINE : TTY_STATLINE, 79);
refresh();
- if (OnVTY) {
- if (isDebug())
- msgDebug("Information: `%s'\n", errstr);
- msgInfo(NULL);
- }
}
/* Whack up a warning on the status line */
OpenPOWER on IntegriCloud