summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/msg.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-20 14:05:31 +0000
committerjkh <jkh@FreeBSD.org>1995-05-20 14:05:31 +0000
commit4a304ce1a08feaf28e1297725261f21b987ed0fd (patch)
tree79a26f845e67e6b9911dbd24b4e513af32cd975e /usr.sbin/sysinstall/msg.c
parentf00ac5162a165005fdd66c5ed66fa69cecbe8884 (diff)
downloadFreeBSD-src-4a304ce1a08feaf28e1297725261f21b987ed0fd.zip
FreeBSD-src-4a304ce1a08feaf28e1297725261f21b987ed0fd.tar.gz
Try again to get cpio_extract() to work. Also fix the bogon
I introduced with msgNotify() again. Sigh. I'll get it looking correct someday!
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
-rw-r--r--usr.sbin/sysinstall/msg.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c
index ccfaff6..31ec20c 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.18 1995/05/20 10:33:10 jkh Exp $
+ * $Id: msg.c,v 1.19 1995/05/20 13:24:34 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -180,6 +180,7 @@ msgConfirm(char *fmt, ...)
{
va_list args;
char *errstr;
+ WINDOW *w;
errstr = (char *)safe_malloc(FILENAME_MAX);
va_start(args, fmt);
@@ -187,11 +188,15 @@ msgConfirm(char *fmt, ...)
va_end(args);
use_helpline(NULL);
use_helpfile(NULL);
+ w = dupwin(newscr);
if (OnVTY) {
msgDebug("User confirmation requested (type ALT-F1)\n");
msgInfo(NULL);
}
dialog_notify(errstr);
+ touchwin(w);
+ wrefresh(w);
+ delwin(w);
free(errstr);
}
@@ -209,8 +214,8 @@ msgNotify(char *fmt, ...)
use_helpline(NULL);
use_helpfile(NULL);
msgDebug("Notify: %s\n", errstr);
- dialog_msgbox("Information Dialog", errstr, -1, -1, 0);
dialog_clear();
+ dialog_msgbox("Information Dialog", errstr, -1, -1, 0);
free(errstr);
}
OpenPOWER on IntegriCloud