From fdb4b4b383ba2cc405069e5248b9134c0c0f47ac Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Mon, 29 May 1995 00:50:05 +0000 Subject: Shrink the boot floppy by removing all extraneous stuff. Also increase number of inodes. Fix various bugs reported by Poul. Implement VTY switching. --- usr.sbin/sysinstall/msg.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'usr.sbin/sysinstall/msg.c') 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 +#include +#include #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); -- cgit v1.3