1995-04-27 12:50:35 +00:00
|
|
|
/*
|
|
|
|
* The new sysinstall program.
|
|
|
|
*
|
|
|
|
* This is probably the last program in the `sysinstall' line - the next
|
|
|
|
* generation being essentially a complete rewrite.
|
|
|
|
*
|
1995-05-21 18:24:34 +00:00
|
|
|
* $Id: menus.c,v 1.23 1995/05/21 15:40:52 jkh Exp $
|
1995-04-27 12:50:35 +00:00
|
|
|
*
|
|
|
|
* Copyright (c) 1995
|
|
|
|
* Jordan Hubbard. All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer,
|
|
|
|
* verbatim and that no modifications are made prior to this
|
|
|
|
* point in the file.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
* 3. All advertising materials mentioning features or use of this software
|
|
|
|
* must display the following acknowledgement:
|
|
|
|
* This product includes software developed by Jordan Hubbard
|
|
|
|
* for the FreeBSD Project.
|
|
|
|
* 4. The name of Jordan Hubbard or the FreeBSD project may not be used to
|
|
|
|
* endorse or promote products derived from this software without specific
|
|
|
|
* prior written permission.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY JORDAN HUBBARD ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL JORDAN HUBBARD OR HIS PETS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "sysinstall.h"
|
|
|
|
|
|
|
|
/* All the system menus go here.
|
|
|
|
*
|
|
|
|
* Hardcoded things like version number strings will disappear from
|
|
|
|
* these menus just as soon as I add the code for doing inline variable
|
|
|
|
* expansion.
|
|
|
|
*/
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/* The initial installation menu */
|
1995-04-27 12:50:35 +00:00
|
|
|
DMenu MenuInitial = {
|
1995-04-29 19:33:06 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
1995-04-27 18:03:55 +00:00
|
|
|
"Welcome to FreeBSD 2.0.5!", /* title */
|
|
|
|
"This is the main menu of the FreeBSD installation system. Please\n\
|
1995-04-27 12:50:35 +00:00
|
|
|
select one of the options below by using the arrow keys or typing the\n\
|
|
|
|
first character of the option name you're interested in. Invoke an\n\
|
1995-05-04 23:36:23 +00:00
|
|
|
option by pressing enter. If you'd like a shell, press ESC", /* prompt */
|
1995-05-16 11:37:27 +00:00
|
|
|
"Press F1 for usage instructions", /* help line */
|
|
|
|
"usage.hlp", /* help file */
|
1995-05-16 02:53:31 +00:00
|
|
|
{ { "Usage", "Quick start - How to use this menu system.", /* U */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"usage.hlp", 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Doc", "More detailed documentation on FreeBSD.", /* D */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuDocumentation, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Language", "Set your preferred language.", /* L */
|
|
|
|
DMENU_SUBMENU, (void *)&MenuOptionsLanguage, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Options", "Select various options for this utility.", /* O */
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuOptions, 0, 0 },
|
1995-05-17 14:40:00 +00:00
|
|
|
{ "Proceed", "Go to the installation menu", /* P */
|
1995-05-16 11:37:27 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuInstall, 0, 0 },
|
1995-05-20 00:13:14 +00:00
|
|
|
{ "Quit", "Exit this installation utility", /* Q */
|
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-04-27 18:03:55 +00:00
|
|
|
};
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/* The main documentation menu */
|
1995-04-27 18:03:55 +00:00
|
|
|
DMenu MenuDocumentation = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"Documentation for FreeBSD 2.0.5", /* Title */
|
|
|
|
"If you are at all unsure about the configuration of your hardware\n\
|
1995-04-27 18:03:55 +00:00
|
|
|
or are looking to build a system specifically for FreeBSD, read the\n\
|
|
|
|
Hardware guide! New users should also read the Install document for\n\
|
|
|
|
a step-by-step tutorial on installing FreeBSD. For general information,\n\
|
|
|
|
consult the README file. If you're having other problems, you may find\n\
|
|
|
|
answers in the FAQ.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Confused? Press F1 for help.",
|
|
|
|
"usage.hlp", /* help file */
|
1995-05-16 11:37:27 +00:00
|
|
|
{ { "README", "Read this for a general description of FreeBSD", /* R */
|
1995-05-11 06:47:46 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"README", 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Hardware", "The FreeBSD survival guide for PC hardware.", /* H */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"hardware.hlp", 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Install", "A step-by-step guide to installing FreeBSD.", /* I */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"install.hlp", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Copyright", "The FreeBSD Copyright notices.", /* C */
|
1995-05-11 06:47:46 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"COPYRIGHT", 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Release", "The release notes for this version of FreeBSD.", /* R */
|
1995-05-20 13:36:44 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"RELNOTES", 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "FAQ", "Frequently Asked Questions about FreeBSD.", /* F */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_DISPLAY_FILE, (void *)"faq.hlp", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-04-27 18:03:55 +00:00
|
|
|
};
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/*
|
1995-05-10 07:45:00 +00:00
|
|
|
* The language selection menu.
|
|
|
|
*
|
1995-04-29 19:33:06 +00:00
|
|
|
* Note: The RADIO menus use a slightly different syntax. If an item
|
|
|
|
* name starts with `*', it's considered to be "ON" by default,
|
|
|
|
* otherwise off.
|
|
|
|
*/
|
1995-05-16 02:53:31 +00:00
|
|
|
DMenu MenuOptionsLanguage = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Natural language selection", /* title */
|
|
|
|
"Please specify the language you'd like to use by default.\n\n\
|
1995-05-01 21:56:32 +00:00
|
|
|
While almost all of the system's documentation is still written\n\
|
|
|
|
in english (and may never be translated), there are a few guides\n\
|
|
|
|
and types of system documentation that may be written in your\n\
|
1995-04-27 18:03:55 +00:00
|
|
|
preferred language. When such are found, they will be used instead\n\
|
1995-05-10 07:45:00 +00:00
|
|
|
of the english versions. This feature is nonetheless considered\n\
|
|
|
|
to be in experimental status at this time.", /* prompt */
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for more information", /* help line */
|
|
|
|
"language.hlp", /* help file */
|
1995-05-16 11:37:27 +00:00
|
|
|
{ { "Danish", "Danish language and character set (ISO-8859-1)", /* D */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Danish, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Dutch", "Dutch language and character set (ISO-8859-1)", /* D */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Dutch, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "English", "English language (system default)", /* E */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_English, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "French", "French language and character set (ISO-8859-1)", /* F */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_French, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "German", "German language and character set (ISO-8859-1)", /* G */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_German, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Italian", "Italian language and character set (ISO-8859-1)", /* I */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Italian, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Japanese", "Japanese language and default character set (romaji)", /* J */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Japanese, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Norwegian", "Norwegian language and character set (ISO-8859-1)", /* N */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Norwegian, 0, 0 },
|
1995-05-20 20:30:12 +00:00
|
|
|
{ "Russian", "Russian language and character set (KOI8-R)", /* R */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Russian, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Spanish", "Spanish language and character set (ISO-8859-1)", /* S */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Spanish, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Swedish", "Swedish language and character set (ISO-8859-1)", /* S */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)lang_set_Swedish, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-08 10:20:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuMediaCDROM = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a CDROM type",
|
|
|
|
"FreeBSD can be installed directly from a CDROM containing a valid\n\
|
1995-05-20 00:13:14 +00:00
|
|
|
FreeBSD 2.0.5 distribution. If you are seeing this menu it's because\n\
|
|
|
|
more than one CDROM drive on your system was found. Please select one\n\
|
|
|
|
of the following CDROM drives as your installation drive.",
|
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install.hlp",
|
|
|
|
{ { NULL } },
|
1995-05-08 10:20:56 +00:00
|
|
|
};
|
|
|
|
|
1995-05-16 11:37:27 +00:00
|
|
|
DMenu MenuMediaFloppy = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a Floppy drive",
|
1995-05-20 07:50:20 +00:00
|
|
|
"FreeBSD can be installed from floppy disk media, though\n\
|
|
|
|
not without some pain. You should have prepared your floppy\n\
|
|
|
|
distribution media using the DOS floppy install-set construction\n\
|
|
|
|
procedure (available on the FreeBSD CDROM or the net under the\n\
|
|
|
|
tools/dos directory) or have otherwise prepared a set of diskettes\n\
|
|
|
|
for each distribution that properly contains all the components of\n\
|
|
|
|
the distribution plus the extraction and checksumming scripts.",
|
1995-05-21 15:40:54 +00:00
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install.hlp",
|
|
|
|
{ { NULL } },
|
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuMediaDOS = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a DOS partition",
|
|
|
|
"FreeBSD can be installed directly from a DOS partition,\n\
|
|
|
|
assuming of course that you've copied the relevant distributions\n\
|
|
|
|
into your DOS partition before starting this installation. If\n\
|
|
|
|
such is not the case, then you should reboot DOS at this time\n\
|
|
|
|
and copy the distributions you want to install into a subdirectory\n\
|
|
|
|
on one of your DOS partitions. Otherwise, please select the\n\
|
|
|
|
DOS partition containing the FreeBSD distribution files.",
|
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install.hlp",
|
1995-05-20 10:33:14 +00:00
|
|
|
{ { NULL } },
|
1995-05-16 11:37:27 +00:00
|
|
|
};
|
|
|
|
|
1995-05-08 10:20:56 +00:00
|
|
|
DMenu MenuMediaFTP = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Please specify an FTP site",
|
1995-05-16 11:37:27 +00:00
|
|
|
"FreeBSD is distributed from a number of sites on the Internet. Please\n\
|
|
|
|
select the site closest to you or \"other\" if you'd like to specify another\n\
|
|
|
|
choice. Also note that not all sites carry every possible distribution!\n\
|
1995-05-17 14:40:00 +00:00
|
|
|
Distributions other than the basic user set are only guaranteed to be\n\
|
|
|
|
available from the Primary site.\n\n\
|
|
|
|
If the first site selected doesn't respond, try one of the alternates.\n\
|
|
|
|
You may also wish to investigate the Ftp options menu in case of trouble.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Select a site that's close!",
|
1995-05-21 15:40:54 +00:00
|
|
|
"install.hlp",
|
|
|
|
{ { "Primary Site", "ftp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.freebsd.org/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Secondary Site", "freefall.cdrom.com",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://freefall.cdrom.com/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Australia", "ftp.physics.usyd.edu.au",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.physics.usyd.edu.au/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Finland", "nic.funet.fi",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://nic.funet.fi/pub/unix/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "France", "ftp.ibp.fr",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.ibp.fr/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Germany", "ftp.uni-duisburg.de",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.uni-duisburg.de/pub/unix/FreeBSD/2.0.5-ALPHA", 0, },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Israel", "orgchem.weizmann.ac.il",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://orgchem.weizmann.ac.il/pub/FreeBSD-2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Japan", "ftp.sra.co.jp",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.sra.co.jp/pub/os/FreeBSD/distribution/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #2", "ftp.mei.co.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.mei.co.jp/free/PC-UNIX/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #3", "ftp.waseda.ac.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.waseda.ac.jp/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #4", "ftp.pu-toyama.ac.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.pu-toyama.ac.jp/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #5", "ftpsv1.u-aizu.ac.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftpsv1.u-aizu.ac.jp/pub/os/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #6", "tutserver.tutcc.tut.ac.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://tutserver.tutcc.tut.ac.jp/FreeBSD/FreeBSD-2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "Japan #7", "ftp.ee.uec.ac.jp",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.ee.uec.ac.jp/pub/os/FreeBSD.other/FreeBSD-2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Korea", "ftp.cau.ac.kr",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.cau.ac.kr/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Netherlands", "ftp.nl.net",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.nl.net/pub/os/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Russia", "ftp.kiae.su",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.kiae.su/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Sweden", "ftp.luth.se",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.luth.se/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Taiwan", "netbsd.csie.nctu.edu.tw",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://netbsd.csie.nctu.edu.tw/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Thailand", "ftp.nectec.or.th",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.nectec.or.th/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "UK", "ftp.demon.co.uk",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.demon.co.uk/pub/BSD/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "UK #2", "src.doc.ic.ac.uk",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://src.doc.ic.ac.uk/packages/unix/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "UK #3", "unix.hensa.ac.uk",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://unix.hensa.ac.uk/pub/walnut.creek/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "USA", "ref.tfs.com",
|
1995-05-21 15:40:54 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ref.tfs.com/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "USA #2", "ftp.dataplex.net",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.dataplex.net/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "USA #3", "kryten.atinc.com",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://kryten.atinc.com/pub/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
|
|
|
{ "USA #4", "ftp.neosoft.com",
|
|
|
|
DMENU_SET_VARIABLE, (void *)"ftp=ftp://ftp.neosoft.com/systems/FreeBSD/2.0.5-ALPHA", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } }
|
1995-04-27 12:50:35 +00:00
|
|
|
};
|
1995-04-27 18:03:55 +00:00
|
|
|
|
1995-05-21 15:40:54 +00:00
|
|
|
DMenu MenuMediaTape = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a tape drive type",
|
|
|
|
"FreeBSD can be installed from tape drive, though this installation\n\
|
|
|
|
method requires a certain amount of temporary storage in addition\n\
|
|
|
|
to the space required by the distribution itself (tape drives make\n\
|
|
|
|
poor random-access devices, so we extract _everything_ on the tape\n\
|
|
|
|
in one pass). If you have sufficient space for this, then you should\n\
|
|
|
|
select one of the following tape devices detected on your system.",
|
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install.hlp",
|
|
|
|
{ { NULL } },
|
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuNetworkDevice = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a network interface type",
|
1995-05-21 18:24:34 +00:00
|
|
|
"FreeBSD can be installed directly over a network, using NFS or FTP.\n
|
|
|
|
If you're using an ethernet card to talk to the world then setup is\n\
|
|
|
|
pretty straight-forward. If you are using PPP over a serial device\n\
|
|
|
|
(cuaa0 or cuaa1) then you may need to dial your service provider using\n\
|
|
|
|
a special PPP utility we provide for that purpose. You can also install\n\
|
|
|
|
over your parallel port using a special \"laplink\" cable, though this\n\
|
|
|
|
only works if you have another FreeBSD machine running a fairly recent\n\
|
|
|
|
(2.0R or later) release to talk to.\n\n\
|
|
|
|
To use PPP, select one of the serial devices, otherwise select lp0 for\n\
|
|
|
|
the parallel port or one of the ethernet controllers (if you have one)\n\
|
1995-05-21 15:40:54 +00:00
|
|
|
for an ethernet installation.",
|
|
|
|
"Press F1 to read PPP user manual",
|
|
|
|
"ppp.0",
|
|
|
|
{ { NULL } },
|
|
|
|
};
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/* The media selection menu */
|
1995-04-27 18:03:55 +00:00
|
|
|
DMenu MenuMedia = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose Installation Media",
|
|
|
|
"FreeBSD can be installed from a variety of different installation\n\
|
1995-05-01 21:56:32 +00:00
|
|
|
media, ranging from floppies to the Internet. If you're installing\n\
|
|
|
|
FreeBSD from a supported CDROM drive then this is generally the best\n\
|
|
|
|
method to use unless you have some overriding reason for using another\n\
|
1995-05-10 07:45:00 +00:00
|
|
|
method.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for more information on the various media types",
|
|
|
|
"media.hlp",
|
|
|
|
{ { "CDROM", "Install from a FreeBSD CDROM",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)mediaSetCDROM, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "DOS", "Install from a DOS partition",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)mediaSetDOS, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "File System", "Install from a UFS or NFS mounted distribution",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)mediaSetFS, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Floppy", "Install from a floppy disk set",
|
|
|
|
DMENU_CALL, (void *)mediaSetFloppy, 0, 0 },
|
|
|
|
{ "FTP", "Install from an Internet FTP server",
|
|
|
|
DMENU_CALL, (void *)mediaSetFTP, 0, 0 },
|
|
|
|
{ "Tape", "Install from SCSI or QIC tape",
|
|
|
|
DMENU_CALL, (void *)mediaSetTape, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-04-27 18:03:55 +00:00
|
|
|
};
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/* The installation type menu */
|
1995-04-27 18:03:55 +00:00
|
|
|
DMenu MenuInstallType = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose Installation Type",
|
1995-05-17 14:40:00 +00:00
|
|
|
"As a convenience, we provide several \"canned\" installation types.\n\
|
|
|
|
These select what we consider to be the most reasonable defaults for the\n\
|
1995-05-10 07:45:00 +00:00
|
|
|
type of system in question. If you would prefer to pick and choose\n\
|
1995-05-17 14:40:00 +00:00
|
|
|
the list of distributions yourself, simply select \"custom\".",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for more information on the various distributions",
|
|
|
|
"dist_types.hlp",
|
1995-05-19 16:58:58 +00:00
|
|
|
{ { "Developer", "Full sources, binaries and doc but no games [48MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetDeveloper, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "X-Developer", "Same as above, but includes XFree86 [73MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetXDeveloper, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "User", "Average user - binaries and doc but no sources [19MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetUser, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "X-User", "Same as above, but includes XFree86 [45MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetXUser, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Minimal", "The smallest configuration possible [15MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetMinimum, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Everything", "All sources, binaries and XFree86 binaries [80MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetEverything, 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Custom", "Specify your own distribution set [?]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuDistributions, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-01 21:56:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuDistributions = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select the distributions you wish to install.",
|
1995-05-16 11:37:27 +00:00
|
|
|
"Please check off the distributions you wish to install. Some\n
|
|
|
|
of the most generally useful distributions are already checked, and\n\
|
|
|
|
selecting OK at this stage will chose them as defaults.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for a more complete description of these distributions.",
|
|
|
|
"distribution_types.hlp",
|
1995-05-19 16:58:58 +00:00
|
|
|
{ { "*bin", "Binary base distribution (required) [15MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_BIN, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "commercial", "Commercial demos and shareware [10MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_COMMERCIAL, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "compat1x", "FreeBSD 1.x binary compatability package [2MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_COMPAT1X, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "compat20", "FreeBSD 2.0 binary compatability package [2MB]",
|
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_COMPAT20, 0 },
|
|
|
|
{ "DES", "DES encryption code and sources [.3MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_DES, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "dict", "Spelling checker disctionary files [1.3MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_DICT, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "games", "Games and other amusements (non-commercial) [2.8MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_GAMES, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "info", "GNU info files [1.2MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_INFO, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "*man", "System manual pages - strongly recommended [2.8MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_MANPAGES, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "proflibs", "Profiled versions of the libraries [.9MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&Dists, DIST_PROFLIBS, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "src", "Sources for everything but DES [25MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_CALL, (void *)distSetSrc, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "XFree86", "The XFree86 3.1.1L distribution [?]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuXF86, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuSrcDistributions = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select the sub-components of src you wish to install.",
|
|
|
|
"Please check off those portions of the FreeBSD source tree\n\
|
1995-05-19 16:58:58 +00:00
|
|
|
you wish to install.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for a more complete description of distributions.",
|
|
|
|
"distribution_types.hlp",
|
1995-05-19 16:58:58 +00:00
|
|
|
{ { "base", "top-level files in /usr/src [300K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_BASE, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "gnu", "/usr/src/gnu (software from the GNU Project) [42MB]]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_GNU, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "etc", "/usr/src/etc (miscellaneous system files) [460K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_ETC, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "games", "/usr/src/games (diversions) [7.8MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_GAMES, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "include", "/usr/src/include (header files) [467K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_INCLUDE, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "lib", "/usr/src/lib (system libraries) [9.2MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_LIB, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "libexec", "/usr/src/libexec (system programs) [1.2MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_LIBEXEC, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "lkm", "/usr/src/lkm (Loadable Kernel Modules) [193K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_LKM, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "release", "/usr/src/release (release-generation tools) [533K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_RELEASE, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "sbin", "/usr/src/sbin (system binaries) [1.3MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_SBIN, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "share", "/usr/src/share (documents and shared files) [10MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_SHARE, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "sys", "/usr/src/sys (FreeBSD kernel) [13MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_SYS, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "ubin", "/usr/src/usr.bin (user binaries) [13MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_UBIN, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "usbin", "/usr/src/usr.sbin (aux system binaries) [14MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_USBIN, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "XFree86", "XFree86 3.1.1L source + contrib distribution [200MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&SrcDists, DIST_SRC_XF86, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86 = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"XFree86 3.1.1u1 Distribution",
|
|
|
|
"Welcome to the XFree86 3.1.1u1 distribution from The XFree86\n\
|
1995-05-11 06:10:56 +00:00
|
|
|
Project, Inc. Our recommended sequence is to Select the desired\n\
|
|
|
|
release components, Configure XFree86 and then (optionally)\n\
|
|
|
|
Start it up!",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
|
|
|
"XFree86.hlp",
|
|
|
|
{ { "Select", "Select and load components of the XFree86 distribution",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, &MenuXF86Select, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Configure", "Configure an installed XFree86 distribution",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SYSTEM_COMMAND, "PATH=/usr/bin:/bin:/usr/X11R6/bin xf86config",
|
|
|
|
0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Start", "Try to start the server up",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SYSTEM_COMMAND, "PATH=/usr/bin:/bin:/usr/X11R6/bin startx",
|
|
|
|
0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } }
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86Select = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"XFree86 3.1.1u1 Distribution",
|
|
|
|
"Please select the components you need from the XFree86 3.1.1u1\n\
|
1995-05-17 14:40:00 +00:00
|
|
|
distribution. We recommend that you select what you need from the basic\n\
|
|
|
|
components set and at least one entry from the Server and Font set menus.\n\n\
|
|
|
|
When you're finished, select Cancel.",
|
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
|
|
|
"XF86S.hlp",
|
|
|
|
{ { "Basic", "Basic component menu (required)",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectCore, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Server", "X server menu",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectServer, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Fonts", "Font set menu",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectFonts, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectCore = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"XFree86 3.1.1 base distribution types",
|
|
|
|
"Please check off the basic XFree86 components you wish to install.\n\
|
1995-05-11 06:10:56 +00:00
|
|
|
Those deemed most generally useful are already checked off for you.",
|
1995-05-16 02:53:31 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { "*bin", "X client applications and shared libs [4MB].",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_BIN, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "*lib", "Data files needed at runtime [600K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_LIB, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "xicf", "Customizable xinit runtime configuration file [100K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_XINIT, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "xdcf", "Customizable xdm runtime configuration file [100K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_XDMCF, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "doc", "READMEs and XFree86 specific man pages [500K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_DOC, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "*man", "Man pages (except XFree86 specific ones) [1.2MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_MAN, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "prog", "Programmer's header and library files [4MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_PROG, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "link", "X Server reconfiguration kit [7.8MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_LINK, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "pex", "PEX fonts and libs needed by PEX apps [500K]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86Dists, DIST_XF86_PEX, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectFonts = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Font distribution selection.",
|
|
|
|
"Please check off the individual font distributions you wish to\n\
|
1995-05-20 07:50:20 +00:00
|
|
|
install. At the minimum, you should install the standard\n\
|
|
|
|
75 DPI and misc fonts if you're also installing a server\n\
|
|
|
|
(these are selected by default).",
|
1995-05-16 02:53:31 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { "*fnts", "Standard 75 DPI and miscellaneous fonts [3.6MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86FontDists, DIST_XF86_FONTS_MISC, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "f100", "100 DPI fonts [1.8MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86FontDists, DIST_XF86_FONTS_100, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "fscl", "Speedo and Type scalable fonts [1.6MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86FontDists, DIST_XF86_FONTS_SCALE, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "non", "Japanese, Chinese and other non-english fonts [3.3MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86FontDists, DIST_XF86_FONTS_NON, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "server", "Font server [0.3MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86FontDists, DIST_XF86_FONTS_SERVER, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectServer = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"X Server selection.",
|
|
|
|
"Please check off the types of X servers you wish to install.\n\
|
1995-05-20 07:50:20 +00:00
|
|
|
If you are unsure as to which server will work for your graphics card,\n\
|
1995-05-11 06:10:56 +00:00
|
|
|
it is recommended that try the SVGA or VGA16 servers (the VGA16 and\n\
|
1995-05-20 07:50:20 +00:00
|
|
|
Mono servers are particularly well-suited to most LCD displays).",
|
1995-05-16 02:53:31 +00:00
|
|
|
"xservers.hlp",
|
|
|
|
"Press F1 for more information on the various X server types",
|
1995-05-19 16:58:58 +00:00
|
|
|
{ { "*SVGA", "Standard VGA or Super VGA display [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_SVGA, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "VGA16", "Standard 16 color VGA display [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_VGA16, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Mono", "Standard Monochrome display [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_MONO, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "8514", "8-bit (256 color) IBM 8514 or compatible card [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_8514, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "AGX", "8-bit AGX card [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_AGX, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Mch3", "8 and 16-bit (65K color) for ATI Mach32 card [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_MACH32, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "Mch8", "8-bit ATI Mach8 card [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_MACH8, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "P9K", "8, 16, and 24-bit color for Weitek P9000 based boards [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_P9000, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "S3", "8, 16 and 24-bit color for S3 based boards [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_S3, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "W32", "8-bit Color for ET4000/W32, /W32i and /W32p cards [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_W32, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "nest", "A nested server for testing purposes [1MB]",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_FLAG, (void *)&XF86ServerDists, DIST_XF86_SERVER_NEST, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-04-27 18:03:55 +00:00
|
|
|
};
|
|
|
|
|
1995-05-01 21:56:32 +00:00
|
|
|
DMenu MenuDiskDevices = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select Drive(s)",
|
|
|
|
"Please select the drive, or drives, on which you wish to install\n\
|
1995-05-01 21:56:32 +00:00
|
|
|
FreeBSD. You need to select at least one drive containing some free\n\
|
|
|
|
space, though FreeBSD can be installed across several drives if you do\n\
|
|
|
|
not have the required space on a single drive. If you wish to boot\n\
|
1995-05-04 03:51:22 +00:00
|
|
|
off a drive that's not a `zero drive', or have multiple operating\n\
|
|
|
|
systems on your machine, you will have the option to install a boot\n\
|
|
|
|
manager later.",
|
1995-05-16 02:53:31 +00:00
|
|
|
"Press F1 for more information on what you see here.",
|
|
|
|
"drives.hlp",
|
|
|
|
{ { NULL } },
|
1995-05-08 10:20:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* The installation options menu */
|
1995-05-16 02:53:31 +00:00
|
|
|
DMenu MenuOptions = {
|
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"Choose Installation Options",
|
|
|
|
"This menu controls how the FreeBSD installation will deal with various\n\
|
1995-05-17 14:40:00 +00:00
|
|
|
error conditions (should they arise), the default language used for\n\
|
|
|
|
documentation, etc.\n\n\
|
|
|
|
When you're done setting options, please select Cancel.",
|
1995-05-16 02:53:31 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { "Ftp Options", "Ftp options menu",
|
1995-05-16 11:37:27 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuOptionsFTP, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "NFS Secure", "NFS server talks only on a secure port",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"nfsServerSecure=yes", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "NFS Slow", "User is using a slow PC or ethernet card",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"nfsSlowPC=yes", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Extra Debugging", "Toggle the extra debugging flag",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"debug=yes", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "No Debugging", "Turn the extra debugging flag off",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"debug=no", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-10 07:45:00 +00:00
|
|
|
};
|
|
|
|
|
1995-05-16 11:37:27 +00:00
|
|
|
DMenu MenuOptionsFTP = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose FTP Options",
|
1995-05-21 15:40:54 +00:00
|
|
|
"Please indicate how you would like FTP to deal with potential error\n\
|
|
|
|
conditions, the default behavior being to Abort on transfer errors. If you\n\
|
|
|
|
are behind an IP firewall, you will also probably wish to select passive\n\
|
|
|
|
mode transfers (it's generally OK to set this in any case as almost all\n\
|
|
|
|
servers support it, firewall or no).",
|
1995-05-16 02:53:31 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
1995-05-19 16:58:58 +00:00
|
|
|
{ { "FTP Retry", "On transfer failure, retry same host",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftpRetryType=loop", 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "FTP Reselect", "On transfer failure, ask for another host",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftpRetryType=reselect", 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "FTP Abort", "On transfer failure, abort installation",
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftpRetryType=abort", 0, 0 },
|
1995-05-19 16:58:58 +00:00
|
|
|
{ "FTP passive", "Use \"passive mode\" for firewalled FTP",
|
1995-05-16 11:37:27 +00:00
|
|
|
DMENU_SET_VARIABLE, (void *)"ftpPassive=yes", 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-05-01 21:56:32 +00:00
|
|
|
};
|
|
|
|
|
1995-04-29 19:33:06 +00:00
|
|
|
/* The main installation menu */
|
1995-04-27 18:03:55 +00:00
|
|
|
DMenu MenuInstall = {
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"Choose Installation Options", /* title */
|
1995-05-17 14:40:00 +00:00
|
|
|
"Before installation can continue, you need to specify a few\n\
|
|
|
|
details on the type of distribution you wish to have, where you wish\n\
|
|
|
|
to install it from, and how you wish to allocate disk storage to FreeBSD\n\
|
|
|
|
None of the items in this menu will actually modify the contents of\n\
|
|
|
|
your disk until you select the \"GO!\" menu item (and even then, only\n\
|
|
|
|
after a final confirmation). If you do not wish to install FreeBSD\n\
|
|
|
|
at this time then select Cancel to leave this menu.",
|
1995-05-16 11:37:27 +00:00
|
|
|
"Press F1 to read the installation guide",
|
1995-05-16 02:53:31 +00:00
|
|
|
"install.hlp",
|
|
|
|
{ { "Distributions", "Choose the type of installation you want", /* T */
|
1995-05-10 07:45:00 +00:00
|
|
|
DMENU_SUBMENU, (void *)&MenuInstallType, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ "Media", "Choose the installation media type", /* M */
|
|
|
|
DMENU_SUBMENU, (void *)&MenuMedia, 0, 0 },
|
1995-05-18 09:02:06 +00:00
|
|
|
{ "Partition", "Allocate disk space for FreeBSD", /* P */
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_CALL, (void *)diskPartitionEditor, 0, 0 },
|
1995-05-18 09:02:06 +00:00
|
|
|
{ "Label", "Label allocated disk partitions", /* L */
|
1995-05-16 02:53:31 +00:00
|
|
|
DMENU_CALL, (void *)diskLabelEditor, 0, 0 },
|
1995-05-16 11:37:27 +00:00
|
|
|
{ "Networking", "Configure any network interfaces", /* N */
|
|
|
|
DMENU_CALL, (void *)tcpOpenDialog, 0, 0 },
|
|
|
|
{ "GO!", "Start the whole show and go out for coffee!", /* P */
|
|
|
|
DMENU_CALL, (void *)installCommit, 0, 0 },
|
1995-05-16 02:53:31 +00:00
|
|
|
{ NULL } },
|
1995-04-27 18:03:55 +00:00
|
|
|
};
|
1995-05-20 20:30:12 +00:00
|
|
|
|
|
|
|
/* MBR type menu */
|
|
|
|
DMenu MenuMBRType = {
|
|
|
|
DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Chose boot manager type", /* title */
|
|
|
|
"FreeBSD comes with a boot selector that allows you to easily\n\
|
|
|
|
select between FreeBSD and other operating systems on your machine\n\
|
|
|
|
at boot time. If you have more than one drive and wish to boot\n\
|
|
|
|
from other than the first, the boot selector will also allow you\n\
|
|
|
|
to do so (limitations in the PC boot-BIOS usually prevent this\n\
|
|
|
|
otherwise). If you do not want a boot selector, or wish to replace\n\
|
|
|
|
an existing one, select \"standard\". If you would prefer your master\n\
|
|
|
|
boot record to be untouched, then select \"none\".",
|
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install.hlp",
|
|
|
|
{ { "BootMgr", "Install the FreeBSD Boot Manager (\"Booteasy\")", /* B */
|
|
|
|
DMENU_SET_VARIABLE, (void *)"bootManager=bteasy", 0, 0 },
|
|
|
|
{ "Standard", "Use a standard MBR (no boot manager)", /* S */
|
|
|
|
DMENU_SET_VARIABLE, (void *)"bootManager=mbr", 0, 0 },
|
|
|
|
{ "None", "Leave the Master Boot Record untouched", /* N */
|
|
|
|
DMENU_CALL, (void *)diskPartitionEditor, 0, 0 },
|
|
|
|
{ NULL } },
|
|
|
|
};
|