diff options
author | jkh <jkh@FreeBSD.org> | 1996-06-08 09:08:51 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-06-08 09:08:51 +0000 |
commit | c75ddabf834905387953a28a6e531a55d0af665c (patch) | |
tree | 9c79cadaf8043fe23e3ee5bb76acf09cc334595e /usr.sbin/sade/msg.c | |
parent | 11d257651da74ba5cbe2ef53e48cb48b442da014 (diff) | |
download | FreeBSD-src-c75ddabf834905387953a28a6e531a55d0af665c.zip FreeBSD-src-c75ddabf834905387953a28a6e531a55d0af665c.tar.gz |
Implement selective text attributes for the syscons vty / vt100 emulator
selection since an attribute which looks good on a color console doesn't
necessarily look good in an xterm.
Diffstat (limited to 'usr.sbin/sade/msg.c')
-rw-r--r-- | usr.sbin/sade/msg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/sade/msg.c b/usr.sbin/sade/msg.c index 4d01088..4d25758 100644 --- a/usr.sbin/sade/msg.c +++ b/usr.sbin/sade/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.33 1996/05/16 11:47:40 jkh Exp $ + * $Id: msg.c,v 1.34 1996/05/23 16:34:28 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -99,7 +99,7 @@ msgInfo(char *fmt, ...) break; } line[80] = '\0'; - attrset(item_attr); + attrset(title_attr); mvaddstr(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0, line); attrset(attrs); move(OnVTY ? VTY_STATLINE : TTY_STATLINE, 79); @@ -121,7 +121,7 @@ msgWarn(char *fmt, ...) va_end(args); attrs = getattrs(stdscr); beep(); - attrset(A_REVERSE); + attrset(title_attr); mvaddstr(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0, errstr); attrset(attrs); refresh(); @@ -144,7 +144,7 @@ msgError(char *fmt, ...) va_end(args); beep(); attrs = getattrs(stdscr); - attrset(A_REVERSE); + attrset(title_attr); mvaddstr(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0, errstr); attrset(attrs); refresh(); @@ -167,7 +167,7 @@ msgFatal(char *fmt, ...) va_end(args); beep(); attrs = getattrs(stdscr); - attrset(A_REVERSE); + attrset(title_attr); mvaddstr(OnVTY ? VTY_STATLINE : TTY_STATLINE, 0, errstr); addstr(" - "); addstr("PRESS ANY KEY TO "); |