Deleted Added
full compact
menus.c (8549) menus.c (8556)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $Id: menus.c,v 1.12 1995/05/11 06:47:46 jkh Exp $
7 * $Id: menus.c,v 1.13 1995/05/16 02:53:23 jkh Exp $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

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

49 * these menus just as soon as I add the code for doing inline variable
50 * expansion.
51 */
52
53/* Forward decls for submenus */
54extern DMenu MenuDocumentation;
55extern DMenu MenuOptions;
56extern DMenu MenuOptionsLanguage;
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

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

49 * these menus just as soon as I add the code for doing inline variable
50 * expansion.
51 */
52
53/* Forward decls for submenus */
54extern DMenu MenuDocumentation;
55extern DMenu MenuOptions;
56extern DMenu MenuOptionsLanguage;
57extern DMenu MenuOptionsFtp;
57extern DMenu MenuOptionsFTP;
58extern DMenu MenuMedia;
58extern DMenu MenuMedia;
59extern DMenu MenuMediaFloppy;
60extern DMenu MenuInstall;
59extern DMenu MenuInstallType;
60extern DMenu MenuInstallOptions;
61extern DMenu MenuDistributions;
62extern DMenu MenuXF86Select;
63extern DMenu MenuXF86SelectCore;
64extern DMenu MenuXF86SelectServer;
65extern DMenu MenuXF86SelectFonts;
66extern DMenu MenuXF86;
67
68/* The initial installation menu */
69DMenu MenuInitial = {
70 DMENU_NORMAL_TYPE,
71 "Welcome to FreeBSD 2.0.5!", /* title */
72 "This is the main menu of the FreeBSD installation system. Please\n\
73select one of the options below by using the arrow keys or typing the\n\
74first character of the option name you're interested in. Invoke an\n\
75option by pressing enter. If you'd like a shell, press ESC", /* prompt */
61extern DMenu MenuInstallType;
62extern DMenu MenuInstallOptions;
63extern DMenu MenuDistributions;
64extern DMenu MenuXF86Select;
65extern DMenu MenuXF86SelectCore;
66extern DMenu MenuXF86SelectServer;
67extern DMenu MenuXF86SelectFonts;
68extern DMenu MenuXF86;
69
70/* The initial installation menu */
71DMenu MenuInitial = {
72 DMENU_NORMAL_TYPE,
73 "Welcome to FreeBSD 2.0.5!", /* title */
74 "This is the main menu of the FreeBSD installation system. Please\n\
75select one of the options below by using the arrow keys or typing the\n\
76first character of the option name you're interested in. Invoke an\n\
77option by pressing enter. If you'd like a shell, press ESC", /* prompt */
76 "Press F1 for usage instructions", /* help line */
77 "usage.hlp", /* help file */
78 "Press F1 for usage instructions", /* help line */
79 "usage.hlp", /* help file */
78 { { "Usage", "Quick start - How to use this menu system.", /* U */
79 DMENU_DISPLAY_FILE, (void *)"usage.hlp", 0, 0 },
80 { { "Usage", "Quick start - How to use this menu system.", /* U */
81 DMENU_DISPLAY_FILE, (void *)"usage.hlp", 0, 0 },
80 { "Doc", "More detailed documentation on FreeBSD.", /* D */
82 { "Doc", "More detailed documentation on FreeBSD.", /* D */
81 DMENU_SUBMENU, (void *)&MenuDocumentation, 0, 0 },
83 DMENU_SUBMENU, (void *)&MenuDocumentation, 0, 0 },
82 { "Options", "Select options for this utility.", /* O */
84 { "Options", "Select various options for this utility.", /* O */
83 DMENU_SUBMENU, (void *)&MenuOptions, 0, 0 },
85 DMENU_SUBMENU, (void *)&MenuOptions, 0, 0 },
84 { "Install", "Begin installation", /* I */
85 DMENU_CALL, (void *)installCustom, 0, 0 },
86 { "Install", "Begin installation", /* I */
87 DMENU_SUBMENU, (void *)&MenuInstall, 0, 0 },
86 { NULL } },
87};
88
89/* The main documentation menu */
90DMenu MenuDocumentation = {
91 DMENU_NORMAL_TYPE,
92 "Documentation for FreeBSD 2.0.5", /* Title */
93 "If you are at all unsure about the configuration of your hardware\n\
94or are looking to build a system specifically for FreeBSD, read the\n\
95Hardware guide! New users should also read the Install document for\n\
96a step-by-step tutorial on installing FreeBSD. For general information,\n\
97consult the README file. If you're having other problems, you may find\n\
98answers in the FAQ.",
99 "Confused? Press F1 for help.",
100 "usage.hlp", /* help file */
88 { NULL } },
89};
90
91/* The main documentation menu */
92DMenu MenuDocumentation = {
93 DMENU_NORMAL_TYPE,
94 "Documentation for FreeBSD 2.0.5", /* Title */
95 "If you are at all unsure about the configuration of your hardware\n\
96or are looking to build a system specifically for FreeBSD, read the\n\
97Hardware guide! New users should also read the Install document for\n\
98a step-by-step tutorial on installing FreeBSD. For general information,\n\
99consult the README file. If you're having other problems, you may find\n\
100answers in the FAQ.",
101 "Confused? Press F1 for help.",
102 "usage.hlp", /* help file */
101 { { "README", "Read this for a general description of FreeBSD", /* R */
103 { { "README", "Read this for a general description of FreeBSD", /* R */
102 DMENU_DISPLAY_FILE, (void *)"README", 0, 0 },
104 DMENU_DISPLAY_FILE, (void *)"README", 0, 0 },
103 { "Hardware", "The FreeBSD survival guide for PC hardware.", /* H */
105 { "Hardware", "The FreeBSD survival guide for PC hardware.", /* H */
104 DMENU_DISPLAY_FILE, (void *)"hardware.hlp", 0, 0 },
106 DMENU_DISPLAY_FILE, (void *)"hardware.hlp", 0, 0 },
105 { "Install", "A step-by-step guide to installing FreeBSD.", /* I */
107 { "Install", "A step-by-step guide to installing FreeBSD.", /* I */
106 DMENU_DISPLAY_FILE, (void *)"install.hlp", 0, 0 },
107 { "Copyright", "The FreeBSD Copyright notices.", /* C */
108 DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
108 DMENU_DISPLAY_FILE, (void *)"install.hlp", 0, 0 },
109 { "Copyright", "The FreeBSD Copyright notices.", /* C */
110 DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
109 { "Release", "The release notes for this version of FreeBSD.", /* R */
111 { "Release", "The release notes for this version of FreeBSD.", /* R */
110 DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
112 DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
111 { "FAQ", "Frequently Asked Questions about FreeBSD.", /* F */
113 { "FAQ", "Frequently Asked Questions about FreeBSD.", /* F */
112 DMENU_DISPLAY_FILE, (void *)"faq.hlp", 0, 0 },
113 { NULL } },
114};
115
116/*
117 * The language selection menu.
118 *
119 * Note: The RADIO menus use a slightly different syntax. If an item

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

127While almost all of the system's documentation is still written\n\
128in english (and may never be translated), there are a few guides\n\
129and types of system documentation that may be written in your\n\
130preferred language. When such are found, they will be used instead\n\
131of the english versions. This feature is nonetheless considered\n\
132to be in experimental status at this time.", /* prompt */
133 "Press F1 for more information", /* help line */
134 "language.hlp", /* help file */
114 DMENU_DISPLAY_FILE, (void *)"faq.hlp", 0, 0 },
115 { NULL } },
116};
117
118/*
119 * The language selection menu.
120 *
121 * Note: The RADIO menus use a slightly different syntax. If an item

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

129While almost all of the system's documentation is still written\n\
130in english (and may never be translated), there are a few guides\n\
131and types of system documentation that may be written in your\n\
132preferred language. When such are found, they will be used instead\n\
133of the english versions. This feature is nonetheless considered\n\
134to be in experimental status at this time.", /* prompt */
135 "Press F1 for more information", /* help line */
136 "language.hlp", /* help file */
135 { { "Danish", "Danish language and character set (ISO-8859-1)", /* D */
137 { { "Danish", "Danish language and character set (ISO-8859-1)", /* D */
136 DMENU_CALL, (void *)lang_set_Danish, 0, 0 },
138 DMENU_CALL, (void *)lang_set_Danish, 0, 0 },
137 { "Dutch", "Dutch language and character set (ISO-8859-1)", /* D */
139 { "Dutch", "Dutch language and character set (ISO-8859-1)", /* D */
138 DMENU_CALL, (void *)lang_set_Dutch, 0, 0 },
140 DMENU_CALL, (void *)lang_set_Dutch, 0, 0 },
139 { "English", "English language (system default)", /* E */
141 { "English", "English language (system default)", /* E */
140 DMENU_CALL, (void *)lang_set_English, 0, 0 },
142 DMENU_CALL, (void *)lang_set_English, 0, 0 },
141 { "French", "French language and character set (ISO-8859-1)", /* F */
143 { "French", "French language and character set (ISO-8859-1)", /* F */
142 DMENU_CALL, (void *)lang_set_French, 0, 0 },
144 DMENU_CALL, (void *)lang_set_French, 0, 0 },
143 { "German", "German language and character set (ISO-8859-1)", /* G */
145 { "German", "German language and character set (ISO-8859-1)", /* G */
144 DMENU_CALL, (void *)lang_set_German, 0, 0 },
146 DMENU_CALL, (void *)lang_set_German, 0, 0 },
145 { "Italian", "Italian language and character set (ISO-8859-1)", /* I */
147 { "Italian", "Italian language and character set (ISO-8859-1)", /* I */
146 DMENU_CALL, (void *)lang_set_Italian, 0, 0 },
148 DMENU_CALL, (void *)lang_set_Italian, 0, 0 },
147 { "Japanese", "Japanese language and default character set (romaji)",/* J */
149 { "Japanese", "Japanese language and default character set (romaji)", /* J */
148 DMENU_CALL, (void *)lang_set_Japanese, 0, 0 },
149 { "Norwegian", "Norwegian language and character set (ISO-8859-1)", /* N */
150 DMENU_CALL, (void *)lang_set_Norwegian, 0, 0 },
150 DMENU_CALL, (void *)lang_set_Japanese, 0, 0 },
151 { "Norwegian", "Norwegian language and character set (ISO-8859-1)", /* N */
152 DMENU_CALL, (void *)lang_set_Norwegian, 0, 0 },
151 { "Russian", "Russian language and character set (cp866-8x14)", /* R */
153 { "Russian", "Russian language and character set (cp866-8x14)", /* R */
152 DMENU_CALL, (void *)lang_set_Russian, 0, 0 },
154 DMENU_CALL, (void *)lang_set_Russian, 0, 0 },
153 { "Spanish", "Spanish language and character set (ISO-8859-1)", /* S */
155 { "Spanish", "Spanish language and character set (ISO-8859-1)", /* S */
154 DMENU_CALL, (void *)lang_set_Spanish, 0, 0 },
156 DMENU_CALL, (void *)lang_set_Spanish, 0, 0 },
155 { "Swedish", "Swedish language and character set (ISO-8859-1)", /* S */
157 { "Swedish", "Swedish language and character set (ISO-8859-1)", /* S */
156 DMENU_CALL, (void *)lang_set_Swedish, 0, 0 },
157 { NULL } },
158};
159
160DMenu MenuMediaCDROM = {
161 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
162 "Choose a CDROM type",
163 "FreeBSD can be installed directly from a CDROM containing a valid\n\
158 DMENU_CALL, (void *)lang_set_Swedish, 0, 0 },
159 { NULL } },
160};
161
162DMenu MenuMediaCDROM = {
163 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
164 "Choose a CDROM type",
165 "FreeBSD can be installed directly from a CDROM containing a valid\n\
164FreeBSD 2.0.5 distribution. If you're seeing this menu, it's because\n\
165your CDROM drive was not properly auto-detected, or you did not launch\n\
166this installation from the CD under DOS or Windows. If you think you are\n
167seeing this dialog in error, you may wish to reboot FreeBSD with the\n\
168-c boot flag (.. boot: /kernel -c) and check that your hardware and\n\
169the kernel agree on reasonable values.",
166FreeBSD 2.0.5 distribution. If you are seeing this menu, it's either\n\
167because you haven't booted directly from the CDROM in DOS/Windows or\n\
168your CDROM was not detected. If you feel that you are seeing this dialog\n\
169in error, you may wish to reboot FreeBSD with the -c boot flag (see the\n\
170hardware guide in the Documentation menu for more info) and check that your\n\
171CDROM controller and the kernel agree on reasonable values. Please also note\n\
172that FreeBSD does NOT currently support IDE CDROM drives!",
170 "Press F1 for more information on CDROM support",
171 "media_cdrom.hlp",
173 "Press F1 for more information on CDROM support",
174 "media_cdrom.hlp",
172 { { "Matsushita", "Panasonic \"Sound Blaster\" CDROM.",
175 { { "Matsushita", "Panasonic \"Sound Blaster\" CDROM.", /* M */
173 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/matcd0a", 0, 0 },
176 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/matcd0a", 0, 0 },
174 { "Mitsumi", "Mitsumi FX-001 series drive (not IDE)",
177 { "Mitsumi", "Mitsumi FX-001 series drive (not IDE)", /* M */
175 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/mcd0a", 0, 0 },
178 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/mcd0a", 0, 0 },
176 { "SCSI", "SCSI CDROM drive attached to supported SCSI controller",
179 { "SCSI", "SCSI CDROM drive attached to supported SCSI controller", /* S */
177 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/cd0a", 0, 0 },
180 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/cd0a", 0, 0 },
178 { "Sony", "Sony CDU31/33A or compatible CDROM drive",
181 { "Sony", "Sony CDU31/33A or compatible CDROM drive", /* S */
179 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/scd0a", 0, 0 },
180 { NULL } },
181};
182
182 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/scd0a", 0, 0 },
183 { NULL } },
184};
185
186DMenu MenuMediaFloppy = {
187 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
188 "Choose a Floppy drive",
189 "FreeBSD can also be installed from floppy disk media,\n\
190though not without some pain. You should have prepared your\n\
191floppy distribution media using the DOS floppy install-set\n\
192construction procedure or have otherwise prepared a set of\n\
193diskettes for each distribution that properly contains all the\n\
194components of the distribution plus the extraction and checksumming\n\
195scripts.",
196 "Please select the floppy drive you want to use",
197 NULL,
198 { { "A", "Floppy drive A", /* M */
199 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/fd0a", 0, 0 },
200 { "B", "Floppy drive B", /* M */
201 DMENU_SET_VARIABLE, (void *)"mediaDevice=/dev/fd1a", 0, 0 },
202 { NULL } },
203};
204
183DMenu MenuMediaFTP = {
184 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
185 "Please specify an FTP site",
205DMenu MenuMediaFTP = {
206 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
207 "Please specify an FTP site",
186 "FreeBSD is distributed from a number of sites on the Internet.\n\
187Please select the site closest to you or \"other\" if you'd like\n\
188to specify another choice. Also note that not all sites carry\n\
189every possible distribution! Distributions other than the basic\n\
190binary set are only guaranteed to be available from the Primary site.\n\
208 "FreeBSD is distributed from a number of sites on the Internet. Please\n\
209select the site closest to you or \"other\" if you'd like to specify another\n\
210choice. Also note that not all sites carry every possible distribution!\n\
211Distributions other than the basic user set are only guaranteed to be available\n\
212from the Primary site.\n\n\
191If the first site selected doesn't respond, try one of the alternates.",
192 "Select a site that's close!",
193 "media_ftp.hlp",
194 { { "Primary", "ftp.freebsd.org",
195 DMENU_SET_VARIABLE, (void *)"mediaDevice=ftp://ftp.freebsd.org/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
196 { "Secondary", "freefall.cdrom.com",
197 DMENU_SET_VARIABLE, (void *)"mediaDevice=ftp://freefall.cdrom.com/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
198 { "Australia", "ftp.physics.usyd.edu.au",

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

299 { "Custom", "Specify your own distribution set",
300 DMENU_SUBMENU, (void *)&MenuDistributions, 0, 0 },
301 { NULL } },
302};
303
304DMenu MenuDistributions = {
305 DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
306 "Select the distributions you wish to install.",
213If the first site selected doesn't respond, try one of the alternates.",
214 "Select a site that's close!",
215 "media_ftp.hlp",
216 { { "Primary", "ftp.freebsd.org",
217 DMENU_SET_VARIABLE, (void *)"mediaDevice=ftp://ftp.freebsd.org/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
218 { "Secondary", "freefall.cdrom.com",
219 DMENU_SET_VARIABLE, (void *)"mediaDevice=ftp://freefall.cdrom.com/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
220 { "Australia", "ftp.physics.usyd.edu.au",

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

321 { "Custom", "Specify your own distribution set",
322 DMENU_SUBMENU, (void *)&MenuDistributions, 0, 0 },
323 { NULL } },
324};
325
326DMenu MenuDistributions = {
327 DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
328 "Select the distributions you wish to install.",
307 "Please check off the distributions you wish to install.",
329 "Please check off the distributions you wish to install. Some\n
330of the most generally useful distributions are already checked, and\n\
331selecting OK at this stage will chose them as defaults.",
308 "Press F1 for a more complete description of these distributions.",
309 "distribution_types.hlp",
310 { { "*bin", "Binary base distribution (required)",
311 DMENU_SET_FLAG, (void *)&Dists, DIST_BIN, 0 },
312 { "commercial", "Commercial demos and shareware",
313 DMENU_SET_FLAG, (void *)&Dists, DIST_COMMERCIAL, 0 },
314 { "compat1x", "FreeBSD 1.x binary compatability package",
315 DMENU_SET_FLAG, (void *)&Dists, DIST_COMPAT1X, 0 },

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

513 DMENU_NORMAL_TYPE,
514 "Choose Installation Options",
515 "This menu controls how the FreeBSD installation will deal with various\n\
516error conditions, should they arise, and the degree to which you, the\n\
517user, will be prompted for options.",
518 NULL,
519 NULL,
520 { { "Ftp Options", "Ftp options menu",
332 "Press F1 for a more complete description of these distributions.",
333 "distribution_types.hlp",
334 { { "*bin", "Binary base distribution (required)",
335 DMENU_SET_FLAG, (void *)&Dists, DIST_BIN, 0 },
336 { "commercial", "Commercial demos and shareware",
337 DMENU_SET_FLAG, (void *)&Dists, DIST_COMMERCIAL, 0 },
338 { "compat1x", "FreeBSD 1.x binary compatability package",
339 DMENU_SET_FLAG, (void *)&Dists, DIST_COMPAT1X, 0 },

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

537 DMENU_NORMAL_TYPE,
538 "Choose Installation Options",
539 "This menu controls how the FreeBSD installation will deal with various\n\
540error conditions, should they arise, and the degree to which you, the\n\
541user, will be prompted for options.",
542 NULL,
543 NULL,
544 { { "Ftp Options", "Ftp options menu",
521 DMENU_SUBMENU, (void *)&MenuOptionsFtp, 0, 0 },
545 DMENU_SUBMENU, (void *)&MenuOptionsFTP, 0, 0 },
522 { "Language", "Select your preferred language",
546 { "Language", "Select your preferred language",
523 DMENU_SUBMENU, (void *)&MenuOptionsLanguage, 0, 0 }
547 DMENU_SUBMENU, (void *)&MenuOptionsLanguage, 0, 0 },
524 { "NFS Secure", "NFS server talks only on a secure port",
525 DMENU_SET_VARIABLE, (void *)"nfsServerSecure=yes", 0, 0 },
526 { "NFS Slow", "User is using a slow PC or ethernet card",
527 DMENU_SET_VARIABLE, (void *)"nfsSlowPC=yes", 0, 0 },
528 { "Extra Debugging", "Toggle the extra debugging flag",
529 DMENU_SET_VARIABLE, (void *)"debug=yes", 0, 0 },
530 { "No Debugging", "Turn the extra debugging flag off",
531 DMENU_SET_VARIABLE, (void *)"debug=no", 0, 0 },
532 { NULL } },
533};
534
548 { "NFS Secure", "NFS server talks only on a secure port",
549 DMENU_SET_VARIABLE, (void *)"nfsServerSecure=yes", 0, 0 },
550 { "NFS Slow", "User is using a slow PC or ethernet card",
551 DMENU_SET_VARIABLE, (void *)"nfsSlowPC=yes", 0, 0 },
552 { "Extra Debugging", "Toggle the extra debugging flag",
553 DMENU_SET_VARIABLE, (void *)"debug=yes", 0, 0 },
554 { "No Debugging", "Turn the extra debugging flag off",
555 DMENU_SET_VARIABLE, (void *)"debug=no", 0, 0 },
556 { NULL } },
557};
558
535DMenu MenuInstallFtpOptions = {
536 DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS,
537 "Choose Ftp Options",
559DMenu MenuOptionsFTP = {
560 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
561 "Choose FTP Options",
538 "In case of ftp failure, how would you like this installation\n\
539to deal with it? You have one of several choices:",
540 NULL,
541 NULL,
562 "In case of ftp failure, how would you like this installation\n\
563to deal with it? You have one of several choices:",
564 NULL,
565 NULL,
542 { { "*Ftp Retry", "On transfer failure, retry same host",
566 { { "Ftp Retry", "On transfer failure, retry same host",
543 DMENU_SET_VARIABLE, (void *)"ftpRetryType=loop", 0, 0 },
544 { "Ftp Reselect", "On transfer failure, ask for another host",
545 DMENU_SET_VARIABLE, (void *)"ftpRetryType=reselect", 0, 0 },
546 { "Ftp Abort", "On transfer failure, abort installation",
547 DMENU_SET_VARIABLE, (void *)"ftpRetryType=abort", 0, 0 },
567 DMENU_SET_VARIABLE, (void *)"ftpRetryType=loop", 0, 0 },
568 { "Ftp Reselect", "On transfer failure, ask for another host",
569 DMENU_SET_VARIABLE, (void *)"ftpRetryType=reselect", 0, 0 },
570 { "Ftp Abort", "On transfer failure, abort installation",
571 DMENU_SET_VARIABLE, (void *)"ftpRetryType=abort", 0, 0 },
572 { "Ftp passive", "Use \"passive mode\" for firewalled ftp",
573 DMENU_SET_VARIABLE, (void *)"ftpPassive=yes", 0, 0 },
548 { NULL } },
549};
550
551/* The main installation menu */
552DMenu MenuInstall = {
553 DMENU_NORMAL_TYPE,
554 "Choose Installation Options", /* title */
555 "Before installation can continue, you need to specify a few items\n\
556of information regarding the type of distribution you wish to have\n\
557and from where you wish to install it. There are also a number\n\
558of options you can specify in the Options menu which will determine\n\
559how. You may choose install FreeBSD at this time, you may\n\
560select Cancel to leave this menu.",
574 { NULL } },
575};
576
577/* The main installation menu */
578DMenu MenuInstall = {
579 DMENU_NORMAL_TYPE,
580 "Choose Installation Options", /* title */
581 "Before installation can continue, you need to specify a few items\n\
582of information regarding the type of distribution you wish to have\n\
583and from where you wish to install it. There are also a number\n\
584of options you can specify in the Options menu which will determine\n\
585how. You may choose install FreeBSD at this time, you may\n\
586select Cancel to leave this menu.",
561 "You may also wish to read the install guide - press F1 to do so",
587 "Press F1 to read the installation guide",
562 "install.hlp",
563 { { "Distributions", "Choose the type of installation you want", /* T */
564 DMENU_SUBMENU, (void *)&MenuInstallType, 0, 0 },
565 { "Media", "Choose the installation media type", /* M */
566 DMENU_SUBMENU, (void *)&MenuMedia, 0, 0 },
588 "install.hlp",
589 { { "Distributions", "Choose the type of installation you want", /* T */
590 DMENU_SUBMENU, (void *)&MenuInstallType, 0, 0 },
591 { "Media", "Choose the installation media type", /* M */
592 DMENU_SUBMENU, (void *)&MenuMedia, 0, 0 },
567 { "Partition", "Go to the Disk Partition Editor", /* P */
593 { "Partition", "Go to the Disk Partition Editor", /* P */
568 DMENU_CALL, (void *)diskPartitionEditor, 0, 0 },
594 DMENU_CALL, (void *)diskPartitionEditor, 0, 0 },
569 { "Label", "Label the contents of disk partitions", /* L */
595 { "Label", "Label allocated disk partitions for FreeBSD", /* L */
570 DMENU_CALL, (void *)diskLabelEditor, 0, 0 },
596 DMENU_CALL, (void *)diskLabelEditor, 0, 0 },
571 { "GO!", "Start the whole show and go out for coffee!", /* P */
572 DMENU_CANCEL, (void *)NULL, 0, 0 },
597 { "Networking", "Configure any network interfaces", /* N */
598 DMENU_CALL, (void *)tcpOpenDialog, 0, 0 },
599 { "GO!", "Start the whole show and go out for coffee!", /* P */
600 DMENU_CALL, (void *)installCommit, 0, 0 },
573 { "Options", "Set special installation options", /* O */
574 DMENU_SUBMENU, (void *)&MenuOptions, 0, 0},
575 { NULL } },
576};
601 { "Options", "Set special installation options", /* O */
602 DMENU_SUBMENU, (void *)&MenuOptions, 0, 0},
603 { NULL } },
604};