summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/msg.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
commit2f833c17e4d471c2d93c9ebbdf8ad19398f507c2 (patch)
treee16e118dfbf61572d55eb479473237b41f776011 /usr.sbin/sysinstall/msg.c
parent087b79e64924db080f586fc0470dd61c78ec63b0 (diff)
Notes
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 ef1d79b2bde8..4d01088e29fb 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 */