diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
| commit | fdb4b4b383ba2cc405069e5248b9134c0c0f47ac (patch) | |
| tree | 58d029010cbf3d16628a9ceed4f7834b66424740 /usr.sbin/sysinstall/msg.c | |
| parent | 15671a7ba8380efd4612865fdac0264e3d23698c (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
| -rw-r--r-- | usr.sbin/sysinstall/msg.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c index a90c50f6f42d..3459e7e177ce 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.23 1995/05/23 02:41:15 jkh Exp $ + * $Id: msg.c,v 1.24 1995/05/24 09:00:56 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -43,6 +43,8 @@ #include "sysinstall.h" #include <stdarg.h> +#include <sys/ioctl.h> +#include <machine/console.h> #define VTY_STATLINE 24 #define TTY_STATLINE 23 @@ -205,7 +207,7 @@ msgConfirm(char *fmt, ...) use_helpfile(NULL); w = dupwin(newscr); if (OnVTY) { - msgDebug("User confirmation requested (type ALT-F1)\n"); + ioctl(0, VT_RELDISP, 0); /* Switch back */ msgInfo(NULL); } dialog_notify(errstr); @@ -251,7 +253,7 @@ msgYesNo(char *fmt, ...) use_helpfile(NULL); w = dupwin(newscr); if (OnVTY) { - msgDebug("User decision requested (type ALT-F1)\n"); + ioctl(0, VT_RELDISP, 0); /* Switch back */ msgInfo(NULL); } ret = dialog_yesno("User Confirmation Requested", errstr, -1, -1); @@ -284,7 +286,7 @@ msgGetInput(char *buf, char *fmt, ...) input_buffer[0] = '\0'; w = dupwin(newscr); if (OnVTY) { - msgDebug("User input requested (type ALT-F1)\n"); + ioctl(0, VT_RELDISP, 0); /* Switch back */ msgInfo(NULL); } rval = dialog_inputbox("Value Required", errstr, -1, -1, input_buffer); |
