Deleted Added
full compact
wizard.c (61277) wizard.c (74677)
1/*
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
1/*
2 * ----------------------------------------------------------------------------
3 * "THE BEER-WARE LICENSE" (Revision 42):
4 * <phk@login.dknet.dk> wrote this file. As long as you retain this notice you
5 * can do whatever you want with this stuff. If we meet some day, and you think
6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 * ----------------------------------------------------------------------------
8 *
9 * $FreeBSD: head/usr.sbin/sade/wizard.c 61277 2000-06-05 13:17:23Z nyan $
9 * $FreeBSD: head/usr.sbin/sade/wizard.c 74677 2001-03-23 08:26:43Z jkh $
10 *
11 */
12
13#include "sysinstall.h"
14#include <fcntl.h>
15#include <err.h>
16
17int

--- 47 unchanged lines hidden (view full) ---

65{
66 Disk *db;
67 char myprompt[BUFSIZ];
68 char input[BUFSIZ];
69 char *p,*q=0;
70 char **cp,*cmds[200];
71 int ncmd,i;
72
10 *
11 */
12
13#include "sysinstall.h"
14#include <fcntl.h>
15#include <err.h>
16
17int

--- 47 unchanged lines hidden (view full) ---

65{
66 Disk *db;
67 char myprompt[BUFSIZ];
68 char input[BUFSIZ];
69 char *p,*q=0;
70 char **cp,*cmds[200];
71 int ncmd,i;
72
73 systemSuspendDialog();
73 sprintf(myprompt,"%s> ", d->name);
74 while(1) {
75 printf("--==##==--\n");
76 Debug_Disk(d);
77 p = CheckRules(d);
78 if (p) {
79 printf("%s",p);
80 free(p);

--- 111 unchanged lines hidden (view full) ---

192 printf("scan\n");
193 printf("write\t\t");
194 printf("ENUM:\n\t");
195 for(i=0;chunk_n[i];i++)
196 printf("%d = %s%s",i,chunk_n[i],i == 4 ? "\n\t" : " ");
197 printf("\n");
198
199 }
74 sprintf(myprompt,"%s> ", d->name);
75 while(1) {
76 printf("--==##==--\n");
77 Debug_Disk(d);
78 p = CheckRules(d);
79 if (p) {
80 printf("%s",p);
81 free(p);

--- 111 unchanged lines hidden (view full) ---

193 printf("scan\n");
194 printf("write\t\t");
195 printf("ENUM:\n\t");
196 for(i=0;chunk_n[i];i++)
197 printf("%d = %s%s",i,chunk_n[i],i == 4 ? "\n\t" : " ");
198 printf("\n");
199
200 }
201 systemResumeDialog();
200}
202}