diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-20 08:31:43 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-20 08:31:43 +0000 |
| commit | 2cf252e087dabd4f80ff2f6bec8b0313b707dd0b (patch) | |
| tree | 6e27f2a0893b19c2726d34d3e053c5a01e621ec9 /usr.sbin/sysinstall/msg.c | |
| parent | dad012f2c61b9adbbdb4e5b0920e194f4d54fc45 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
| -rw-r--r-- | usr.sbin/sysinstall/msg.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c index 40bf8790a01aa..5213ced6a70da 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.15 1995/05/19 21:30:34 jkh Exp $ + * $Id: msg.c,v 1.16 1995/05/20 07:50:20 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -81,8 +81,10 @@ msgInfo(char *fmt, ...) mvaddstr(23, 0, errstr); attrset(attrs); refresh(); - if (OnVTY) + if (OnVTY) { msgDebug("Informational message `%s'\n", errstr); + msgInfo(""); + } free(errstr); } @@ -179,8 +181,10 @@ msgConfirm(char *fmt, ...) va_end(args); use_helpline(NULL); use_helpfile(NULL); - if (OnVTY) + if (OnVTY) { msgDebug("User confirmation requested (type ALT-F1)\n"); + msgInfo(""); + } dialog_notify(errstr); free(errstr); } @@ -219,8 +223,10 @@ msgYesNo(char *fmt, ...) use_helpline(NULL); use_helpfile(NULL); w = dupwin(newscr); - if (OnVTY) + if (OnVTY) { msgDebug("User decision requested (type ALT-F1)\n"); + msgInfo(""); + } ret = dialog_yesno("User Confirmation Requested", errstr, -1, -1); touchwin(w); wrefresh(w); @@ -250,8 +256,10 @@ msgGetInput(char *buf, char *fmt, ...) else input_buffer[0] = '\0'; w = dupwin(newscr); - if (OnVTY) + if (OnVTY) { msgDebug("User input requested (type ALT-F1)\n"); + msgInfo(""); + } rval = dialog_inputbox("Value Required", errstr, -1, -1, input_buffer); touchwin(w); wrefresh(w); |
