summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>2001-03-23 08:26:43 +0000
committerjkh <jkh@FreeBSD.org>2001-03-23 08:26:43 +0000
commite0f3bf78f4a8546bd7c56562bad5c04ddc2a6243 (patch)
tree3c3fa6a7036a69e5fb21c0a8c33c2d8c0864638c /usr.sbin
parentd3cb88445526b280f12e44d131808c5793f0c34b (diff)
downloadFreeBSD-src-e0f3bf78f4a8546bd7c56562bad5c04ddc2a6243.zip
FreeBSD-src-e0f3bf78f4a8546bd7c56562bad5c04ddc2a6243.tar.gz
Make wizard mode get out of raw mode first before going interactive with
the user. Submitted by: Cyrille Lefevre <clefevre@citeweb.net> PR: bin/24061
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/wizard.c2
-rw-r--r--usr.sbin/sysinstall/wizard.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sade/wizard.c b/usr.sbin/sade/wizard.c
index a42dc62..e499a27 100644
--- a/usr.sbin/sade/wizard.c
+++ b/usr.sbin/sade/wizard.c
@@ -70,6 +70,7 @@ slice_wizard(Disk *d)
char **cp,*cmds[200];
int ncmd,i;
+ systemSuspendDialog();
sprintf(myprompt,"%s> ", d->name);
while(1) {
printf("--==##==--\n");
@@ -197,4 +198,5 @@ slice_wizard(Disk *d)
printf("\n");
}
+ systemResumeDialog();
}
diff --git a/usr.sbin/sysinstall/wizard.c b/usr.sbin/sysinstall/wizard.c
index a42dc62..e499a27 100644
--- a/usr.sbin/sysinstall/wizard.c
+++ b/usr.sbin/sysinstall/wizard.c
@@ -70,6 +70,7 @@ slice_wizard(Disk *d)
char **cp,*cmds[200];
int ncmd,i;
+ systemSuspendDialog();
sprintf(myprompt,"%s> ", d->name);
while(1) {
printf("--==##==--\n");
@@ -197,4 +198,5 @@ slice_wizard(Disk *d)
printf("\n");
}
+ systemResumeDialog();
}
OpenPOWER on IntegriCloud