Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2001 02:13:32 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/24061: sysinstall fdisk's wizard mode is started in raw mode
Message-ID:  <200101040113.f041DWx75161@gits.dyndns.org>
Resent-Message-ID: <200101040120.f041K5l96393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 03 17:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101040113.f041DWx75161>