diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-29 00:50:05 +0000 |
commit | 0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2 (patch) | |
tree | 58d029010cbf3d16628a9ceed4f7834b66424740 /release/sysinstall/msg.c | |
parent | 3af08455beaf843caa7977ba2b77b18a1eb5c29f (diff) | |
download | FreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.zip FreeBSD-src-0fe7556fa5f2f63aa0b487fe8c761f0fe2b042b2.tar.gz |
Shrink the boot floppy by removing all extraneous stuff. Also increase
number of inodes.
Fix various bugs reported by Poul. Implement VTY switching.
Diffstat (limited to 'release/sysinstall/msg.c')
-rw-r--r-- | release/sysinstall/msg.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/release/sysinstall/msg.c b/release/sysinstall/msg.c index a90c50f..3459e7e 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.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); |