diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-08 09:08:51 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-06-08 09:08:51 +0000 |
commit | dabbacad121dbaa6c27a08dbd6aeb3bfec44f4ff (patch) | |
tree | 9c79cadaf8043fe23e3ee5bb76acf09cc334595e /release/sysinstall/msg.c | |
parent | 0453d3cbb393fe51c233cd70dc1b520cc0d3ef8c (diff) |
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.
Notes
Notes:
svn path=/head/; revision=16208
Diffstat (limited to 'release/sysinstall/msg.c')
-rw-r--r-- | release/sysinstall/msg.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/sysinstall/msg.c b/release/sysinstall/msg.c index 4d01088e29fb..4d25758e16c4 100644 --- a/release/sysinstall/msg.c +++ b/release/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.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 "); |