From root@gits.dyndns.org  Wed Jan  3 17:13:40 2001
Return-Path: <root@gits.dyndns.org>
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by hub.freebsd.org (Postfix) with SMTP id 7E35037B400
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  3 Jan 2001 17:13:39 -0800 (PST)
Received: (qmail 19195914 invoked from network); 4 Jan 2001 01:13:37 -0000
Received: from s011.dhcp212-229.cybercable.fr (HELO gits.dyndns.org) ([212.198.229.11]) (envelope-sender <root@gits.dyndns.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 4 Jan 2001 01:13:37 -0000
Received: (from root@localhost)
	by gits.dyndns.org (8.11.1/8.11.1) id f041DWx75161;
	Thu, 4 Jan 2001 02:13:32 +0100 (CET)
	(envelope-from root)
Message-Id: <200101040113.f041DWx75161@gits.dyndns.org>
Date: Thu, 4 Jan 2001 02:13:32 +0100 (CET)
From: Cyrille Lefevre <clefevre@citeweb.net>
Sender: root@gits.dyndns.org
Reply-To: clefevre@citeweb.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysinstall fdisk's wizard mode is started in raw mode
X-Send-Pr-Version: 3.2

>Number:         24061
>Category:       bin
>Synopsis:       sysinstall fdisk's wizard mode is started in raw mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 03 17:20:01 PST 2001
>Closed-Date:    Fri Mar 23 00:27:26 PST 2001
>Last-Modified:  Fri Mar 23 00:27:36 PST 2001
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.2-STABLE FreeBSD 4.2-STABLE #2: Wed Dec  6 17:17:38 CET 2000     root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM  i386

>Description:

	when calling the wizard mode in fdisk's sysinstall,
	you are in raw mode which doesn't help to enter commands.

>How-To-Repeat:

	sysinstall...fdisk...W

>Fix:


Index: release/sysinstall/wizard.c
===================================================================
RCS file: /home/ncvs/src/release/sysinstall/wizard.c,v
retrieving revision 1.15.2.2
diff -u -r1.15.2.2 wizard.c
--- release/sysinstall/wizard.c	2000/08/08 03:04:09	1.15.2.2
+++ release/sysinstall/wizard.c	2000/10/23 03:48:44
@@ -70,6 +70,7 @@
     char **cp,*cmds[200];
     int ncmd,i;
 
+    systemSuspendDialog();
     sprintf(myprompt,"%s> ", d->name);
     while(1) {
 	printf("--==##==--\n");
@@ -197,4 +198,5 @@
 	printf("\n");
 
     }
+    systemResumeDialog();
 }

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Fri Mar 23 00:27:26 PST 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24061 
>Unformatted:
