1995-04-27 13:50:35 +01:00
|
|
|
/*
|
|
|
|
* The new sysinstall program.
|
|
|
|
*
|
|
|
|
* This is probably the last program in the `sysinstall' line - the next
|
|
|
|
* generation being essentially a complete rewrite.
|
|
|
|
*
|
1996-04-03 07:55:09 +01:00
|
|
|
* $Id: menus.c,v 1.47 1996/03/30 16:19:40 jkh Exp $
|
1995-04-27 13:50:35 +01: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
|
1995-05-30 09:29:07 +01:00
|
|
|
* notice, this list of conditions and the following disclaimer,
|
|
|
|
* verbatim and that no modifications are made prior to this
|
1995-04-27 13:50:35 +01:00
|
|
|
* 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 20:33:06 +01:00
|
|
|
/* The initial installation menu */
|
1995-04-27 13:50:35 +01:00
|
|
|
DMenu MenuInitial = {
|
1995-04-29 20:33:06 +01:00
|
|
|
DMENU_NORMAL_TYPE,
|
1995-12-07 10:34:59 +00:00
|
|
|
"Welcome to FreeBSD!", /* title */
|
1995-04-27 19:03:55 +01:00
|
|
|
"This is the main menu of the FreeBSD installation system. Please\n\
|
1995-04-27 13:50:35 +01: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-06-11 20:33:05 +01:00
|
|
|
option by pressing [ENTER].", /* prompt */
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 for usage instructions", /* help line */
|
|
|
|
"usage", /* help file */
|
|
|
|
{ { "Usage", "Quick start - How to use this menu system", /* U */
|
|
|
|
DMENU_DISPLAY_FILE, "usage", 0, 0 },
|
|
|
|
{ "Doc", "More detailed documentation on FreeBSD", /* D */
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuDocumentation, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Options", "Go to options editor", /* O */
|
|
|
|
DMENU_CALL, optionsEditor, 0, 0 },
|
|
|
|
{ "Novice", "Begin a novice installation (for beginners)", /* N */
|
|
|
|
DMENU_CALL, installNovice, 0, 0 },
|
|
|
|
{ "Express", "Begin a quick installation (for the impatient)", /* E */
|
|
|
|
DMENU_CALL, installExpress, 0, 0 },
|
|
|
|
{ "Custom", "Begin a custom installation (for experts)", /* C */
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuInstallCustom, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Fixit", "Mount fixit floppy and go into repair mode", /* F */
|
|
|
|
DMENU_CALL, installFixit, 0, 0 },
|
|
|
|
{ "Upgrade", "Upgrade an existing 2.0.5 system", /* U */
|
|
|
|
DMENU_CALL, installUpgrade, 0, 0 },
|
|
|
|
{ "Configure", "Do post-install configuration of FreeBSD", /* C (dup) */
|
|
|
|
DMENU_SUBMENU, &MenuConfigure, 0, 0 },
|
|
|
|
{ "Quit", "Exit this menu (and the installation)", /* Q */
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Load", "Load a pre-configuration file from floppy",
|
|
|
|
DMENU_CALL, installPreconfig, 0, },
|
|
|
|
{ NULL } },
|
1995-04-27 19:03:55 +01:00
|
|
|
};
|
|
|
|
|
1995-04-29 20:33:06 +01:00
|
|
|
/* The main documentation menu */
|
1995-04-27 19:03:55 +01:00
|
|
|
DMenu MenuDocumentation = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"Documentation for FreeBSD " RELEASE_NAME, /* Title */
|
|
|
|
"If you are at all unsure about the configuration of your hardware\n\
|
1995-04-27 19:03:55 +01: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\
|
1995-06-11 20:33:05 +01:00
|
|
|
consult the README file.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Confused? Press F1 for help.",
|
|
|
|
"usage",
|
|
|
|
{ { "README", "Read this for a general description of FreeBSD",
|
|
|
|
DMENU_DISPLAY_FILE, "readme", 0, 0 },
|
|
|
|
{ "Hardware", "The FreeBSD survival guide for PC hardware.",
|
|
|
|
DMENU_DISPLAY_FILE, "hardware", 0, 0 },
|
|
|
|
{ "Install", "A step-by-step guide to installing FreeBSD.",
|
|
|
|
DMENU_DISPLAY_FILE, "install", 0, 0 },
|
|
|
|
{ "Copyright", "The FreeBSD Copyright notices.",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_DISPLAY_FILE, "COPYRIGHT", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Release", "The release notes for this version of FreeBSD.",
|
|
|
|
DMENU_DISPLAY_FILE, "relnotes", 0, 0 },
|
|
|
|
{ "HTML Docs", "Go to the HTML documentation menu (post-install).",
|
|
|
|
DMENU_CALL, docBrowser, 0, 0 },
|
|
|
|
{ "Exit", "Exit this menu (returning to previous)",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuMouse = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Please select your mouse type from the following menu",
|
|
|
|
"There are many different types of mice currently on the market,\n\
|
|
|
|
but this configuration menu should at least narrow down the choices\n\
|
|
|
|
somewhat. Once you've selected one of the below, you can specify\n\
|
|
|
|
/dev/mouse as your mouse device when running the XFree86 configuration\n\
|
|
|
|
utility (see Configuration menu). Please note that for PS/2 mice,\n\
|
|
|
|
a kernel recompile is also required! See the handbook for more details\n\
|
|
|
|
on building a kernel.",
|
|
|
|
"For more information, visit the Documentation menu",
|
|
|
|
NULL,
|
|
|
|
{ { "COM1", "Serial mouse on COM1",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/cuaa0 /dev/mouse", 0, 0 },
|
|
|
|
{ "COM2", "Serial mouse on COM2",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/cuaa1 /dev/mouse", 0, 0 },
|
|
|
|
{ "COM3", "Serial mouse on COM3",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/cuaa2 /dev/mouse", 0, 0 },
|
|
|
|
{ "COM4", "Serial mouse on COM4",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/cuaa3 /dev/mouse", 0, 0 },
|
|
|
|
{ "BusMouse", "Logitech or ATI bus mouse",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/mse0 /dev/mouse", 0, 0 },
|
|
|
|
{ "PS/2", "PS/2 style mouse (requires new kernel)",
|
|
|
|
DMENU_SYSTEM_COMMAND, "ln -fs /dev/psm0 /dev/mouse", 0, 0 },
|
|
|
|
{ NULL } },
|
1995-05-08 11:20:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuMediaCDROM = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a CDROM type",
|
|
|
|
"FreeBSD can be installed directly from a CDROM containing a valid\n\
|
|
|
|
FreeBSD distribution. If you are seeing this menu it is because\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
more than one CDROM drive was found on your system. Please select one\n\
|
1995-05-20 01:13:14 +01:00
|
|
|
of the following CDROM drives as your installation drive.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install",
|
|
|
|
{ { NULL } },
|
1995-05-08 11:20:56 +01:00
|
|
|
};
|
|
|
|
|
1995-05-16 12:37:27 +01:00
|
|
|
DMenu MenuMediaFloppy = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a Floppy drive",
|
1995-06-11 20:33:05 +01:00
|
|
|
"You have more than one floppy drive. Please chose the drive\n\
|
|
|
|
you would like to use for this operation",
|
1995-12-07 10:34:59 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { NULL } },
|
1995-05-21 16:40:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuMediaDOS = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a DOS partition",
|
1995-06-11 20:33:05 +01:00
|
|
|
"FreeBSD can be installed directly from a DOS partition\n\
|
|
|
|
assuming, of course, that you have copied the relevant\n\
|
|
|
|
distributions into your DOS partition before starting this\n\
|
|
|
|
installation. If this is not the case then you should reboot\n\
|
|
|
|
DOS at this time and copy the distributions you wish to install\n\
|
|
|
|
into a \"FREEBSD\" subdirectory on one of your DOS partitions.\n\
|
|
|
|
Otherwise, please select the DOS partition containing the FreeBSD\n\
|
|
|
|
distribution files.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install",
|
|
|
|
{ { NULL } },
|
1995-05-16 12:37:27 +01:00
|
|
|
};
|
|
|
|
|
1995-05-08 11:20:56 +01:00
|
|
|
DMenu MenuMediaFTP = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Please select a FreeBSD FTP distribution site",
|
|
|
|
"Please select the site closest to you or \"other\" if you'd like to\n\
|
|
|
|
specify a different choice. Also note that not every site listed here\n\
|
|
|
|
carries more than the base distribution kits. Only the Primary site is\n\
|
|
|
|
guaranteed to carry the full range of possible distributions.",
|
|
|
|
"Select a site that's close!",
|
|
|
|
"install",
|
|
|
|
{ { "Primary Site", "ftp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Other", "Specify some other ftp site by URL",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=other", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Australia", "ftp.au.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.au.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Australia #2", "ftp2.au.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.au.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Australia #3", "ftp3.au.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.au.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Australia #4", "ftp4.au.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp4.au.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Brazil", "ftp.br.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.br.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Brazil #2", "ftp2.br.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.br.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Brazil #3", "ftp3.br.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.br.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Brazil #4", "ftp4.br.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp4.br.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Brazil #5", "ftp5.br.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp5.br.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Canada", "ftp.ca.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.ca.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Czech Republic", "sunsite.mff.cuni.cz",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://sunsite.mff.cuni.cz/OS/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Finland", "nic.funet.fi",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://nic.funet.fi/pub/unix/FreeBSD/", 0, 0 },
|
|
|
|
{ "France", "ftp.ibp.fr",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.ibp.fr/pub/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Germany", "ftp.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #2", "ftp2.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #3", "ftp3.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #4", "ftp4.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp4.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #5", "ftp5.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp5.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #6", "ftp6.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp6.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Germany #7", "ftp7.de.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp7.de.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Hong Kong", "ftp.hk.super.net",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.hk.super.net/pub/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Ireland", "ftp.ie.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.ie.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Israel", "orgchem.weizmann.ac.il",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://orgchem.weizmann.ac.il/pub/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Israel #2", "xray4.weizmann.ac.il",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://xray4.weizmann.ac.il/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan", "ftp.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan #2", "ftp2.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan #3", "ftp3.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan #4", "ftp4.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp4.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan #5", "ftp5.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp5.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Japan #6", "ftp6.jp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp6.jp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Korea", "ftp.kr.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.kr.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "Korea #2", "ftp2.kr.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.kr.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Netherlands", "ftp.nl.net",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.nl.net/pub/os/FreeBSD/", 0, 0 },
|
|
|
|
{ "Poland", "SunSITE.icm.edu.pl",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://SunSITE.icm.edu.pl/pub/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Portugal", "ftp.ua.pt",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.ua.pt/pub/misc/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Russia", "ftp.kiae.su",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.kiae.su/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "South Africa", "ftp.za.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.za.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "South Africa #2", "ftp2.za.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.za.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Sweden", "ftp.luth.se",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.luth.se/pub/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "Taiwan", "ftp.tw.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.tw.freebsd.org/pub/FreeBSD", 0, 0 },
|
1996-04-03 07:55:09 +01:00
|
|
|
{ "Taiwan #2", "ftp2.tw.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.tw.freebsd.org/pub/FreeBSD", 0, 0 },
|
|
|
|
{ "Taiwan #3", "ftp3.tw.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.tw.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Thailand", "ftp.nectec.or.th",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.nectec.or.th/pub/mirrors/FreeBSD/", 0, 0 },
|
1996-03-21 06:32:48 +00:00
|
|
|
{ "UK", "ftp.uk.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.uk.freebsd.org/pub/BSD/FreeBSD/", 0, 0 },
|
|
|
|
{ "UK #2", "ftp2.uk.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org/pub/BSD/FreeBSD/", 0, 0 },
|
|
|
|
{ "UK #3", "ftp3.uk.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org/pub/BSD/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA", "ftp.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #2", "ftp2.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp2.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #3", "ftp3.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp3.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #4", "ftp4.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp4.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #5", "ftp5.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp5.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #6", "ftp6.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp6.freebsd.org/pub/FreeBSD/", 0, 0 },
|
|
|
|
{ "USA #7", "ftp7.freebsd.org",
|
|
|
|
DMENU_SET_VARIABLE, VAR_FTP_PATH "=ftp://ftp7.freebsd.org/pub/FreeBSD/", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } }
|
1995-04-27 13:50:35 +01:00
|
|
|
};
|
1995-04-27 19:03:55 +01:00
|
|
|
|
1995-05-21 16:40:54 +01:00
|
|
|
DMenu MenuMediaTape = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose a tape drive type",
|
|
|
|
"FreeBSD can be installed from tape drive, though this installation\n\
|
1995-05-21 16:40:54 +01:00
|
|
|
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.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 to read the installation guide",
|
|
|
|
"install",
|
|
|
|
{ { NULL } },
|
1995-05-21 16:40:54 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuNetworkDevice = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Network interface information required",
|
|
|
|
"If you are using PPP over a serial device (cuaa0 or cuaa1) as opposed\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
to a direct ethernet connection, then you may first need to dial your\n\
|
|
|
|
service provider using the ppp utility we provide for that purpose.\n\
|
1995-05-24 18:49:20 +01:00
|
|
|
You can also install over a parallel port using a special \"laplink\"\n\
|
|
|
|
cable, though this only works if you have another FreeBSD machine running\n\
|
|
|
|
a fairly recent (2.0R or later) release to talk to.\n\n\
|
1995-12-07 10:34:59 +00:00
|
|
|
To use PPP, select one of the serial devices, otherwise select lp0 for\n\
|
1995-05-21 19:24:34 +01:00
|
|
|
the parallel port or one of the ethernet controllers (if you have one)\n\
|
1995-05-21 16:40:54 +01:00
|
|
|
for an ethernet installation.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 to read network configuration manual",
|
|
|
|
"network_device",
|
|
|
|
{ { NULL } },
|
1995-05-21 16:40:54 +01:00
|
|
|
};
|
|
|
|
|
1995-04-29 20:33:06 +01:00
|
|
|
/* The media selection menu */
|
1995-04-27 19:03:55 +01:00
|
|
|
DMenu MenuMedia = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"Choose Installation Media",
|
|
|
|
"FreeBSD can be installed from a variety of different installation\n\
|
|
|
|
media, ranging from floppies to an Internet FTP server. If you're\n\
|
|
|
|
installing FreeBSD from a supported CDROM drive then this is generally\n\
|
|
|
|
the best media to use if you have no overriding reason for using other\n\
|
1995-09-18 17:53:06 +01:00
|
|
|
media.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 for more information on the various media types",
|
|
|
|
"media",
|
|
|
|
{ { "CDROM", "Install from a FreeBSD CDROM",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, mediaSetCDROM, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "DOS", "Install from a DOS partition",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, mediaSetDOS, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "File System", "Install from an existing filesystem",
|
1995-05-29 12:01:42 +01:00
|
|
|
DMENU_CALL, mediaSetUFS, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Floppy", "Install from a floppy disk set",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, mediaSetFloppy, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "FTP", "Install from an FTP server",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CALL, mediaSetFTPActive, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "FTP Passive", "Install from an FTP server through a firewall",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CALL, mediaSetFTPPassive, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "NFS", "Install over NFS",
|
1995-05-29 12:01:42 +01:00
|
|
|
DMENU_CALL, mediaSetNFS, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Tape", "Install from SCSI or QIC tape",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, mediaSetTape, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-04-27 19:03:55 +01:00
|
|
|
};
|
|
|
|
|
1995-12-07 10:34:59 +00:00
|
|
|
/* The distributions menu */
|
|
|
|
DMenu MenuDistributions = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Choose Distributions",
|
|
|
|
"As a convenience, we provide several \"canned\" distribution sets.\n\
|
1995-05-17 15:40:00 +01:00
|
|
|
These select what we consider to be the most reasonable defaults for the\n\
|
1995-05-10 08:45:00 +01:00
|
|
|
type of system in question. If you would prefer to pick and choose\n\
|
1995-12-07 10:34:59 +00:00
|
|
|
the list of distributions yourself, simply select \"Custom\".",
|
|
|
|
"Press F1 for more information on these options.",
|
|
|
|
"distributions",
|
|
|
|
{ { "Developer", "Full sources, binaries and doc but no games [180MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetDeveloper, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "X-Developer", "Same as above, but includes XFree86 [201MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetXDeveloper, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Kern-Developer", "Full binaries and doc, kernel sources only [70MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CALL, distSetKernDeveloper, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "User", "Average user - binaries and doc but no sources [52MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetUser, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "X-User", "Same as above, but includes XFree86 [52MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetXUser, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Minimal", "The smallest configuration possible [44MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetMinimum, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Everything", "All sources, binaries and XFree86 binaries [700MB]",
|
1995-05-24 18:49:20 +01:00
|
|
|
DMENU_CALL, distSetEverything, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Custom", "Specify your own distribution set [?]",
|
|
|
|
DMENU_SUBMENU, &MenuSubDistributions, 0, 0 },
|
|
|
|
{ "Clear", "Reset selected distribution list to None",
|
1995-05-25 19:48:33 +01:00
|
|
|
DMENU_CALL, distReset, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-05-01 22:56:32 +01:00
|
|
|
};
|
|
|
|
|
1995-06-11 20:33:05 +01:00
|
|
|
static char *
|
|
|
|
DESFlagCheck(DMenuItem *item)
|
|
|
|
{
|
|
|
|
return (Dists & DIST_DES) ? "ON" : "OFF";
|
|
|
|
}
|
|
|
|
|
|
|
|
static char *
|
|
|
|
srcFlagCheck(DMenuItem *item)
|
|
|
|
{
|
|
|
|
return (Dists & DIST_SRC) ? "ON" : "OFF";
|
|
|
|
}
|
|
|
|
|
|
|
|
static char *
|
|
|
|
x11FlagCheck(DMenuItem *item)
|
|
|
|
{
|
|
|
|
return (Dists & DIST_XF86) ? "ON" : "OFF";
|
|
|
|
}
|
|
|
|
|
1995-12-07 10:34:59 +00:00
|
|
|
DMenu MenuSubDistributions = {
|
1995-05-16 03:53:31 +01:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select the distributions you wish to install.",
|
1995-06-11 20:33:05 +01:00
|
|
|
"Please check off the distributions you wish to install. At the\n\
|
|
|
|
very minimum, this should be \"bin\". WARNING: Do not export the\n\
|
|
|
|
DES distribution out of the U.S.! It is for U.S. customers only.",
|
1995-05-29 12:58:16 +01:00
|
|
|
NULL,
|
|
|
|
NULL,
|
1995-12-07 10:34:59 +00:00
|
|
|
{ { "bin", "Binary base distribution (required) [36MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_BIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "commercial", "Commercial demos and shareware [10MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_COMMERCIAL, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "compat1x", "FreeBSD 1.x binary compatibility package [2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_COMPAT1X, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "compat20", "FreeBSD 2.0 binary compatibility package [2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_COMPAT20, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "DES", "DES encryption code - NOT FOR EXPORT! [.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CALL, distSetDES, 0, 0, DESFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "dict", "Spelling checker dictionary files [4.2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_DICT, 0, dmenuFlagCheck },
|
1996-02-02 06:44:02 +00:00
|
|
|
{ "doc", "FreeBSD Handbook and other online docs [10MB]",
|
|
|
|
DMENU_SET_FLAG, &Dists, DIST_DOC, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "games", "Games (non-commercial) [6.4MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_GAMES, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "info", "GNU info files [4.1MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_INFO, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "man", "System manual pages - recommended [3.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_MANPAGES, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "proflibs", "Profiled versions of the libraries [3.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_PROFLIBS, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "src", "Sources for everything but DES [120MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CALL, distSetSrc, 0, 0, srcFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "XFree86", "The XFree86 3.1.2-S distribution",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CALL, distSetXF86, 0, 0, x11FlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Experimental", "Work in progress!",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &Dists, DIST_EXPERIMENTAL, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-05-10 08:45:00 +01:00
|
|
|
};
|
|
|
|
|
1995-06-11 20:33:05 +01:00
|
|
|
DMenu MenuDESDistributions = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select the encryption facilities you wish to install.",
|
|
|
|
"Please check off any special DES-based encryption distributions\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
you would like to install. Please note that these services are NOT FOR\n\
|
|
|
|
EXPORT from the United States, nor are they available on CDROM (for the\n\
|
|
|
|
same reason). For information on non-U.S. FTP distributions of this\n\
|
|
|
|
software, please consult the release notes.",
|
1995-12-07 10:34:59 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { "des", "Basic DES services (rlogin, init, etc) [1MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &DESDists, DIST_DES_DES, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "krb", "Kerberos encryption services [2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &DESDists, DIST_DES_KERBEROS, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "sebones", "Sources for eBones (Kerberos) [1MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &DESDists, DIST_DES_SEBONES, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "ssecure", "Sources for DES libs and utilities [1MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &DESDists, DIST_DES_SSECURE, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-06-11 20:33:05 +01:00
|
|
|
};
|
1995-12-07 10:34:59 +00:00
|
|
|
|
1995-05-10 08:45:00 +01:00
|
|
|
DMenu MenuSrcDistributions = {
|
1995-12-07 10:34:59 +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 17:58:58 +01:00
|
|
|
you wish to install.",
|
1995-12-07 10:34:59 +00:00
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
{ { "base", "top-level files in /usr/src [300K]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_BASE, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "gnu", "/usr/src/gnu (software from the GNU Project) [42MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_GNU, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "etc", "/usr/src/etc (miscellaneous system files) [460K]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_ETC, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "games", "/usr/src/games (diversions) [7.8MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_GAMES, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "include", "/usr/src/include (header files) [467K]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_INCLUDE, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "lib", "/usr/src/lib (system libraries) [9.2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_LIB, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "libexec", "/usr/src/libexec (system programs) [1.2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_LIBEXEC, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "lkm", "/usr/src/lkm (Loadable Kernel Modules) [193K]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_LKM, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "release", "/usr/src/release (release-generation tools) [533K]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_RELEASE, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "bin", "/usr/src/bin (system binaries) [2.5MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_BIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "sbin", "/usr/src/sbin (system binaries) [1.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_SBIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "share", "/usr/src/share (documents and shared files) [10MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_SHARE, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "sys", "/usr/src/sys (FreeBSD kernel) [13MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_SYS, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "ubin", "/usr/src/usr.bin (user binaries) [13MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_UBIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "usbin", "/usr/src/usr.sbin (aux system binaries) [14MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_USBIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "smailcf", "/usr/src/usr.sbin (sendmail config macros) [341K]",
|
|
|
|
DMENU_SET_FLAG, &SrcDists, DIST_SRC_SMAILCF, 0, dmenuFlagCheck },
|
|
|
|
{ NULL } },
|
1995-05-10 08:45:00 +01:00
|
|
|
};
|
|
|
|
|
1995-06-11 20:33:05 +01:00
|
|
|
static int
|
|
|
|
clearx11(char *str)
|
|
|
|
{
|
|
|
|
XF86Dists = 0;
|
|
|
|
XF86ServerDists = 0;
|
|
|
|
XF86FontDists = 0;
|
|
|
|
Dists &= ~DIST_XF86;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
1995-05-10 08:45:00 +01:00
|
|
|
DMenu MenuXF86Select = {
|
1995-05-16 03:53:31 +01:00
|
|
|
DMENU_NORMAL_TYPE,
|
1995-12-07 10:34:59 +00:00
|
|
|
"XFree86 3.1.2-S Distribution",
|
|
|
|
"Please select the components you need from the XFree86 3.1.2-S\n\
|
1995-05-17 15:40:00 +01:00
|
|
|
distribution. We recommend that you select what you need from the basic\n\
|
1995-12-07 10:34:59 +00:00
|
|
|
component set and at least one entry from the Server and Font set menus.",
|
1995-05-17 15:40:00 +01:00
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
1995-12-07 10:34:59 +00:00
|
|
|
"XF86",
|
|
|
|
{ { "Basic", "Basic component menu (required)",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectCore, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Server", "X server menu",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectServer, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Fonts", "Font set menu",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuXF86SelectFonts, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Exit", "Exit this menu (returning to previous)",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Clear", "Reset XFree86 distribution list",
|
|
|
|
DMENU_CALL, clearx11, 0, 0, 0 },
|
|
|
|
{ NULL } },
|
1995-05-10 08:45:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectCore = {
|
1995-05-16 03:53:31 +01:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
1995-12-07 10:34:59 +00:00
|
|
|
"XFree86 3.1.2-S base distribution types",
|
|
|
|
"Please check off the basic XFree86 components you wish to install.\n\
|
|
|
|
Bin, lib, xicf, and xdcf are recommended for a minimum installaion.",
|
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
|
|
|
"XF86",
|
|
|
|
{ { "bin", "Client applications and shared libs [4.1MB].",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_BIN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "lib", "Data files needed at runtime [750K]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_LIB, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "xicf", "Customizable xinit runtime configuration file [10K]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_XINIT, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "xdcf", "Customizable xdm runtime configuration file [20K]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_XDMCF, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "etc", "Clock setting and diagnostic source codes [70K]",
|
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_ETC, 0, dmenuFlagCheck },
|
|
|
|
{ "doc", "READMEs and release notes [600K]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_DOC, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "man", "Man pages [1.7MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_MAN, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "ctrb", "Various contributed binaries (ico, xman, etc) [550K]",
|
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_CTRB, 0, dmenuFlagCheck },
|
|
|
|
{ "prog", "Programmer's header and library files [4.1MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_PROG, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "link", "Kit to reconfigure/rebuild X Servers [8.8MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_LINK, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "ubin", "rstart daemon [2K]",
|
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_UBIN, 0, dmenuFlagCheck },
|
|
|
|
{ "pex", "PEX fonts and libs needed by PEX apps [290K]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_PEX, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "sources", "XFree86 3.1.2-S standard + contrib sources [200MB]",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_FLAG, &XF86Dists, DIST_XF86_SRC, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-05-10 08:45:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectFonts = {
|
1995-12-07 10:34:59 +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 08:50:20 +01: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-29 12:58:16 +01:00
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
1995-12-07 10:34:59 +00:00
|
|
|
"XF86",
|
1995-09-18 17:53:06 +01:00
|
|
|
{ { "fnts", "Standard 75 DPI and miscellaneous fonts [3.6MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_MISC, 0, dmenuFlagCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "f100", "100 DPI fonts [1.8MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_100, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "fcyr", "Cyrillic Fonts [1.8MB]",
|
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_CYR, 0, dmenuFlagCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "fscl", "Speedo and Type scalable fonts [1.6MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_SCALE, 0, dmenuFlagCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "non", "Japanese, Chinese and other non-english fonts [3.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_NON, 0, dmenuFlagCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "server", "Font server [0.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86FontDists, DIST_XF86_FONTS_SERVER, 0, dmenuFlagCheck },
|
1995-05-16 03:53:31 +01:00
|
|
|
{ NULL } },
|
1995-05-10 08:45:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuXF86SelectServer = {
|
1995-05-16 03:53:31 +01: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 08:50:20 +01:00
|
|
|
If you are unsure as to which server will work for your graphics card,\n\
|
1995-05-11 07:10:56 +01:00
|
|
|
it is recommended that try the SVGA or VGA16 servers (the VGA16 and\n\
|
1995-05-20 08:50:20 +01:00
|
|
|
Mono servers are particularly well-suited to most LCD displays).",
|
1995-05-29 12:58:16 +01:00
|
|
|
"Press F1 to read the XFree86 release notes for FreeBSD",
|
1995-12-07 10:34:59 +00:00
|
|
|
"XF86",
|
|
|
|
{ { "SVGA", "Standard VGA or Super VGA display [2.8MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_SVGA, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "VGA16", "Standard 16 color VGA display [1.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_VGA16, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Mono", "Standard Monochrome display [1.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_MONO, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "8514", "8-bit (256 color) IBM 8514 or compatible card [2.2MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_8514, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "AGX", "8-bit AGX card [2.4MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_AGX, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Ma8", "8-bit ATI Mach8 card [2.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_MACH8, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Ma32", "8 and 16-bit (65K color) for ATI Mach32 card [2.4MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_MACH32, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Ma64", "8 and 16-bit (65K color) for ATI Mach64 card [2.5MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_MACH64, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "P9K", "8, 16, and 24-bit color for Weitek P9000 based boards [2.5MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_P9000, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "S3", "8, 16 and 24-bit color for S3 based boards [2.7MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_S3, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "W32", "8-bit Color for ET4000/W32, /W32i and /W32p cards [2.3MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_W32, 0, dmenuFlagCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "nest", "A nested server for testing purposes [1.8MB]",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_FLAG, &XF86ServerDists, DIST_XF86_SERVER_NEST, 0, dmenuFlagCheck },
|
1995-05-16 03:53:31 +01:00
|
|
|
{ NULL } },
|
1995-04-27 19:03:55 +01:00
|
|
|
};
|
|
|
|
|
1995-05-01 22:56:32 +01:00
|
|
|
DMenu MenuDiskDevices = {
|
1995-05-16 03:53:31 +01:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select Drive(s)",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Please select the drive, or drives, on which you wish to perform\n\
|
|
|
|
this operation. If you are attempting to install a boot partition\n\
|
|
|
|
on a drive other than the first one or have multiple operating\n\
|
1995-05-04 04:51:22 +01:00
|
|
|
systems on your machine, you will have the option to install a boot\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
manager later. To select a drive, use the arrow keys to move to it\n\
|
|
|
|
and press [SPACE].",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Press F1 for important information regarding disk geometry!",
|
|
|
|
"drives",
|
1995-05-16 03:53:31 +01:00
|
|
|
{ { NULL } },
|
1995-05-08 11:20:56 +01:00
|
|
|
};
|
|
|
|
|
1995-12-07 10:34:59 +00:00
|
|
|
DMenu MenuHTMLDoc = {
|
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"Select HTML Documentation pointer",
|
|
|
|
"Please select the body of documentation you're interested in, the main\n\
|
|
|
|
ones right now being the FAQ and the Handbook. You can also chose \"other\"\n\
|
|
|
|
to enter an arbitrary URL for browsing.",
|
|
|
|
"Press F1 for more help on what you see here.",
|
|
|
|
"html",
|
|
|
|
{ { "Handbook", "The FreeBSD Handbook.",
|
|
|
|
DMENU_CALL, docShowDocument, 0, 0 },
|
|
|
|
{ "FAQ", "The Frequently Asked Questions guide.",
|
|
|
|
DMENU_CALL, docShowDocument, 0, 0 },
|
|
|
|
{ "Home", "The Home Pages for the FreeBSD Project (requires net)",
|
|
|
|
DMENU_CALL, docShowDocument, 0, 0 },
|
|
|
|
{ "Other", "Enter a URL.",
|
|
|
|
DMENU_CALL, docShowDocument, 0, 0 },
|
1995-05-16 03:53:31 +01:00
|
|
|
{ NULL } },
|
1995-05-01 22:56:32 +01:00
|
|
|
};
|
|
|
|
|
1995-04-29 20:33:06 +01:00
|
|
|
/* The main installation menu */
|
1995-09-18 17:53:06 +01:00
|
|
|
DMenu MenuInstallCustom = {
|
1995-05-16 03:53:31 +01:00
|
|
|
DMENU_NORMAL_TYPE,
|
1995-09-18 17:53:06 +01:00
|
|
|
"Choose Custom Installation Options",
|
|
|
|
"This is the custom installation menu. You may use this menu to specify\n\
|
1995-05-17 15:40:00 +01:00
|
|
|
details on the type of distribution you wish to have, where you wish\n\
|
1995-09-18 17:53:06 +01:00
|
|
|
to install it from and how you wish to allocate disk storage to FreeBSD.",
|
1995-05-16 12:37:27 +01:00
|
|
|
"Press F1 to read the installation guide",
|
1995-12-07 10:34:59 +00:00
|
|
|
"install",
|
|
|
|
{ { "Options", "Go to Options editor",
|
|
|
|
DMENU_CALL, optionsEditor, 0, 0 },
|
|
|
|
{ "Partition", "Allocate disk space for FreeBSD",
|
|
|
|
DMENU_CALL, diskPartitionEditor, 0, 0 },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "Label", "Label allocated disk partitions",
|
|
|
|
DMENU_CALL, diskLabelEditor, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Distributions", "Select distribution(s) to extract",
|
|
|
|
DMENU_SUBMENU, &MenuDistributions, 0, 0 },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "Media", "Choose the installation media type",
|
|
|
|
DMENU_SUBMENU, &MenuMedia, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Commit", "Perform any pending Partition/Label/Extract actions",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CALL, installCommit, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Extract", "Just do distribution extract step",
|
|
|
|
DMENU_CALL, distExtractAll, 0, 0 },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "Exit", "Exit this menu (returning to previous)",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-05-16 03:53:31 +01:00
|
|
|
{ NULL } },
|
1995-04-27 19:03:55 +01:00
|
|
|
};
|
1995-05-20 21:30:12 +01:00
|
|
|
|
|
|
|
/* MBR type menu */
|
|
|
|
DMenu MenuMBRType = {
|
|
|
|
DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS,
|
1995-12-07 10:34:59 +00:00
|
|
|
"overwrite me", /* will be disk specific label */
|
|
|
|
"FreeBSD comes with a boot selector that allows you to easily\n"
|
|
|
|
"select between FreeBSD and any other operating systems on your machine\n"
|
|
|
|
"at boot time. If you have more than one drive and want to boot\n"
|
|
|
|
"from the second one, the boot selector will also make it possible\n"
|
|
|
|
"to do so (limitations in the PC BIOS usually prevent this otherwise).\n"
|
|
|
|
"If you do not want a boot selector, or wish to replace an existing\n"
|
|
|
|
"one, select \"standard\". If you would prefer your Master Boot\n"
|
|
|
|
"Record to remain untouched then select \"none\". NOTE: PC-DOS users\n"
|
|
|
|
"will almost certainly NOT want to select one!",
|
1995-05-20 21:30:12 +01:00
|
|
|
"Press F1 to read the installation guide",
|
1995-12-07 10:34:59 +00:00
|
|
|
"install",
|
1995-09-18 17:53:06 +01:00
|
|
|
{ { "BootMgr", "Install the FreeBSD Boot Manager (\"Booteasy\")",
|
|
|
|
DMENU_SET_VALUE, &BootMgr, 0, 0, dmenuRadioCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Standard", "Install a standard MBR (no boot manager)",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_SET_VALUE, &BootMgr, 1, 0, dmenuRadioCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "None", "Leave the Master Boot Record untouched",
|
|
|
|
DMENU_SET_VALUE, &BootMgr, 2, 0, dmenuRadioCheck },
|
1995-05-20 21:30:12 +01:00
|
|
|
{ NULL } },
|
|
|
|
};
|
1995-05-24 02:27:15 +01:00
|
|
|
|
|
|
|
/* Final configuration menu */
|
|
|
|
DMenu MenuConfigure = {
|
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"FreeBSD Configuration Menu", /* title */
|
1995-12-07 10:34:59 +00:00
|
|
|
"If you've already installed FreeBSD, you may use this menu to customize\n\
|
|
|
|
it somewhat to suit your particular configuration. Most importantly,\n\
|
|
|
|
you can use the Packages utility to load extra \"3rd party\"\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
software not provided in the base distributions.",
|
1995-05-24 02:27:15 +01:00
|
|
|
"Press F1 for more information on these options",
|
1995-12-07 10:34:59 +00:00
|
|
|
"configure",
|
1995-09-18 17:53:06 +01:00
|
|
|
{ { "Add User", "Add users to the system",
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_SYSTEM_COMMAND, "adduser -config_create ; adduser -s", 0, 0 },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "Console", "Customize system console behavior",
|
|
|
|
DMENU_SUBMENU, &MenuSyscons, 0, 0 },
|
|
|
|
{ "Time Zone", "Set which time zone you're in",
|
|
|
|
DMENU_SYSTEM_COMMAND, "rm -f /etc/wall_cmos_clock /etc/localtime; tzsetup", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Media", "Change the installation media type",
|
|
|
|
DMENU_SUBMENU, &MenuMedia, 0, 0 },
|
|
|
|
{ "Mouse", "Select the type of mouse you have",
|
|
|
|
DMENU_SUBMENU, &MenuMouse, 0, 0 },
|
|
|
|
{ "Networking", "Configure additional network services",
|
|
|
|
DMENU_SUBMENU, &MenuNetworking, 0, 0 },
|
|
|
|
{ "Options", "Go to options editor.",
|
|
|
|
DMENU_CALL, optionsEditor, 0, 0 },
|
|
|
|
{ "Packages", "Install pre-packaged software for FreeBSD",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CALL, configPackages, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Ports", "Link to FreeBSD Ports Collection on CD/NFS",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CALL, configPorts, 0, 1 },
|
|
|
|
{ "Root Password", "Set the system manager's password",
|
|
|
|
DMENU_SYSTEM_COMMAND, "passwd root", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "HTML Docs", "Go to the HTML documentation menu (post-install).",
|
|
|
|
DMENU_CALL, docBrowser, 0, 0 },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "XFree86", "Configure XFree86 (if installed)",
|
|
|
|
DMENU_SYSTEM_COMMAND, "/usr/X11R6/bin/xf86config", 0, 0 },
|
|
|
|
{ "Exit", "Exit this menu (returning to previous)",
|
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-05-24 02:27:15 +01:00
|
|
|
{ NULL } },
|
|
|
|
};
|
1995-05-24 10:00:58 +01:00
|
|
|
|
1995-05-28 10:31:44 +01:00
|
|
|
DMenu MenuNetworking = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
1995-05-28 10:31:44 +01:00
|
|
|
"Network Services Menu",
|
1995-12-07 10:34:59 +00:00
|
|
|
"You may have already configured one network device (and the other\n\
|
|
|
|
various hostname/gateway/name server parameters) in the process\n\
|
1995-05-28 10:31:44 +01:00
|
|
|
of installing FreeBSD. This menu allows you to configure other\n\
|
1995-06-11 20:33:05 +01:00
|
|
|
aspects of your system's network configuration.",
|
1995-05-28 10:31:44 +01:00
|
|
|
NULL,
|
|
|
|
NULL,
|
1995-12-07 10:34:59 +00:00
|
|
|
{ { "Interfaces", "Configure additional network interfaces",
|
|
|
|
DMENU_CALL, tcpMenuSelect, 0, 0 },
|
|
|
|
{ "NFS client", "This machine will be an NFS client",
|
|
|
|
DMENU_SET_VARIABLE, "nfs_client=YES", 0, 0, 0 },
|
|
|
|
{ "NFS server", "This machine will be an NFS server",
|
|
|
|
DMENU_CALL, configNFSServer, 0, 0, 0 },
|
|
|
|
{ "Gateway", "This machine will route packets between interfaces",
|
|
|
|
DMENU_SET_VARIABLE, "gateway=YES", 0, 0, 0 },
|
|
|
|
{ "Gated", "This machine wants to run gated",
|
|
|
|
DMENU_CALL, configGated, 0, 0, 0 },
|
|
|
|
{ "Ntpdate", "Select a clock-syncronization server",
|
|
|
|
DMENU_SUBMENU, &MenuNTP, (int)"ntpdate", 0, dmenuVarCheck },
|
|
|
|
{ "Routed", "Set flags for routed (default: -q)",
|
|
|
|
DMENU_CALL, configRoutedFlags, (int)"routed", 0, dmenuVarCheck },
|
|
|
|
{ "Rwhod", "This machine wants to run the rwho daemon",
|
|
|
|
DMENU_SET_VARIABLE, "rwhod=YES", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Anon FTP", "This machine wishes to allow anonymous FTP.",
|
|
|
|
DMENU_CALL, configAnonFTP, 0, 0, 0 },
|
|
|
|
{ "WEB Server", "This machine wishes to be a WWW server.",
|
|
|
|
DMENU_CALL, configApache, 0, 0, 0 },
|
|
|
|
{ "Samba", "Install Samba for LanManager (NETBUI) access.",
|
|
|
|
DMENU_CALL, configSamba, 0, 0, 0 },
|
|
|
|
{ "PCNFSD", "Run authentication server for clients with PC-NFS.",
|
|
|
|
DMENU_CALL, configPCNFSD, 0, 0, 0 },
|
|
|
|
{ NULL } },
|
1995-05-28 10:31:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuNTP = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"NTPDATE Server Selection",
|
|
|
|
"There are a number of time syncronization servers available\n\
|
1995-05-28 10:31:44 +01:00
|
|
|
for public use around the Internet. Please select one reasonably\n\
|
|
|
|
close to you to have your system time syncronized accordingly.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"These are the primary open-access NTP servers",
|
|
|
|
NULL,
|
|
|
|
{ { "Other", "Select a site not on this list",
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_CALL, configNTP, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Australia", "ntp.syd.dms.csiro.au (HP 5061 Cesium Beam)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=ntp.syd.dms.csiro.au", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Canada", "tick.usask.ca (GOES clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=tick.usask.ca", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "France", "canon.inria.fr (TDF clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=canon.inria.fr", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Germany", "ntps1-{0,1,2}.uni-erlangen.de (GPS)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=ntps1-0.uni-erlangen.de", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Germany #2", "ntps1-0.cs.tu-berlin.de (GPS)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=ntps1-0.cs.tu-berlin.de", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Japan", "clock.nc.fukuoka-u.ac.jp (GPS clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=clock.nc.fukuoka-u.ac.jp", 0, 0},
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Japan #2", "clock.tl.fukuoka-u.ac.jp (GPS clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=clock.tl.fukuoka-u.ac.jp", 0, 0},
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Netherlands", "ntp0.nl.net (GPS clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=ntp0.nl.net", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Norway", "timer.unik.no (NTP clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=timer.unik.no", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Sweden", "Time1.Stupi.SE (Cesium/GPS)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=Time1.Stupi.SE", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Switzerland", "swisstime.ethz.ch (DCF77 clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=swisstime.ethz.ch", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. East Coast", "bitsy.mit.edu (WWV clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=bitsy.mit.edu", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. East Coast #2", "otc1.psu.edu (WWV clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=otc1.psu.edu", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. West Coast", "apple.com (WWV clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=apple.com", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. West Coast #2", "clepsydra.dec.com (GOES clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=clepsydra.dec.com", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. West Coast #3", "clock.llnl.gov (WWVB clock)",
|
1995-05-29 12:01:42 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=clock.llnl.gov", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. Midwest", "ncar.ucar.edu (WWVB clock)",
|
1995-05-29 12:01:42 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=ncar.ucar.edu", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. Pacific", "chantry.hawaii.net (WWV/H clock)",
|
1995-05-28 10:31:44 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=chantry.hawaii.net", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "U.S. Southwest", "shorty.chpc.utexas.edu (WWV clock)",
|
1995-05-29 12:01:42 +01:00
|
|
|
DMENU_SET_VARIABLE, "ntpdate=shorty.chpc.utexas.edu", 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-05-28 10:31:44 +01:00
|
|
|
};
|
|
|
|
|
1995-05-24 10:00:58 +01:00
|
|
|
DMenu MenuSyscons = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_NORMAL_TYPE,
|
|
|
|
"System Console Configuration",
|
|
|
|
"The default system console driver for FreeBSD (syscons) has a\n\
|
1995-05-24 10:00:58 +01:00
|
|
|
number of configuration options which may be set according to\n\
|
1995-05-29 12:01:42 +01:00
|
|
|
your preference.\n\n\
|
|
|
|
When you are done setting configuration options, select Cancel.",
|
1995-12-07 10:34:59 +00:00
|
|
|
"Configure your system console settings",
|
|
|
|
NULL,
|
|
|
|
{ { "Keymap", "Choose an alternate keyboard map",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuSysconsKeymap, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Repeat", "Set the rate at which keys repeat",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuSysconsKeyrate, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Saver", "Configure the screen saver",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SUBMENU, &MenuSysconsSaver, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Exit", "Exit this menu (returning to previous)",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_CANCEL, NULL, 0, 0 },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ NULL } },
|
1995-05-28 10:31:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuSysconsKeymap = {
|
1995-12-07 10:34:59 +00:00
|
|
|
DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS,
|
|
|
|
"System Console Keymap",
|
|
|
|
"The default system console driver for FreeBSD (syscons) defaults\n\
|
1995-05-28 10:31:44 +01:00
|
|
|
to a standard \"American\" keyboard map. Users in other countries\n\
|
|
|
|
(or with different keyboard preferences) may wish to choose one of\n\
|
|
|
|
the other keymaps below.",
|
|
|
|
"Choose a keyboard map",
|
|
|
|
NULL,
|
1995-09-18 17:53:06 +01:00
|
|
|
{ { "Danish CP865", "Danish Code Page 865 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=danish.cp865", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Danish ISO", "Danish ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=danish.iso", 0, 0, dmenuVarCheck },
|
|
|
|
{ "French ISO", "French ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=fr.iso", 0, 0, dmenuVarCheck },
|
|
|
|
{ "German CP850", "German Code Page 850 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=german.cp850", 0, 0, dmenuVarCheck },
|
|
|
|
{ "German ISO", "German ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=german.iso", 0, 0, dmenuVarCheck },
|
1996-03-30 16:19:40 +00:00
|
|
|
{ "Japanese 106", "Japanese 106 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=jp.106", 0, 0, dmenuVarCheck },
|
1995-09-18 17:53:06 +01:00
|
|
|
{ "Russian CP866", "Russian Code Page 866 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=ru.cp866", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Russian KOI8", "Russian koi8 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=ru.koi8-r", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Russian s-KOI8", "Russian shifted koi8 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=ru.koi8-r.shift", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Swedish CP850", "Swedish Code Page 850 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=swedish.cp850", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Swedish ISO", "Swedish ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=swedish.iso", 0, 0, dmenuVarCheck },
|
|
|
|
{ "U.K. CP850", "United Kingdom Code Page 850 keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=uk.cp850", 0, 0, dmenuVarCheck },
|
|
|
|
{ "U.K. ISO", "United Kingdom ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=uk.iso", 0, 0, dmenuVarCheck },
|
|
|
|
{ "U.S. ISO", "United States ISO keymap",
|
|
|
|
DMENU_SET_VARIABLE, "keymap=us.iso", 0, 0, dmenuVarCheck },
|
1995-05-28 10:31:44 +01:00
|
|
|
{ NULL } },
|
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuSysconsKeyrate = {
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_RADIO_TYPE | DMENU_SELECTION_RETURNS,
|
1995-05-28 10:31:44 +01:00
|
|
|
"System Console Keyboard Repeat Rate",
|
|
|
|
"This menu allows you to set the speed at which keys repeat\n\
|
|
|
|
when held down.",
|
|
|
|
"Choose a keyboard repeat rate",
|
|
|
|
NULL,
|
1995-09-18 17:53:06 +01:00
|
|
|
{ { "Slow", "Slow keyboard repeat rate",
|
|
|
|
DMENU_SET_VARIABLE, "keyrate=slow", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Normal", "\"Normal\" keyboard repeat rate",
|
|
|
|
DMENU_SET_VARIABLE, "keyrate=normal", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Fast", "Fast keyboard repeat rate",
|
|
|
|
DMENU_SET_VARIABLE, "keyrate=fast", 0, 0, dmenuVarCheck },
|
|
|
|
{ "Default", "Use default keyboard repeat rate",
|
|
|
|
DMENU_SET_VARIABLE, "keyrate=NO", 0, 0, dmenuVarCheck },
|
1995-05-28 10:31:44 +01:00
|
|
|
{ NULL } },
|
|
|
|
};
|
|
|
|
|
|
|
|
DMenu MenuSysconsSaver = {
|
1995-06-11 20:33:05 +01:00
|
|
|
DMENU_MULTIPLE_TYPE | DMENU_SELECTION_RETURNS,
|
1995-05-28 10:31:44 +01:00
|
|
|
"System Console Screen Saver",
|
|
|
|
"By default, the console driver will not attempt to do anything\n\
|
|
|
|
special with your screen when it's idle. If you expect to leave your\n\
|
|
|
|
monitor switched on and idle for long periods of time then you should\n\
|
|
|
|
probably enable one of these screen savers to prevent phosphor burn-in.",
|
|
|
|
"Choose a nifty-looking screen saver",
|
|
|
|
NULL,
|
1995-12-07 10:34:59 +00:00
|
|
|
{ { "blank", "Simply blank the screen",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_VARIABLE, "saver=blank", 0, 0, dmenuVarCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Green", "\"Green\" power saving mode (if supported by monitor)",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_VARIABLE, "saver=green", 0, 0, dmenuVarCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Snake", "Draw a FreeBSD \"snake\" on your screen",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_VARIABLE, "saver=snake", 0, 0, dmenuVarCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Star", "A \"twinkling stars\" effect",
|
1995-09-18 17:53:06 +01:00
|
|
|
DMENU_SET_VARIABLE, "saver=star", 0, 0, dmenuVarCheck },
|
1995-12-07 10:34:59 +00:00
|
|
|
{ "Timeout", "Set the screen saver timeout interval",
|
|
|
|
DMENU_CALL, configSaverTimeout, (int)"blanktime", 0, dmenuVarCheck },
|
|
|
|
{ NULL } },
|
1995-05-24 10:00:58 +01:00
|
|
|
};
|