2 * The new sysinstall program.
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
8 * Jordan Hubbard. All rights reserved.
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer,
15 * verbatim and that no modifications are made prior to this
17 * 2. Redistributions in binary form must reproduce the above copyright
18 * notice, this list of conditions and the following disclaimer in the
19 * documentation and/or other materials provided with the distribution.
21 * THIS SOFTWARE IS PROVIDED BY JORDAN HUBBARD ``AS IS'' AND
22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 * ARE DISCLAIMED. IN NO EVENT SHALL JORDAN HUBBARD OR HIS PETS BE LIABLE
25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 static const char rcsid[] =
40 #include "sysinstall.h"
42 /* Miscellaneous work routines for menus */
44 setSrc(dialogMenuItem *self)
47 SrcDists = DIST_SRC_ALL;
48 return DITEM_SUCCESS | DITEM_REDRAW;
52 clearSrc(dialogMenuItem *self)
56 return DITEM_SUCCESS | DITEM_REDRAW;
60 setX11Misc(dialogMenuItem *self)
62 XOrgDists |= DIST_XORG_MISC_ALL;
64 return DITEM_SUCCESS | DITEM_REDRAW;
68 clearX11Misc(dialogMenuItem *self)
70 XOrgDists &= ~DIST_XORG_MISC_ALL;
73 return DITEM_SUCCESS | DITEM_REDRAW;
77 setX11Servers(dialogMenuItem *self)
79 XOrgDists |= DIST_XORG_SERVER_ALL;
80 return DITEM_SUCCESS | DITEM_REDRAW;
84 clearX11Servers(dialogMenuItem *self)
86 XOrgDists &= ~DIST_XORG_SERVER_ALL;
89 return DITEM_SUCCESS | DITEM_REDRAW;
93 setX11Fonts(dialogMenuItem *self)
95 XOrgDists |= DIST_XORG_FONTS_ALL;
96 return DITEM_SUCCESS | DITEM_REDRAW;
100 clearX11Fonts(dialogMenuItem *self)
102 XOrgDists &= ~DIST_XORG_FONTS_ALL;
105 return DITEM_SUCCESS | DITEM_REDRAW;
108 #define _IS_SET(dist, set) (((dist) & (set)) == (set))
110 #define IS_DEVELOPER(dist, extra) (_IS_SET(dist, _DIST_DEVELOPER | extra) || \
111 _IS_SET(dist, _DIST_DEVELOPER | extra))
113 #define IS_USER(dist, extra) (_IS_SET(dist, _DIST_USER | extra) || \
114 _IS_SET(dist, _DIST_USER | extra))
117 checkDistDeveloper(dialogMenuItem *self)
119 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_ALL);
123 checkDistXDeveloper(dialogMenuItem *self)
125 return IS_DEVELOPER(Dists, DIST_XORG) && _IS_SET(SrcDists, DIST_SRC_ALL);
129 checkDistKernDeveloper(dialogMenuItem *self)
131 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_SYS);
135 checkDistXKernDeveloper(dialogMenuItem *self)
137 return IS_DEVELOPER(Dists, DIST_XORG) && _IS_SET(SrcDists, DIST_SRC_SYS);
141 checkDistUser(dialogMenuItem *self)
143 return IS_USER(Dists, 0);
147 checkDistXUser(dialogMenuItem *self)
149 return IS_USER(Dists, DIST_XORG);
153 checkDistMinimum(dialogMenuItem *self)
155 return Dists == (DIST_BASE);
159 checkDistEverything(dialogMenuItem *self)
161 return Dists == DIST_ALL &&
162 _IS_SET(SrcDists, DIST_SRC_ALL) &&
163 _IS_SET(XOrgDists, DIST_XORG_ALL);
167 srcFlagCheck(dialogMenuItem *item)
173 x11FlagCheck(dialogMenuItem *item)
180 return Dists & DIST_XORG;
184 checkTrue(dialogMenuItem *item)
189 /* All the system menus go here.
191 * Hardcoded things like version number strings will disappear from
192 * these menus just as soon as I add the code for doing inline variable
198 "Glossary of functions",
199 "This menu contains an alphabetized index of the top level functions in\n"
200 "this program (sysinstall). Invoke an option by pressing [SPACE] or\n"
201 "[ENTER]. To exit, use [TAB] to move to the Cancel button.",
202 "Use PageUp or PageDown to move through this menu faster!",
204 { { " Anon FTP", "Configure anonymous FTP logins.", dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
205 { " Commit", "Commit any pending actions (dangerous!)", NULL, installCustomCommit },
207 { " Console settings", "Customize system console behavior.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
209 { " Configure", "The system configuration menu.", NULL, dmenuSubmenu, NULL, &MenuConfigure },
210 { " Defaults, Load", "Load default settings.", NULL, dispatch_load_floppy },
212 { " Device, Mouse", "The mouse configuration menu.", NULL, dmenuSubmenu, NULL, &MenuMouse },
214 { " Disklabel", "The disk Label editor", NULL, diskLabelEditor },
215 { " Dists, All", "Root of the distribution tree.", NULL, dmenuSubmenu, NULL, &MenuDistributions },
216 { " Dists, Basic", "Basic FreeBSD distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSubDistributions },
217 { " Dists, Developer", "Select developer's distribution.", checkDistDeveloper, distSetDeveloper },
218 { " Dists, Src", "Src distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSrcDistributions },
219 { " Dists, X Developer", "Select X developer's distribution.", checkDistXDeveloper, distSetXDeveloper },
220 { " Dists, Kern Developer", "Select kernel developer's distribution.", checkDistKernDeveloper, distSetKernDeveloper },
221 { " Dists, User", "Select average user distribution.", checkDistUser, distSetUser },
222 { " Dists, X User", "Select average X user distribution.", checkDistXUser, distSetXUser },
223 { " Distributions, Adding", "Installing additional distribution sets", NULL, distExtractAll },
224 { " Distributions, X.Org","X.Org distribution menu.", NULL, distSetXOrg },
225 { " Documentation", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
226 { " Doc, README", "The distribution README file.", NULL, dmenuDisplayFile, NULL, "README" },
227 { " Doc, Errata", "The distribution errata.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
228 { " Doc, Hardware", "The distribution hardware guide.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
229 { " Doc, Install", "The distribution installation guide.", NULL, dmenuDisplayFile, NULL, "INSTALL" },
230 { " Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
231 { " Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
232 { " Doc, HTML", "The HTML documentation menu.", NULL, docBrowser },
233 { " Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
234 { " Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell },
236 { " Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor },
238 { " Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit },
239 { " FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP },
240 { " Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
241 { " HTML Docs", "The HTML documentation menu", NULL, docBrowser },
242 { " inetd Configuration", "Configure inetd and simple internet services.", dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
243 { " Install, Standard", "A standard system installation.", NULL, installStandard },
244 { " Install, Express", "An express system installation.", NULL, installExpress },
245 { " Install, Custom", "The custom installation menu", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
246 { " Label", "The disk Label editor", NULL, diskLabelEditor },
247 { " Media", "Top level media selection menu.", NULL, dmenuSubmenu, NULL, &MenuMedia },
248 { " Media, Tape", "Select tape installation media.", NULL, mediaSetTape },
249 { " Media, NFS", "Select NFS installation media.", NULL, mediaSetNFS },
250 { " Media, Floppy", "Select floppy installation media.", NULL, mediaSetFloppy },
251 { " Media, CDROM/DVD", "Select CDROM/DVD installation media.", NULL, mediaSetCDROM },
252 { " Media, DOS", "Select DOS installation media.", NULL, mediaSetDOS },
253 { " Media, UFS", "Select UFS installation media.", NULL, mediaSetUFS },
254 { " Media, FTP", "Select FTP installation media.", NULL, mediaSetFTP },
255 { " Media, FTP Passive", "Select passive FTP installation media.", NULL, mediaSetFTPPassive },
256 { " Media, HTTP", "Select FTP via HTTP proxy installation media.", NULL, mediaSetHTTP },
257 { " Network Interfaces", "Configure network interfaces", NULL, tcpMenuSelect },
258 { " Networking Services", "The network services menu.", NULL, dmenuSubmenu, NULL, &MenuNetworking },
259 { " NFS, client", "Set NFS client flag.", dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
260 { " NFS, server", "Set NFS server flag.", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
261 { " NTP Menu", "The NTP configuration menu.", NULL, dmenuSubmenu, NULL, &MenuNTP },
262 { " Options", "The options editor.", NULL, optionsEditor },
263 { " Packages", "The packages collection", NULL, configPackages },
265 { " Partition", "The disk Slice (PC-style partition) Editor", NULL, diskPartitionEditor },
267 { " PCNFSD", "Run authentication server for PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
268 { " Root Password", "Set the system manager's password.", NULL, dmenuSystemCommand, NULL, "passwd root" },
269 { " Router", "Select routing daemon (default: routed)", NULL, configRouter, NULL, "router_enable" },
270 { " Security", "Configure system security options", NULL, dmenuSubmenu, NULL, &MenuSecurity },
272 { " Syscons", "The system console configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
274 { " Syscons, Font", "The console screen font.", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
276 { " Syscons, Keymap", "The console keymap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
277 { " Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
278 { " Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
280 { " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
281 { " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
283 #endif /* WITH_SYSCONS */
284 { " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
285 { " TTYs", "Configure system ttys.", NULL, configEtcTtys, NULL, "ttys" },
286 { " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
287 { " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
288 { " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
289 { " X.Org, Fonts", "X.Org Font selection menu.", NULL, dmenuSubmenu, NULL, &MenuXOrgSelectFonts },
290 { " X.Org, Server", "X.Org Server selection menu.", NULL, dmenuSubmenu, NULL, &MenuXOrgSelectServer },
294 /* The initial installation menu */
295 DMenu MenuInitial = {
297 "sysinstall Main Menu", /* title */
298 "Welcome to the FreeBSD installation and configuration tool. Please\n" /* prompt */
299 "select one of the options below by using the arrow keys or typing the\n"
300 "first character of the option name you're interested in. Invoke an\n"
301 "option with [SPACE] or [ENTER]. To exit, use [TAB] to move to Exit.",
302 "Press F1 for Installation Guide", /* help line */
303 "INSTALL", /* help file */
305 { "X Exit Install", NULL, NULL, dmenuExit },
306 { " Usage", "Quick start - How to use this menu system", NULL, dmenuDisplayFile, NULL, "usage" },
307 { "Standard", "Begin a standard installation (recommended)", NULL, installStandard },
308 { "Express", "Begin a quick installation (for experts)", NULL, installExpress },
309 { " Custom", "Begin a custom installation (for experts)", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
310 { "Configure", "Do post-install configuration of FreeBSD", NULL, dmenuSubmenu, NULL, &MenuConfigure },
311 { "Doc", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
313 { "Keymap", "Select keyboard type", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
315 { "Options", "View/Set various installation options", NULL, optionsEditor },
316 { "Fixit", "Repair mode with CDROM/DVD/floppy or start shell", NULL, dmenuSubmenu, NULL, &MenuFixit },
317 { "Upgrade", "Upgrade an existing system", NULL, installUpgrade },
318 { "Load Config","Load default install configuration", NULL, dispatch_load_floppy },
319 { "Index", "Glossary of functions", NULL, dmenuSubmenu, NULL, &MenuIndex },
323 /* The main documentation menu */
324 DMenu MenuDocumentation = {
326 "FreeBSD Documentation Menu",
327 "If you are at all unsure about the configuration of your hardware\n"
328 "or are looking to build a system specifically for FreeBSD, read the\n"
329 "Hardware guide! New users should also read the Install document for\n"
330 "a step-by-step tutorial on installing FreeBSD. For general information,\n"
331 "consult the README file.",
332 "Confused? Press F1 for help.",
334 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
335 { "1 README", "A general description of FreeBSD. Read this!", NULL, dmenuDisplayFile, NULL, "README" },
336 { "2 Errata", "Late-breaking, post-release news.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
337 { "3 Hardware", "The FreeBSD survival guide for PC hardware.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
338 { "4 Install", "A step-by-step guide to installing FreeBSD.", NULL, dmenuDisplayFile, NULL, "INSTALL" },
339 { "5 Copyright", "The FreeBSD Copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
340 { "6 Release" ,"The release notes for this version of FreeBSD.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
341 { "7 Shortcuts", "Creating shortcuts to sysinstall.", NULL, dmenuDisplayFile, NULL, "shortcuts" },
342 { "8 HTML Docs", "Go to the HTML documentation menu (post-install).", NULL, docBrowser },
347 DMenu MenuMouseType = {
348 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
350 "Select a protocol type for your mouse",
351 "If your mouse is attached to the bus mouse port, you should always choose\n"
352 "\"Auto\", regardless of the model and the brand of the mouse. All other\n"
353 "protocol types are for serial mice and should not be used with the bus\n"
354 "mouse. If you have a serial mouse and are not sure about its protocol,\n"
355 "you should also try \"Auto\". It may not work for the serial mouse if the\n"
356 "mouse does not support the PnP standard. But, it won't hurt. Many\n"
357 "2-button serial mice are compatible with \"Microsoft\" or \"MouseMan\".\n"
358 "3-button serial mice may be compatible with \"MouseSystems\" or \"MouseMan\".\n"
359 "If the serial mouse has a wheel, it may be compatible with \"IntelliMouse\".",
362 { { "1 Auto", "Bus mouse or PnP serial mouse",
363 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=auto" },
365 "Select a protocol type for your mouse",
366 "If your mouse is attached to the PS/2 mouse port or the bus mouse port,\n"
367 "you should always choose \"Auto\", regardless of the model and the brand\n"
368 "of the mouse. All other protocol types are for serial mice and should\n"
369 "not be used with the PS/2 port mouse or the bus mouse. If you have\n"
370 "a serial mouse and are not sure about its protocol, you should also try\n"
371 "\"Auto\". It may not work for the serial mouse if the mouse does not\n"
372 "support the PnP standard. But, it won't hurt. Many 2-button serial mice\n"
373 "are compatible with \"Microsoft\" or \"MouseMan\". 3-button serial mice\n"
374 "may be compatible with \"MouseSystems\" or \"MouseMan\". If the serial\n"
375 "mouse has a wheel, it may be compatible with \"IntelliMouse\".",
378 { { "1 Auto", "Bus mouse, PS/2 style mouse or PnP serial mouse",
379 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=auto" },
381 { "2 GlidePoint", "ALPS GlidePoint pad (serial)",
382 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=glidepoint" },
383 { "3 Hitachi","Hitachi tablet (serial)",
384 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmhittab" },
385 { "4 IntelliMouse", "Microsoft IntelliMouse (serial)",
386 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=intellimouse" },
387 { "5 Logitech", "Logitech protocol (old models) (serial)",
388 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=logitech" },
389 { "6 Microsoft", "Microsoft protocol (serial)",
390 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=microsoft" },
391 { "7 MM Series","MM Series protocol (serial)",
392 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmseries" },
393 { "8 MouseMan", "Logitech MouseMan/TrackMan models (serial)",
394 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mouseman" },
395 { "9 MouseSystems", "MouseSystems protocol (serial)",
396 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mousesystems" },
397 { "A ThinkingMouse","Kensington ThinkingMouse (serial)",
398 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=thinkingmouse" },
403 DMenu MenuMousePort = {
404 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
405 "Select your mouse port from the following menu",
406 "The built-in pointing device of laptop/notebook computers is usually\n"
407 "a BusMouse style device.",
411 { "1 BusMouse", "PC-98x1 bus mouse (/dev/mse0)",
412 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" },
413 { "2 COM1", "Serial mouse on COM1 (/dev/cuad0)",
414 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad0" },
415 { "3 COM2", "Serial mouse on COM2 (/dev/cuad1)",
416 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad1" },
420 DMenu MenuMousePort = {
421 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
422 "Select your mouse port from the following menu",
423 "The built-in pointing device of laptop/notebook computers is usually\n"
424 "a PS/2 style device.",
427 { { "1 PS/2", "PS/2 style mouse (/dev/psm0)",
428 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/psm0" },
429 { "2 COM1", "Serial mouse on COM1 (/dev/cuad0)",
430 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad0" },
431 { "3 COM2", "Serial mouse on COM2 (/dev/cuad1)",
432 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad1" },
433 { "4 COM3", "Serial mouse on COM3 (/dev/cuad2)",
434 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad2" },
435 { "5 COM4", "Serial mouse on COM4 (/dev/cuad3)",
436 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad3" },
437 { "6 BusMouse", "Logitech, ATI or MS bus mouse (/dev/mse0)",
438 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" },
445 "Please configure your mouse",
446 "You can cut and paste text in the text console by running the mouse\n"
447 "daemon. Specify a port and a protocol type of your mouse and enable\n"
448 "the mouse daemon. If you don't want this feature, select 6 to disable\n"
450 "Once you've enabled the mouse daemon, you can specify \"/dev/sysmouse\"\n"
451 "as your mouse device and \"SysMouse\" or \"MouseSystems\" as mouse\n"
452 "protocol when running the X configuration utility (see Configuration\n"
456 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
457 { "2 Enable", "Test and run the mouse daemon", NULL, mousedTest, NULL, NULL },
458 { "3 Type", "Select mouse protocol type", NULL, dmenuSubmenu, NULL, &MenuMouseType },
459 { "4 Port", "Select mouse port", NULL, dmenuSubmenu, NULL, &MenuMousePort },
460 { "5 Flags", "Set additional flags", dmenuVarCheck, setMouseFlags,
461 NULL, VAR_MOUSED_FLAGS "=" },
462 { "6 Disable", "Disable the mouse daemon", NULL, mousedDisable, NULL, NULL },
465 #endif /* WITH_MICE */
467 DMenu MenuMediaCDROM = {
468 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
469 "Choose a CD/DVD type",
470 "FreeBSD can be installed directly from a CD/DVD containing a valid\n"
471 "FreeBSD distribution. If you are seeing this menu it is because\n"
472 "more than one CD/DVD drive was found on your system. Please select one\n"
473 "of the following CD/DVD drives as your installation drive.",
474 "Press F1 to read the installation guide",
479 DMenu MenuMediaFloppy = {
480 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
481 "Choose a Floppy drive",
482 "You have more than one floppy drive. Please choose which drive\n"
483 "you would like to use.",
489 DMenu MenuMediaDOS = {
490 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
491 "Choose a DOS partition",
492 "FreeBSD can be installed directly from a DOS partition\n"
493 "assuming, of course, that you have copied the relevant\n"
494 "distributions into your DOS partition before starting this\n"
495 "installation. If this is not the case then you should reboot\n"
496 "DOS at this time and copy the distributions you wish to install\n"
497 "into a \"FREEBSD\" subdirectory on one of your DOS partitions.\n"
498 "Otherwise, please select the DOS partition containing the FreeBSD\n"
499 "distribution files.",
500 "Press F1 to read the installation guide",
505 DMenu MenuMediaFTP = {
506 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
507 "Please select a FreeBSD FTP distribution site",
508 "Please select the site closest to you or \"other\" if you'd like to\n"
509 "specify a different choice. Also note that not every site listed here\n"
510 "carries more than the base distribution kits. Only Primary sites are\n"
511 "guaranteed to carry the full range of possible distributions.",
512 "Select a site that's close!",
514 { { "Main Site", "ftp.freebsd.org", NULL, dmenuSetVariable, NULL,
515 VAR_FTP_PATH "=ftp://ftp.freebsd.org" },
516 { "URL", "Specify some other ftp site by URL", NULL, dmenuSetVariable, NULL,
517 VAR_FTP_PATH "=other" },
518 { "Snapshots Server Japan", "snapshots.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
519 VAR_FTP_PATH "=ftp://snapshots.jp.freebsd.org" },
520 { "Snapshots Server Sweden", "snapshots.se.freebsd.org", NULL, dmenuSetVariable, NULL,
521 VAR_FTP_PATH "=ftp://snapshots.se.freebsd.org" },
523 { "IPv6 Ireland", "ftp3.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
524 VAR_FTP_PATH "=ftp://ftp3.ie.freebsd.org" },
525 { " IPv6 Japan", "ftp2.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
526 VAR_FTP_PATH "=ftp://ftp2.jp.freebsd.org" },
527 { " IPv6 USA", "ftp4.us.freebsd.org", NULL, dmenuSetVariable, NULL,
528 VAR_FTP_PATH "=ftp://ftp4.us.freebsd.org" },
530 { "Primary", "ftp1.freebsd.org", NULL, dmenuSetVariable, NULL,
531 VAR_FTP_PATH "=ftp://ftp1.freebsd.org" },
532 { " Primary #2", "ftp2.freebsd.org", NULL, dmenuSetVariable, NULL,
533 VAR_FTP_PATH "=ftp://ftp2.freebsd.org" },
534 { " Primary #3", "ftp3.freebsd.org", NULL, dmenuSetVariable, NULL,
535 VAR_FTP_PATH "=ftp://ftp3.freebsd.org" },
536 { " Primary #4", "ftp4.freebsd.org", NULL, dmenuSetVariable, NULL,
537 VAR_FTP_PATH "=ftp://ftp4.freebsd.org" },
538 { " Primary #5", "ftp5.freebsd.org", NULL, dmenuSetVariable, NULL,
539 VAR_FTP_PATH "=ftp://ftp5.freebsd.org" },
540 { " Primary #6", "ftp6.freebsd.org", NULL, dmenuSetVariable, NULL,
541 VAR_FTP_PATH "=ftp://ftp6.freebsd.org" },
542 { " Primary #7", "ftp7.freebsd.org", NULL, dmenuSetVariable, NULL,
543 VAR_FTP_PATH "=ftp://ftp7.freebsd.org" },
544 { " Primary #8", "ftp8.freebsd.org", NULL, dmenuSetVariable, NULL,
545 VAR_FTP_PATH "=ftp://ftp8.freebsd.org" },
546 { " Primary #9", "ftp9.freebsd.org", NULL, dmenuSetVariable, NULL,
547 VAR_FTP_PATH "=ftp://ftp9.freebsd.org" },
548 { " Primary #10", "ftp10.freebsd.org", NULL, dmenuSetVariable, NULL,
549 VAR_FTP_PATH "=ftp://ftp10.freebsd.org" },
550 { " Primary #11", "ftp11.freebsd.org", NULL, dmenuSetVariable, NULL,
551 VAR_FTP_PATH "=ftp://ftp11.freebsd.org" },
552 { " Primary #12", "ftp12.freebsd.org", NULL, dmenuSetVariable, NULL,
553 VAR_FTP_PATH "=ftp://ftp12.freebsd.org" },
554 { " Primary #13", "ftp13.freebsd.org", NULL, dmenuSetVariable, NULL,
555 VAR_FTP_PATH "=ftp://ftp13.freebsd.org" },
556 { " Primary #14", "ftp14.freebsd.org", NULL, dmenuSetVariable, NULL,
557 VAR_FTP_PATH "=ftp://ftp14.freebsd.org" },
559 { "Argentina", "ftp.ar.freebsd.org", NULL, dmenuSetVariable, NULL,
560 VAR_FTP_PATH "=ftp://ftp.ar.freebsd.org" },
562 { "Australia", "ftp.au.freebsd.org", NULL, dmenuSetVariable, NULL,
563 VAR_FTP_PATH "=ftp://ftp.au.freebsd.org" },
564 { " Australia #2","ftp2.au.freebsd.org", NULL, dmenuSetVariable, NULL,
565 VAR_FTP_PATH "=ftp://ftp2.au.freebsd.org" },
566 { " Australia #3","ftp3.au.freebsd.org", NULL, dmenuSetVariable, NULL,
567 VAR_FTP_PATH "=ftp://ftp3.au.freebsd.org" },
569 { "Austria","ftp.at.freebsd.org", NULL, dmenuSetVariable, NULL,
570 VAR_FTP_PATH "=ftp://ftp.at.freebsd.org" },
571 { " Austria #2","ftp2.at.freebsd.org", NULL, dmenuSetVariable, NULL,
572 VAR_FTP_PATH "=ftp://ftp2.at.freebsd.org" },
574 { "Brazil", "ftp.br.freebsd.org", NULL, dmenuSetVariable, NULL,
575 VAR_FTP_PATH "=ftp://ftp.br.freebsd.org" },
576 { " Brazil #2", "ftp2.br.freebsd.org", NULL, dmenuSetVariable, NULL,
577 VAR_FTP_PATH "=ftp://ftp2.br.freebsd.org" },
578 { " Brazil #3", "ftp3.br.freebsd.org", NULL, dmenuSetVariable, NULL,
579 VAR_FTP_PATH "=ftp://ftp3.br.freebsd.org" },
580 { " Brazil #4", "ftp4.br.freebsd.org", NULL, dmenuSetVariable, NULL,
581 VAR_FTP_PATH "=ftp://ftp4.br.freebsd.org" },
582 { " Brazil #5", "ftp5.br.freebsd.org", NULL, dmenuSetVariable, NULL,
583 VAR_FTP_PATH "=ftp://ftp5.br.freebsd.org" },
584 { " Brazil #6", "ftp6.br.freebsd.org", NULL, dmenuSetVariable, NULL,
585 VAR_FTP_PATH "=ftp://ftp6.br.freebsd.org" },
586 { " Brazil #7", "ftp7.br.freebsd.org", NULL, dmenuSetVariable, NULL,
587 VAR_FTP_PATH "=ftp://ftp7.br.freebsd.org" },
589 { "Canada", "ftp.ca.freebsd.org", NULL, dmenuSetVariable, NULL,
590 VAR_FTP_PATH "=ftp://ftp.ca.freebsd.org" },
592 { "China", "ftp.cn.freebsd.org", NULL, dmenuSetVariable, NULL,
593 VAR_FTP_PATH "=ftp://ftp.cn.freebsd.org" },
594 { " China #2", "ftp2.cn.freebsd.org", NULL, dmenuSetVariable, NULL,
595 VAR_FTP_PATH "=ftp://ftp2.cn.freebsd.org" },
597 { "Croatia", "ftp.hr.freebsd.org", NULL, dmenuSetVariable, NULL,
598 VAR_FTP_PATH "=ftp://ftp.hr.freebsd.org" },
600 { "Czech Republic", "ftp.cz.freebsd.org", NULL, dmenuSetVariable, NULL,
601 VAR_FTP_PATH "=ftp://ftp.cz.freebsd.org" },
603 { "Denmark", "ftp.dk.freebsd.org", NULL, dmenuSetVariable, NULL,
604 VAR_FTP_PATH "=ftp://ftp.dk.freebsd.org" },
605 { " Denmark #2", "ftp2.dk.freebsd.org", NULL, dmenuSetVariable, NULL,
606 VAR_FTP_PATH "=ftp://ftp2.dk.freebsd.org" },
608 { "Estonia", "ftp.ee.freebsd.org", NULL, dmenuSetVariable, NULL,
609 VAR_FTP_PATH "=ftp://ftp.ee.freebsd.org" },
611 { "Finland", "ftp.fi.freebsd.org", NULL, dmenuSetVariable, NULL,
612 VAR_FTP_PATH "=ftp://ftp.fi.freebsd.org" },
614 { "France", "ftp.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
615 VAR_FTP_PATH "=ftp://ftp.fr.freebsd.org" },
616 { " France #2", "ftp2.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
617 VAR_FTP_PATH "=ftp://ftp2.fr.freebsd.org" },
618 { " France #3", "ftp3.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
619 VAR_FTP_PATH "=ftp://ftp3.fr.freebsd.org" },
620 { " France #5", "ftp5.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
621 VAR_FTP_PATH "=ftp://ftp5.fr.freebsd.org" },
622 { " France #6", "ftp6.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
623 VAR_FTP_PATH "=ftp://ftp6.fr.freebsd.org" },
624 { " France #8", "ftp8.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
625 VAR_FTP_PATH "=ftp://ftp8.fr.freebsd.org" },
627 { "Germany", "ftp.de.freebsd.org", NULL, dmenuSetVariable, NULL,
628 VAR_FTP_PATH "=ftp://ftp.de.freebsd.org" },
629 { " Germany #2", "ftp2.de.freebsd.org", NULL, dmenuSetVariable, NULL,
630 VAR_FTP_PATH "=ftp://ftp2.de.freebsd.org" },
631 { " Germany #3", "ftp3.de.freebsd.org", NULL, dmenuSetVariable, NULL,
632 VAR_FTP_PATH "=ftp://ftp3.de.freebsd.org" },
633 { " Germany #4", "ftp4.de.freebsd.org", NULL, dmenuSetVariable, NULL,
634 VAR_FTP_PATH "=ftp://ftp4.de.freebsd.org" },
635 { " Germany #5", "ftp5.de.freebsd.org", NULL, dmenuSetVariable, NULL,
636 VAR_FTP_PATH "=ftp://ftp5.de.freebsd.org" },
637 { " Germany #6", "ftp6.de.freebsd.org", NULL, dmenuSetVariable, NULL,
638 VAR_FTP_PATH "=ftp://ftp6.de.freebsd.org" },
639 { " Germany #7", "ftp7.de.freebsd.org", NULL, dmenuSetVariable, NULL,
640 VAR_FTP_PATH "=ftp://ftp7.de.freebsd.org" },
641 { " Germany #8", "ftp8.de.freebsd.org", NULL, dmenuSetVariable, NULL,
642 VAR_FTP_PATH "=ftp://ftp8.de.freebsd.org" },
644 { "Greece", "ftp.gr.freebsd.org", NULL, dmenuSetVariable, NULL,
645 VAR_FTP_PATH "=ftp://ftp.gr.freebsd.org" },
646 { " Greece #2", "ftp2.gr.freebsd.org", NULL, dmenuSetVariable, NULL,
647 VAR_FTP_PATH "=ftp://ftp2.gr.freebsd.org" },
649 { "Hong Kong", "ftp.hk.super.net", NULL, dmenuSetVariable, NULL,
650 VAR_FTP_PATH "=ftp://ftp.hk.super.net" },
652 { "Hungary", "ftp.hu.freebsd.org", NULL, dmenuSetVariable, NULL,
653 VAR_FTP_PATH "=ftp://ftp.hu.freebsd.org" },
655 { "Iceland", "ftp.is.freebsd.org", NULL, dmenuSetVariable, NULL,
656 VAR_FTP_PATH "=ftp://ftp.is.freebsd.org" },
658 { "Ireland", "ftp.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
659 VAR_FTP_PATH "=ftp://ftp.ie.freebsd.org" },
660 { " Ireland #2", "ftp2.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
661 VAR_FTP_PATH "=ftp://ftp2.ie.freebsd.org" },
662 { " Ireland #3", "ftp3.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
663 VAR_FTP_PATH "=ftp://ftp3.ie.freebsd.org" },
665 { "Italy", "ftp.it.freebsd.org", NULL, dmenuSetVariable, NULL,
666 VAR_FTP_PATH "=ftp://ftp.it.freebsd.org" },
668 { "Japan", "ftp.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
669 VAR_FTP_PATH "=ftp://ftp.jp.freebsd.org" },
670 { " Japan #2", "ftp2.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
671 VAR_FTP_PATH "=ftp://ftp2.jp.freebsd.org" },
672 { " Japan #3", "ftp3.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
673 VAR_FTP_PATH "=ftp://ftp3.jp.freebsd.org" },
674 { " Japan #4", "ftp4.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
675 VAR_FTP_PATH "=ftp://ftp4.jp.freebsd.org" },
676 { " Japan #5", "ftp5.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
677 VAR_FTP_PATH "=ftp://ftp5.jp.freebsd.org" },
678 { " Japan #6", "ftp6.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
679 VAR_FTP_PATH "=ftp://ftp6.jp.freebsd.org" },
680 { " Japan #7", "ftp7.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
681 VAR_FTP_PATH "=ftp://ftp7.jp.freebsd.org" },
682 { " Japan #8", "ftp8.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
683 VAR_FTP_PATH "=ftp://ftp8.jp.freebsd.org" },
684 { " Japan #9", "ftp9.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
685 VAR_FTP_PATH "=ftp://ftp9.jp.freebsd.org" },
687 { "Korea", "ftp.kr.freebsd.org", NULL, dmenuSetVariable, NULL,
688 VAR_FTP_PATH "=ftp://ftp.kr.freebsd.org" },
689 { " Korea #2", "ftp2.kr.freebsd.org", NULL, dmenuSetVariable, NULL,
690 VAR_FTP_PATH "=ftp://ftp2.kr.freebsd.org" },
692 { "Lithuania", "ftp.lt.freebsd.org", NULL, dmenuSetVariable, NULL,
693 VAR_FTP_PATH "=ftp://ftp.lt.freebsd.org" },
695 { "Netherlands", "ftp.nl.freebsd.org", NULL, dmenuSetVariable, NULL,
696 VAR_FTP_PATH "=ftp://ftp.nl.freebsd.org" },
697 { " Netherlands #2", "ftp2.nl.freebsd.org", NULL, dmenuSetVariable, NULL,
698 VAR_FTP_PATH "=ftp://ftp2.nl.freebsd.org" },
700 { "Norway", "ftp.no.freebsd.org", NULL, dmenuSetVariable, NULL,
701 VAR_FTP_PATH "=ftp://ftp.no.freebsd.org" },
702 { " Norway #3", "ftp3.no.freebsd.org", NULL, dmenuSetVariable, NULL,
703 VAR_FTP_PATH "=ftp://ftp3.no.freebsd.org" },
705 { "Poland", "ftp.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
706 VAR_FTP_PATH "=ftp://ftp.pl.freebsd.org" },
707 { " Poland #2", "ftp2.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
708 VAR_FTP_PATH "=ftp://ftp2.pl.freebsd.org" },
709 { " Poland #5", "ftp5.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
710 VAR_FTP_PATH "=ftp://ftp5.pl.freebsd.org" },
712 { "Portugal", "ftp.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
713 VAR_FTP_PATH "=ftp://ftp.pt.freebsd.org" },
714 { " Portugal #2", "ftp2.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
715 VAR_FTP_PATH "=ftp://ftp2.pt.freebsd.org" },
716 { " Portugal #4", "ftp4.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
717 VAR_FTP_PATH "=ftp://ftp4.pt.freebsd.org" },
719 { "Romania", "ftp.ro.freebsd.org", NULL, dmenuSetVariable, NULL,
720 VAR_FTP_PATH "=ftp://ftp.ro.freebsd.org" },
722 { "Russia", "ftp.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
723 VAR_FTP_PATH "=ftp://ftp.ru.freebsd.org" },
724 { " Russia #2", "ftp2.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
725 VAR_FTP_PATH "=ftp://ftp2.ru.freebsd.org" },
726 { " Russia #3", "ftp3.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
727 VAR_FTP_PATH "=ftp://ftp3.ru.freebsd.org" },
728 { " Russia #4", "ftp4.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
729 VAR_FTP_PATH "=ftp://ftp4.ru.freebsd.org" },
731 { "Singapore", "ftp.sg.freebsd.org", NULL, dmenuSetVariable, NULL,
732 VAR_FTP_PATH "=ftp://ftp.sg.freebsd.org" },
734 { "Slovak Republic", "ftp.sk.freebsd.org", NULL, dmenuSetVariable, NULL,
735 VAR_FTP_PATH "=ftp://ftp.sk.freebsd.org" },
737 { "Slovenia", "ftp.si.freebsd.org", NULL, dmenuSetVariable, NULL,
738 VAR_FTP_PATH "=ftp://ftp.si.freebsd.org" },
739 { " Slovenia #2", "ftp2.si.freebsd.org", NULL, dmenuSetVariable, NULL,
740 VAR_FTP_PATH "=ftp://ftp2.si.freebsd.org" },
742 { "South Africa", "ftp.za.freebsd.org", NULL, dmenuSetVariable, NULL,
743 VAR_FTP_PATH "=ftp://ftp.za.freebsd.org" },
744 { " South Africa #2", "ftp2.za.freebsd.org", NULL, dmenuSetVariable, NULL,
745 VAR_FTP_PATH "=ftp://ftp2.za.freebsd.org" },
746 { " South Africa #3", "ftp3.za.freebsd.org", NULL, dmenuSetVariable, NULL,
747 VAR_FTP_PATH "=ftp://ftp3.za.freebsd.org" },
748 { " South Africa #4", "ftp4.za.freebsd.org", NULL, dmenuSetVariable, NULL,
749 VAR_FTP_PATH "=ftp://ftp4.za.freebsd.org" },
751 { "Spain", "ftp.es.freebsd.org", NULL, dmenuSetVariable, NULL,
752 VAR_FTP_PATH "=ftp://ftp.es.freebsd.org" },
753 { " Spain #2", "ftp2.es.freebsd.org", NULL, dmenuSetVariable, NULL,
754 VAR_FTP_PATH "=ftp://ftp2.es.freebsd.org" },
755 { " Spain #3", "ftp3.es.freebsd.org", NULL, dmenuSetVariable, NULL,
756 VAR_FTP_PATH "=ftp://ftp3.es.freebsd.org" },
758 { "Sweden", "ftp.se.freebsd.org", NULL, dmenuSetVariable, NULL,
759 VAR_FTP_PATH "=ftp://ftp.se.freebsd.org" },
760 { " Sweden #2", "ftp2.se.freebsd.org", NULL, dmenuSetVariable, NULL,
761 VAR_FTP_PATH "=ftp://ftp2.se.freebsd.org" },
762 { " Sweden #3", "ftp3.se.freebsd.org", NULL, dmenuSetVariable, NULL,
763 VAR_FTP_PATH "=ftp://ftp3.se.freebsd.org" },
764 { " Sweden #5", "ftp5.se.freebsd.org", NULL, dmenuSetVariable, NULL,
765 VAR_FTP_PATH "=ftp://ftp5.se.freebsd.org" },
767 { "Switzerland", "ftp.ch.freebsd.org", NULL, dmenuSetVariable, NULL,
768 VAR_FTP_PATH "=ftp://ftp.ch.freebsd.org" },
769 { " Switzerland #2", "ftp2.ch.freebsd.org", NULL, dmenuSetVariable, NULL,
770 VAR_FTP_PATH "=ftp://ftp2.ch.freebsd.org" },
772 { "Taiwan", "ftp.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
773 VAR_FTP_PATH "=ftp://ftp.tw.freebsd.org" },
774 { " Taiwan #2", "ftp2.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
775 VAR_FTP_PATH "=ftp://ftp2.tw.freebsd.org" },
776 { " Taiwan #3", "ftp3.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
777 VAR_FTP_PATH "=ftp://ftp3.tw.freebsd.org" },
778 { " Taiwan #4", "ftp4.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
779 VAR_FTP_PATH "=ftp://ftp4.tw.freebsd.org" },
780 { " Taiwan #6", "ftp6.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
781 VAR_FTP_PATH "=ftp://ftp6.tw.freebsd.org" },
782 { " Taiwan #11", "ftp11.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
783 VAR_FTP_PATH "=ftp://ftp11.tw.freebsd.org" },
785 { "Turkey", "ftp.tr.freebsd.org", NULL, dmenuSetVariable, NULL,
786 VAR_FTP_PATH "=ftp://ftp.tr.freebsd.org" },
788 { "UK", "ftp.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
789 VAR_FTP_PATH "=ftp://ftp.uk.freebsd.org" },
790 { " UK #2", "ftp2.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
791 VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org" },
792 { " UK #3", "ftp3.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
793 VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org" },
794 { " UK #4", "ftp4.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
795 VAR_FTP_PATH "=ftp://ftp4.uk.freebsd.org" },
796 { " UK #5", "ftp5.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
797 VAR_FTP_PATH "=ftp://ftp5.uk.freebsd.org" },
798 { " UK #6", "ftp6.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
799 VAR_FTP_PATH "=ftp://ftp6.uk.freebsd.org" },
801 { "Ukraine", "ftp.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
802 VAR_FTP_PATH "=ftp://ftp.ua.freebsd.org" },
803 { " Ukraine #2", "ftp2.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
804 VAR_FTP_PATH "=ftp://ftp2.ua.freebsd.org" },
805 { " Ukraine #5", "ftp5.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
806 VAR_FTP_PATH "=ftp://ftp5.ua.freebsd.org" },
807 { " Ukraine #6", "ftp6.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
808 VAR_FTP_PATH "=ftp://ftp6.ua.freebsd.org" },
809 { " Ukraine #7", "ftp7.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
810 VAR_FTP_PATH "=ftp://ftp7.ua.freebsd.org" },
811 { " Ukraine #8", "ftp8.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
812 VAR_FTP_PATH "=ftp://ftp8.ua.freebsd.org" },
814 { "USA #1", "ftp1.us.freebsd.org", NULL, dmenuSetVariable, NULL,
815 VAR_FTP_PATH "=ftp://ftp1.us.freebsd.org" },
816 { " USA #2", "ftp2.us.freebsd.org", NULL, dmenuSetVariable, NULL,
817 VAR_FTP_PATH "=ftp://ftp2.us.freebsd.org" },
818 { " USA #3", "ftp3.us.freebsd.org", NULL, dmenuSetVariable, NULL,
819 VAR_FTP_PATH "=ftp://ftp3.us.freebsd.org" },
820 { " USA #4", "ftp4.us.freebsd.org", NULL, dmenuSetVariable, NULL,
821 VAR_FTP_PATH "=ftp://ftp4.us.freebsd.org" },
822 { " USA #5", "ftp5.us.freebsd.org", NULL, dmenuSetVariable, NULL,
823 VAR_FTP_PATH "=ftp://ftp5.us.freebsd.org" },
824 { " USA #6", "ftp6.us.freebsd.org", NULL, dmenuSetVariable, NULL,
825 VAR_FTP_PATH "=ftp://ftp6.us.freebsd.org" },
826 { " USA #7", "ftp7.us.freebsd.org", NULL, dmenuSetVariable, NULL,
827 VAR_FTP_PATH "=ftp://ftp7.us.freebsd.org" },
828 { " USA #8", "ftp8.us.freebsd.org", NULL, dmenuSetVariable, NULL,
829 VAR_FTP_PATH "=ftp://ftp8.us.freebsd.org" },
830 { " USA #9", "ftp9.us.freebsd.org", NULL, dmenuSetVariable, NULL,
831 VAR_FTP_PATH "=ftp://ftp9.us.freebsd.org" },
832 { " USA #10", "ftp10.us.freebsd.org", NULL, dmenuSetVariable, NULL,
833 VAR_FTP_PATH "=ftp://ftp10.us.freebsd.org" },
834 { " USA #11", "ftp11.us.freebsd.org", NULL, dmenuSetVariable, NULL,
835 VAR_FTP_PATH "=ftp://ftp11.us.freebsd.org" },
836 { " USA #12", "ftp12.us.freebsd.org", NULL, dmenuSetVariable, NULL,
837 VAR_FTP_PATH "=ftp://ftp12.us.freebsd.org" },
838 { " USA #13", "ftp13.us.freebsd.org", NULL, dmenuSetVariable, NULL,
839 VAR_FTP_PATH "=ftp://ftp13.us.freebsd.org" },
840 { " USA #14", "ftp14.us.freebsd.org", NULL, dmenuSetVariable, NULL,
841 VAR_FTP_PATH "=ftp://ftp14.us.freebsd.org" },
842 { " USA #15", "ftp15.us.freebsd.org", NULL, dmenuSetVariable, NULL,
843 VAR_FTP_PATH "=ftp://ftp15.us.freebsd.org" },
848 DMenu MenuMediaTape = {
849 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
850 "Choose a tape drive type",
851 "FreeBSD can be installed from tape drive, though this installation\n"
852 "method requires a certain amount of temporary storage in addition\n"
853 "to the space required by the distribution itself (tape drives make\n"
854 "poor random-access devices, so we extract _everything_ on the tape\n"
855 "in one pass). If you have sufficient space for this, then you should\n"
856 "select one of the following tape devices detected on your system.",
857 "Press F1 to read the installation guide",
862 DMenu MenuNetworkDevice = {
863 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
864 "Network interface information required",
865 "If you are using PPP over a serial device, as opposed to a direct\n"
866 "ethernet connection, then you may first need to dial your Internet\n"
867 "Service Provider using the ppp utility we provide for that purpose.\n"
868 "If you're using SLIP over a serial device then the expectation is\n"
869 "that you have a HARDWIRED connection.\n\n"
870 "You can also install over a parallel port using a special \"laplink\"\n"
871 "cable to another machine running FreeBSD.",
872 "Press F1 to read network configuration manual",
877 /* Prototype KLD load menu */
881 "Load a KLD from a floppy\n",
887 /* The media selection menu */
889 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
890 "Choose Installation Media",
891 "FreeBSD can be installed from a variety of different installation\n"
892 "media, ranging from floppies to an Internet FTP server. If you're\n"
893 "installing FreeBSD from a supported CD/DVD drive then this is generally\n"
894 "the best media to use if you have no overriding reason for using other\n"
896 "Press F1 for more information on the various media types",
898 { { "1 CD/DVD", "Install from a FreeBSD CD/DVD", NULL, mediaSetCDROM },
899 { "2 FTP", "Install from an FTP server", NULL, mediaSetFTPActive },
900 { "3 FTP Passive", "Install from an FTP server through a firewall", NULL, mediaSetFTPPassive },
901 { "4 HTTP", "Install from an FTP server through a http proxy", NULL, mediaSetHTTP },
902 { "5 DOS", "Install from a DOS partition", NULL, mediaSetDOS },
903 { "6 NFS", "Install over NFS", NULL, mediaSetNFS },
904 { "7 File System", "Install from an existing filesystem", NULL, mediaSetUFS },
905 { "8 Floppy", "Install from a floppy disk set", NULL, mediaSetFloppy },
906 { "9 Tape", "Install from SCSI or QIC tape", NULL, mediaSetTape },
907 { "X Options", "Go to the Options screen", NULL, optionsEditor },
911 /* The distributions menu */
912 DMenu MenuDistributions = {
913 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
914 "Choose Distributions",
915 "As a convenience, we provide several \"canned\" distribution sets.\n"
916 "These select what we consider to be the most reasonable defaults for the\n"
917 "type of system in question. If you would prefer to pick and choose the\n"
918 "list of distributions yourself, simply select \"Custom\". You can also\n"
919 "pick a canned distribution set and then fine-tune it with the Custom item.\n\n"
920 "Choose an item by pressing [SPACE] or [ENTER]. When finished, choose the\n"
921 "Exit item or move to the OK button with [TAB].",
922 "Press F1 for more information on these options.",
924 { { "X Exit", "Exit this menu (returning to previous)",
925 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
926 { "All", "All system sources, binaries and X Window System",
927 checkDistEverything, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
928 { "Reset", "Reset selected distribution list to nothing",
929 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
930 { "4 Developer", "Full sources, binaries and doc but no games",
931 checkDistDeveloper, distSetDeveloper },
932 { "5 X-Developer", "Same as above + X Window System",
933 checkDistXDeveloper, distSetXDeveloper },
934 { "6 Kern-Developer", "Full binaries and doc, kernel sources only",
935 checkDistKernDeveloper, distSetKernDeveloper },
936 { "7 X-Kern-Developer", "Same as above + X Window System",
937 checkDistXKernDeveloper, distSetXKernDeveloper },
938 { "8 User", "Average user - binaries and doc only",
939 checkDistUser, distSetUser },
940 { "9 X-User", "Same as above + X Window System",
941 checkDistXUser, distSetXUser },
942 { "A Minimal", "The smallest configuration possible",
943 checkDistMinimum, distSetMinimum },
944 { "B Custom", "Specify your own distribution set",
945 NULL, dmenuSubmenu, NULL, &MenuSubDistributions, '>', '>', '>' },
949 DMenu MenuSubDistributions = {
950 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
951 "Select the distributions you wish to install.",
952 "Please check off the distributions you wish to install. At the\n"
953 "very minimum, this should be \"base\".",
956 { { "X Exit", "Exit this menu (returning to previous)",
957 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
958 { "All", "All system sources, binaries and X Window System",
959 NULL, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
960 { "Reset", "Reset all of the below",
961 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
962 { " base", "Binary base distribution (required)",
963 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_BASE },
964 { " dict", "Spelling checker dictionary files",
965 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DICT },
966 { " doc", "Miscellaneous FreeBSD online docs",
967 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DOC },
968 { " games", "Games (non-commercial)",
969 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_GAMES },
970 { " info", "GNU info files",
971 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_INFO },
973 { " lib32", "32-bit runtime compatibility libraries",
974 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LIB32 },
976 { " man", "System manual pages - recommended",
977 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_MANPAGES },
978 { " catman", "Preformatted system manual pages",
979 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_CATPAGES },
980 { " proflibs", "Profiled versions of the libraries",
981 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PROFLIBS },
982 { " src", "Sources for everything",
983 srcFlagCheck, distSetSrc },
984 { " ports", "The FreeBSD Ports collection",
985 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
986 { " local", "Local additions collection",
987 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
988 { " X.Org", "The X.Org distribution",
989 x11FlagCheck, distSetXOrg },
993 DMenu MenuSrcDistributions = {
994 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
995 "Select the sub-components of src you wish to install.",
996 "Please check off those portions of the FreeBSD source tree\n"
997 "you wish to install.",
1000 { { "X Exit", "Exit this menu (returning to previous)",
1001 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1002 { "All", "Select all of the below",
1003 NULL, setSrc, NULL, NULL, ' ', ' ', ' ' },
1004 { "Reset", "Reset all of the below",
1005 NULL, clearSrc, NULL, NULL, ' ', ' ', ' ' },
1006 { " base", "top-level files in /usr/src",
1007 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BASE },
1008 { " contrib", "/usr/src/contrib (contributed software)",
1009 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CONTRIB },
1010 { " crypto", "/usr/src/crypto (contrib encryption sources)",
1011 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SCRYPTO },
1012 { " gnu", "/usr/src/gnu (software from the GNU Project)",
1013 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GNU },
1014 { " etc", "/usr/src/etc (miscellaneous system files)",
1015 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_ETC },
1016 { " games", "/usr/src/games (the obvious!)",
1017 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GAMES },
1018 { " include", "/usr/src/include (header files)",
1019 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_INCLUDE },
1020 { " krb5", "/usr/src/kerberos5 (sources for Kerberos5)",
1021 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SKERBEROS5 },
1022 { " lib", "/usr/src/lib (system libraries)",
1023 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIB },
1024 { " libexec", "/usr/src/libexec (system programs)",
1025 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIBEXEC },
1026 { " release", "/usr/src/release (release-generation tools)",
1027 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RELEASE },
1028 { " rescue", "/usr/src/rescue (static rescue tools)",
1029 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RESCUE },
1030 { " bin", "/usr/src/bin (system binaries)",
1031 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BIN },
1032 { " sbin", "/usr/src/sbin (system binaries)",
1033 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SBIN },
1034 { " secure", "/usr/src/secure (BSD encryption sources)",
1035 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SSECURE },
1036 { " share", "/usr/src/share (documents and shared files)",
1037 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SHARE },
1038 { " sys", "/usr/src/sys (FreeBSD kernel)",
1039 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SYS },
1040 { " tools", "/usr/src/tools (miscellaneous tools)",
1041 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_TOOLS },
1042 { " ubin", "/usr/src/usr.bin (user binaries)",
1043 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_UBIN },
1044 { " usbin", "/usr/src/usr.sbin (aux system binaries)",
1045 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_USBIN },
1049 DMenu MenuXOrgConfig = {
1050 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1051 "Please select the X.Org configuration tool you want to use.",
1052 "The first option, xorgcfg, is fully graphical.\n"
1053 "The second option provides a menu-based interface similar to\n"
1054 "what you are currently using. "
1055 "The third option, xorgconfig, is\n"
1056 "a more simplistic shell-script based tool and less friendly to\n"
1057 "new users, but it may work in situations where the other options\n"
1061 { { "X Exit", "Exit this menu (returning to previous)",
1063 { "2 xorgcfg", "Fully graphical X.Org configuration tool.",
1064 NULL, dmenuSetVariable, NULL, VAR_XORG_CONFIG "=xorgcfg" },
1065 { "3 xorgcfg -textmode", "ncurses-based X.Org configuration tool.",
1066 NULL, dmenuSetVariable, NULL, VAR_XORG_CONFIG "=xorgcfg -textmode" },
1067 { "4 xorgconfig", "Shell-script based X.Org configuration tool.",
1068 NULL, dmenuSetVariable, NULL, VAR_XORG_CONFIG "=xorgconfig" },
1069 { "D XDesktop", "X already set up, just do desktop configuration.",
1070 NULL, dmenuSubmenu, NULL, &MenuXDesktops },
1074 DMenu MenuXDesktops = {
1075 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1076 "Please select the default X desktop to use.",
1077 "By default, X.Org comes with a fairly vanilla desktop which\n"
1078 "is based around the twm(1) window manager and does not offer\n"
1079 "much in the way of features. It does have the advantage of\n"
1080 "being a standard part of X so you don't need to load anything\n"
1081 "extra in order to use it. If, however, you have access to a\n"
1082 "reasonably full packages collection on your installation media,\n"
1083 "you can choose any one of the following desktops as alternatives.",
1086 { { "X Exit", "Exit this menu (returning to previous)",
1088 { "2 KDE", "The K Desktop Environment (Lite Edition)",
1089 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=kde" },
1090 { "3 GNOME 2", "The GNOME 2 Desktop Environment (Lite Edition)",
1091 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=gnome2" },
1092 { "4 Afterstep", "The Afterstep window manager",
1093 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=afterstep" },
1094 { "5 Windowmaker", "The Windowmaker window manager",
1095 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=windowmaker" },
1096 { "6 fvwm", "The fvwm window manager",
1097 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=fvwm2" },
1101 DMenu MenuXOrgSelect = {
1103 "X.Org Distribution",
1104 "Please select the components you need from the X.Org\n"
1105 "distribution sets.",
1108 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1109 { "Basic", "Basic component menu (required)", NULL, dmenuSubmenu, NULL, &MenuXOrgSelectCore },
1110 { "Server", "X server menu", NULL, dmenuSubmenu, NULL, &MenuXOrgSelectServer },
1111 { "Fonts", "Font set menu", NULL, dmenuSubmenu, NULL, &MenuXOrgSelectFonts },
1115 DMenu MenuXOrgSelectCore = {
1116 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1117 "X.Org base distribution types",
1118 "Please check off the basic X.Org components you wish to install.\n"
1119 "Bin, lib, and set are recommended for a minimum installaion.",
1122 { { "X Exit", "Exit this menu (returning to previous)",
1123 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1124 { "All", "Select all below",
1125 NULL, setX11Misc, NULL, NULL, ' ', ' ', ' ' },
1126 { "Reset", "Reset all below",
1127 NULL, clearX11Misc, NULL, NULL, ' ', ' ', ' ' },
1128 { " lib", "Shared libraries and data files needed at runtime",
1129 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_LIB },
1130 { " bin", "Client applications",
1131 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_CLIENTS },
1132 { " man", "Manual pages",
1133 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_MAN },
1134 { " doc", "Documentation",
1135 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_DOC },
1136 { " prog", "Programming tools",
1137 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_IMAKE },
1141 DMenu MenuXOrgSelectFonts = {
1142 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1143 "X.Org Font distribution selection.",
1144 "Please check off the individual font distributions you wish to\n\
1145 install. At the minimum, you should install the standard\n\
1146 75 DPI and misc fonts if you're also installing an X server\n\
1147 (these are selected by default). The TrueType set is also \n\
1148 highly recommended. The font server is unnecessary in most\n\
1152 { { "X Exit", "Exit this menu (returning to previous)",
1153 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1154 { "All", "All fonts",
1155 NULL, setX11Fonts, NULL, NULL, ' ', ' ', ' ' },
1156 { "Reset", "Reset font selections",
1157 NULL, clearX11Fonts, NULL, NULL, ' ', ' ', ' ' },
1158 { " fmsc", "Standard miscellaneous fonts",
1159 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_MISC },
1160 { " f75", "75 DPI fonts",
1161 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_75 },
1162 { " f100", "100 DPI fonts",
1163 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_100 },
1164 { " fcyr", "Cyrillic Fonts",
1165 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_CYR },
1166 { " ft1", "Type1 scalable fonts",
1167 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_T1 },
1168 { " ftt", "TrueType scalable fonts",
1169 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTS_TT },
1170 { " fs", "Font server",
1171 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_FONTSERVER },
1175 DMenu MenuXOrgSelectServer = {
1176 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1177 "X.Org X Server selection.",
1178 "Please check off the types of X servers you wish to install.\n",
1181 { { "X Exit", "Exit this menu (returning to previous)",
1182 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1183 { "All", "Select all of the above",
1184 NULL, setX11Servers, NULL, NULL, ' ', ' ', ' ' },
1185 { "Reset", "Reset all of the above",
1186 NULL, clearX11Servers, NULL, NULL, ' ', ' ', ' ' },
1187 { " srv", "Standard Graphics Framebuffer",
1188 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_SERVER },
1189 { " nest", "Nested X Server",
1190 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_NESTSERVER },
1191 { " prt", "X Print Server",
1192 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_PRINTSERVER },
1193 { " vfb", "Virtual Framebuffer",
1194 dmenuFlagCheck, dmenuSetFlag, NULL, &XOrgDists, '[', 'X', ']', DIST_XORG_VFBSERVER },
1198 DMenu MenuDiskDevices = {
1199 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1201 "Please select the drive, or drives, on which you wish to perform\n"
1202 "this operation. If you are attempting to install a boot partition\n"
1203 "on a drive other than the first one or have multiple operating\n"
1204 "systems on your machine, you will have the option to install a boot\n"
1205 "manager later. To select a drive, use the arrow keys to move to it\n"
1206 "and press [SPACE] or [ENTER]. To de-select it, press it again.\n\n"
1207 "Use [TAB] to get to the buttons and leave this menu.",
1208 "Press F1 for important information regarding disk geometry!",
1213 DMenu MenuHTMLDoc = {
1215 "Select HTML Documentation pointer",
1216 "Please select the body of documentation you're interested in, the main\n"
1217 "ones right now being the FAQ and the Handbook. You can also choose \"other\"\n"
1218 "to enter an arbitrary URL for browsing.",
1219 "Press F1 for more help on what you see here.",
1221 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1222 { "2 Handbook", "The FreeBSD Handbook.", NULL, docShowDocument },
1223 { "3 FAQ", "The Frequently Asked Questions guide.", NULL, docShowDocument },
1224 { "4 Home", "The Home Pages for the FreeBSD Project (requires net)", NULL, docShowDocument },
1225 { "5 Other", "Enter a URL.", NULL, docShowDocument },
1229 /* The main installation menu */
1230 DMenu MenuInstallCustom = {
1232 "Choose Custom Installation Options",
1233 "This is the custom installation menu. You may use this menu to specify\n"
1234 "details on the type of distribution you wish to have, where you wish\n"
1235 "to install it from and how you wish to allocate disk storage to FreeBSD.",
1236 "Press F1 to read the installation guide",
1238 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1239 { "2 Options", "View/Set various installation options", NULL, optionsEditor },
1241 { "3 Label", "Label disk partitions", NULL, diskLabelEditor },
1242 { "4 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
1243 { "5 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
1244 { "6 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
1246 { "3 Partition", "Allocate disk space for FreeBSD", NULL, diskPartitionEditor },
1247 { "4 Label", "Label allocated disk partitions", NULL, diskLabelEditor },
1248 { "5 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
1249 { "6 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
1250 { "7 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
1255 #if defined(__i386__) || defined(__amd64__)
1258 DMenu MenuIPLType = {
1259 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1260 "overwrite me", /* will be disk specific label */
1261 "If you want a FreeBSD Boot Manager, select \"BootMgr\". If you would\n"
1262 "prefer your Boot Manager to remain untouched then select \"None\".\n\n",
1263 "Press F1 to read about drive setup",
1265 { { "BootMgr", "Install the FreeBSD Boot Manager",
1266 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr },
1267 { "None", "Leave the IPL untouched",
1268 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 },
1273 DMenu MenuMBRType = {
1274 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1275 "overwrite me", /* will be disk specific label */
1276 "FreeBSD comes with a boot selector that allows you to easily\n"
1277 "select between FreeBSD and any other operating systems on your machine\n"
1278 "at boot time. If you have more than one drive and want to boot\n"
1279 "from the second one, the boot selector will also make it possible\n"
1280 "to do so (limitations in the PC BIOS usually prevent this otherwise).\n"
1281 "If you do not want a boot selector, or wish to replace an existing\n"
1282 "one, select \"standard\". If you would prefer your Master Boot\n"
1283 "Record to remain untouched then select \"None\".\n\n"
1284 " NOTE: PC-DOS users will almost certainly require \"None\"!",
1285 "Press F1 to read about drive setup",
1287 { { "BootMgr", "Install the FreeBSD Boot Manager",
1288 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr },
1289 { "Standard", "Install a standard MBR (no boot manager)",
1290 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 },
1291 { "None", "Leave the Master Boot Record untouched",
1292 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 2 },
1296 #endif /* __i386__ */
1298 /* Final configuration menu */
1299 DMenu MenuConfigure = {
1301 "FreeBSD Configuration Menu", /* title */
1302 "If you've already installed FreeBSD, you may use this menu to customize\n"
1303 "it somewhat to suit your particular configuration. Most importantly,\n"
1304 "you can use the Packages utility to load extra \"3rd party\"\n"
1305 "software not provided in the base distributions.",
1306 "Press F1 for more information on these options",
1308 { { "X Exit", "Exit this menu (returning to previous)",
1310 { " Distributions", "Install additional distribution sets",
1311 NULL, distExtractAll },
1312 { " Packages", "Install pre-packaged software for FreeBSD",
1313 NULL, configPackages },
1314 { " Root Password", "Set the system manager's password",
1315 NULL, dmenuSystemCommand, NULL, "passwd root" },
1317 { " Fdisk", "The disk Slice (PC-style partition) Editor",
1318 NULL, diskPartitionEditor },
1320 { " Label", "The disk Label editor",
1321 NULL, diskLabelEditor },
1322 { " User Management", "Add user and group information",
1323 NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
1325 { " Console", "Customize system console behavior",
1326 NULL, dmenuSubmenu, NULL, &MenuSyscons },
1328 { " Time Zone", "Set which time zone you're in",
1329 NULL, dmenuSystemCommand, NULL, "tzsetup" },
1330 { " Media", "Change the installation media type",
1331 NULL, dmenuSubmenu, NULL, &MenuMedia },
1333 { " Mouse", "Configure your mouse",
1334 NULL, dmenuSubmenu, NULL, &MenuMouse },
1336 { " Networking", "Configure additional network services",
1337 NULL, dmenuSubmenu, NULL, &MenuNetworking },
1338 { " Security", "Configure system security options",
1339 NULL, dmenuSubmenu, NULL, &MenuSecurity },
1340 { " Startup", "Configure system startup options",
1341 NULL, dmenuSubmenu, NULL, &MenuStartup },
1342 { " TTYs", "Configure system ttys.",
1343 NULL, configEtcTtys, NULL, "ttys" },
1344 { " Options", "View/Set various installation options",
1345 NULL, optionsEditor },
1346 { " HTML Docs", "Go to the HTML documentation menu (post-install)",
1348 { " Load KLD", "Load a KLD from a floppy",
1353 DMenu MenuStartup = {
1354 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1355 "Startup Services Menu",
1356 "This menu allows you to configure various aspects of your system's\n"
1357 "startup configuration. Use [SPACE] or [ENTER] to select items, and\n"
1358 "[TAB] to move to the buttons. Select Exit to leave this menu.",
1361 { { "X Exit", "Exit this menu (returning to previous)",
1362 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1364 { " APM", "Auto-power management services (typically laptops)",
1365 dmenuVarCheck, dmenuToggleVariable, NULL, "apm_enable=YES" },
1368 { " pccard", "Enable PCCARD (AKA PCMCIA) services (also laptops)",
1369 dmenuVarCheck, dmenuToggleVariable, NULL, "pccard_enable=YES" },
1370 { " pccard mem", "Set PCCARD memory address (if enabled)",
1371 dmenuVarCheck, dmenuISetVariable, NULL, "pccard_mem" },
1372 { " pccard ifconfig", "List of PCCARD ethernet devices to configure",
1373 dmenuVarCheck, dmenuISetVariable, NULL, "pccard_ifconfig" },
1375 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1376 { " Startup dirs", "Set the list of dirs to look for startup scripts",
1377 dmenuVarCheck, dmenuISetVariable, NULL, "local_startup" },
1378 { " named", "Run a local name server on this host",
1379 dmenuVarCheck, dmenuToggleVariable, NULL, "named_enable=YES" },
1380 { " named flags", "Set default flags to named (if enabled)",
1381 dmenuVarCheck, dmenuISetVariable, NULL, "named_flags" },
1382 { " NIS client", "This host wishes to be an NIS client.",
1383 dmenuVarCheck, configRpcBind, NULL, "nis_client_enable=YES" },
1384 { " NIS domainname", "Set NIS domainname (if enabled)",
1385 dmenuVarCheck, dmenuISetVariable, NULL, "nisdomainname" },
1386 { " NIS server", "This host wishes to be an NIS server.",
1387 dmenuVarCheck, configRpcBind, NULL, "nis_server_enable=YES" },
1388 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1389 { " Accounting", "This host wishes to run process accounting.",
1390 dmenuVarCheck, dmenuToggleVariable, NULL, "accounting_enable=YES" },
1391 { " lpd", "This host has a printer and wants to run lpd.",
1392 dmenuVarCheck, dmenuToggleVariable, NULL, "lpd_enable=YES" },
1394 { " Linux", "This host wants to be able to run Linux binaries.",
1395 dmenuVarCheck, configLinux, NULL, VAR_LINUX_ENABLE "=YES" },
1398 { " SCO", "This host wants to be able to run IBCS2 binaries.",
1399 dmenuVarCheck, dmenuToggleVariable, NULL, "ibcs2_enable=YES" },
1400 { " SVR4", "This host wants to be able to run SVR4 binaries.",
1401 dmenuVarCheck, dmenuToggleVariable, NULL, "svr4_enable=YES" },
1404 { " OSF/1", "This host wants to be able to run DEC OSF/1 binaries.",
1405 dmenuVarCheck, configOSF1, NULL, VAR_OSF1_ENABLE "=YES" },
1407 { " quotas", "This host wishes to check quotas on startup.",
1408 dmenuVarCheck, dmenuToggleVariable, NULL, "check_quotas=YES" },
1412 DMenu MenuNetworking = {
1413 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1414 "Network Services Menu",
1415 "You may have already configured one network device (and the other\n"
1416 "various hostname/gateway/name server parameters) in the process\n"
1417 "of installing FreeBSD. This menu allows you to configure other\n"
1418 "aspects of your system's network configuration.",
1421 { { "X Exit", "Exit this menu (returning to previous)",
1422 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1423 { " Interfaces", "Configure additional network interfaces",
1424 NULL, tcpMenuSelect },
1425 { " AMD", "This machine wants to run the auto-mounter service",
1426 dmenuVarCheck, configRpcBind, NULL, "amd_enable=YES" },
1427 { " AMD Flags", "Set flags to AMD service (if enabled)",
1428 dmenuVarCheck, dmenuISetVariable, NULL, "amd_flags" },
1429 { " Anon FTP", "This machine wishes to allow anonymous FTP.",
1430 dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
1431 { " Gateway", "This machine will route packets between interfaces",
1432 dmenuVarCheck, dmenuToggleVariable, NULL, "gateway_enable=YES" },
1433 { " inetd", "This machine wants to run the inet daemon",
1434 dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
1435 { " Mail", "This machine wants to run a Mail Transfer Agent",
1436 NULL, dmenuSubmenu, NULL, &MenuMTA },
1437 { " NFS client", "This machine will be an NFS client",
1438 dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
1439 { " NFS server", "This machine will be an NFS server",
1440 dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
1441 { " Ntpdate", "Select a clock-synchronization server",
1442 dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']',
1443 (uintptr_t)"ntpdate_enable=YES" },
1444 { " PCNFSD", "Run authentication server for clients with PC-NFS.",
1445 dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
1446 { " rpcbind", "RPC port mapping daemon (formerly portmapper)",
1447 dmenuVarCheck, dmenuToggleVariable, NULL, "rpcbind_enable=YES" },
1448 { " rpc.statd", "NFS status monitoring daemon",
1449 dmenuVarCheck, configRpcBind, NULL, "rpc_statd_enable=YES" },
1450 { " rpc.lockd", "NFS file locking daemon",
1451 dmenuVarCheck, configRpcBind, NULL, "rpc_lockd_enable=YES" },
1452 { " Routed", "Select routing daemon (default: routed)",
1453 dmenuVarCheck, configRouter, NULL, "router_enable=YES" },
1454 { " Rwhod", "This machine wants to run the rwho daemon",
1455 dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" },
1456 { " sshd", "This machine wants to run the SSH daemon",
1457 dmenuVarCheck, dmenuToggleVariable, NULL, "sshd_enable=YES" },
1458 { " TCP Extensions", "Allow RFC1323 and RFC1644 TCP extensions?",
1459 dmenuVarCheck, dmenuToggleVariable, NULL, "tcp_extensions=YES" },
1464 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1465 "Mail Transfer Agent Selection",
1466 "You can choose which Mail Transfer Agent (MTA) you wish to install and run.\n"
1467 "Selecting Sendmail local disables sendmail's network socket for\n"
1468 "incoming mail, but still enables sendmail for local and outbound mail.\n"
1469 "The Postfix option will install the Postfix MTA from the ports\n"
1470 "collection. The Exim option will install the Exim MTA from the ports\n"
1471 "collection. To return to the previous menu, select Exit.",
1475 { "Sendmail", "Use sendmail",
1476 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=YES" },
1477 { "Sendmail local", "Use sendmail, but do not listen on the network",
1478 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NO" },
1479 { "Postfix", "Use the Postfix MTA",
1480 NULL, configMTAPostfix, NULL, NULL },
1481 { "Exim", "Use the Exim MTA",
1482 NULL, configMTAExim, NULL, NULL },
1483 { "None", "Do not install an MTA",
1484 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NONE" },
1485 { "X Exit", "Exit this menu (returning to previous)",
1486 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1491 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1492 "NTPDATE Server Selection",
1493 "There are a number of time synchronization servers available\n"
1494 "for public use around the Internet. Please select one reasonably\n"
1495 "close to you to have your system time synchronized accordingly.",
1496 "These are the primary open-access NTP servers",
1498 { { "None", "No NTP server",
1499 dmenuVarsCheck, dmenuSetVariables, NULL,
1500 "ntpdate_enable=NO,ntpdate_flags=none" },
1501 { "Other", "Select a site not on this list",
1502 dmenuVarsCheck, configNTP, NULL, NULL },
1503 { "Worldwide", "pool.ntp.org",
1504 dmenuVarsCheck, dmenuSetVariables, NULL,
1505 "ntpdate_enable=YES,ntpdate_flags=pool.ntp.org" },
1506 { "Asia", "asia.pool.ntp.org",
1507 dmenuVarsCheck, dmenuSetVariables, NULL,
1508 "ntpdate_enable=YES,ntpdate_flags=asia.pool.ntp.org" },
1509 { "Europe", "europe.pool.ntp.org",
1510 dmenuVarsCheck, dmenuSetVariables, NULL,
1511 "ntpdate_enable=YES,ntpdate_flags=europe.pool.ntp.org" },
1512 { "Oceania", "oceania.pool.ntp.org",
1513 dmenuVarsCheck, dmenuSetVariables, NULL,
1514 "ntpdate_enable=YES,ntpdate_flags=oceania.pool.ntp.org" },
1515 { "North America", "north-america.pool.ntp.org",
1516 dmenuVarsCheck, dmenuSetVariables, NULL,
1517 "ntpdate_enable=YES,ntpdate_flags=north-america.pool.ntp.org" },
1518 { "Argentina", "tick.nap.com.ar",
1519 dmenuVarsCheck, dmenuSetVariables, NULL,
1520 "ntpdate_enable=YES,ntpdate_flags=tick.nap.com.ar" },
1521 { "Argentina #2", "time.sinectis.com.ar",
1522 dmenuVarsCheck, dmenuSetVariables, NULL,
1523 "ntpdate_enable=YES,ntpdate_flags=time.sinectis.com.ar" },
1524 { "Argentina #3", "tock.nap.com.ar",
1525 dmenuVarsCheck, dmenuSetVariables, NULL,
1526 "ntpdate_enable=YES,ntpdate_flags=tock.nap.com.ar" },
1527 { "Australia", "au.pool.ntp.org",
1528 dmenuVarsCheck, dmenuSetVariables, NULL,
1529 "ntpdate_enable=YES,ntpdate_flags=au.pool.ntp.org" },
1530 { "Australia #2", "augean.eleceng.adelaide.edu.au",
1531 dmenuVarsCheck, dmenuSetVariables, NULL,
1532 "ntpdate_enable=YES,ntpdate_flags=augean.eleceng.adelaide.edu.au" },
1533 { "Australia #3", "ntp.adelaide.edu.au",
1534 dmenuVarsCheck, dmenuSetVariables, NULL,
1535 "ntpdate_enable=YES,ntpdate_flags=ntp.adelaide.edu.au" },
1536 { "Australia #4", "ntp.saard.net",
1537 dmenuVarsCheck, dmenuSetVariables, NULL,
1538 "ntpdate_enable=YES,ntpdate_flags=ntp.saard.net" },
1539 { "Australia #5", "time.deakin.edu.au",
1540 dmenuVarsCheck, dmenuSetVariables, NULL,
1541 "ntpdate_enable=YES,ntpdate_flags=time.deakin.edu.au" },
1542 { "Belgium", "ntp1.belbone.be",
1543 dmenuVarsCheck, dmenuSetVariables, NULL,
1544 "ntpdate_enable=YES,ntpdate_flags=ntp1.belbone.be" },
1545 { "Belgium #2", "ntp2.belbone.be",
1546 dmenuVarsCheck, dmenuSetVariables, NULL,
1547 "ntpdate_enable=YES,ntpdate_flags=ntp2.belbone.be" },
1548 { "Brazil", "ntp.cais.rnp.br",
1549 dmenuVarsCheck, dmenuSetVariables, NULL,
1550 "ntpdate_enable=YES,ntpdate_flags=ntp.cais.rnp.br" },
1551 { "Brazil #2", "ntp.pop-df.rnp.br",
1552 dmenuVarsCheck, dmenuSetVariables, NULL,
1553 "ntpdate_enable=YES,ntpdate_flags=ntp.pop-df.rnp.br" },
1554 { "Brazil #3", "ntp.ufes.br",
1555 dmenuVarsCheck, dmenuSetVariables, NULL,
1556 "ntpdate_enable=YES,ntpdate_flags=ntp.ufes.br" },
1557 { "Brazil #4", "ntp1.pucpr.br",
1558 dmenuVarsCheck, dmenuSetVariables, NULL,
1559 "ntpdate_enable=YES,ntpdate_flags=ntp1.pucpr.br" },
1560 { "Canada", "ca.pool.ntp.org",
1561 dmenuVarsCheck, dmenuSetVariables, NULL,
1562 "ntpdate_enable=YES,ntpdate_flags=ca.pool.ntp.org" },
1563 { "Canada #2", "ntp.cpsc.ucalgary.ca",
1564 dmenuVarsCheck, dmenuSetVariables, NULL,
1565 "ntpdate_enable=YES,ntpdate_flags=ntp.cpsc.ucalgary.ca" },
1566 { "Canada #3", "ntp1.cmc.ec.gc.ca",
1567 dmenuVarsCheck, dmenuSetVariables, NULL,
1568 "ntpdate_enable=YES,ntpdate_flags=ntp1.cmc.ec.gc.ca" },
1569 { "Canada #4", "ntp2.cmc.ec.gc.ca",
1570 dmenuVarsCheck, dmenuSetVariables, NULL,
1571 "ntpdate_enable=YES,ntpdate_flags=ntp2.cmc.ec.gc.ca" },
1572 { "Canada #5", "tick.utoronto.ca",
1573 dmenuVarsCheck, dmenuSetVariables, NULL,
1574 "ntpdate_enable=YES,ntpdate_flags=tick.utoronto.ca" },
1575 { "Canada #6", "time.chu.nrc.ca",
1576 dmenuVarsCheck, dmenuSetVariables, NULL,
1577 "ntpdate_enable=YES,ntpdate_flags=time.chu.nrc.ca" },
1578 { "Canada #7", "time.nrc.ca",
1579 dmenuVarsCheck, dmenuSetVariables, NULL,
1580 "ntpdate_enable=YES,ntpdate_flags=time.nrc.ca" },
1581 { "Canada #8", "timelord.uregina.ca",
1582 dmenuVarsCheck, dmenuSetVariables, NULL,
1583 "ntpdate_enable=YES,ntpdate_flags=timelord.uregina.ca" },
1584 { "Canada #9", "tock.utoronto.ca",
1585 dmenuVarsCheck, dmenuSetVariables, NULL,
1586 "ntpdate_enable=YES,ntpdate_flags=tock.utoronto.ca" },
1587 { "Czech", "ntp.karpo.cz",
1588 dmenuVarsCheck, dmenuSetVariables, NULL,
1589 "ntpdate_enable=YES,ntpdate_flags=ntp.karpo.cz" },
1590 { "Czech #2", "ntp.cgi.cz",
1591 dmenuVarsCheck, dmenuSetVariables, NULL,
1592 "ntpdate_enable=YES,ntpdate_flags=ntp.cgi.cz" },
1593 { "Denmark", "clock.netcetera.dk",
1594 dmenuVarsCheck, dmenuSetVariables, NULL,
1595 "ntpdate_enable=YES,ntpdate_flags=clock.netcetera.dk" },
1596 { "Denmark", "clock2.netcetera.dk",
1597 dmenuVarsCheck, dmenuSetVariables, NULL,
1598 "ntpdate_enable=YES,ntpdate_flags=clock2.netcetera.dk" },
1599 { "Spain", "slug.ctv.es",
1600 dmenuVarsCheck, dmenuSetVariables, NULL,
1601 "ntpdate_enable=YES,ntpdate_flags=slug.ctv.es" },
1602 { "Finland", "tick.keso.fi",
1603 dmenuVarsCheck, dmenuSetVariables, NULL,
1604 "ntpdate_enable=YES,ntpdate_flags=tick.keso.fi" },
1605 { "Finland #2", "tock.keso.fi",
1606 dmenuVarsCheck, dmenuSetVariables, NULL,
1607 "ntpdate_enable=YES,ntpdate_flags=tock.keso.fi" },
1608 { "France", "ntp.obspm.fr",
1609 dmenuVarsCheck, dmenuSetVariables, NULL,
1610 "ntpdate_enable=YES,ntpdate_flags=ntp.obspm.fr" },
1611 { "France #2", "ntp.univ-lyon1.fr",
1612 dmenuVarsCheck, dmenuSetVariables, NULL,
1613 "ntpdate_enable=YES,ntpdate_flags=ntp.univ-lyon1.fr" },
1614 { "France #3", "ntp.via.ecp.fr",
1615 dmenuVarsCheck, dmenuSetVariables, NULL,
1616 "ntpdate_enable=YES,ntpdate_flags=ntp.via.ecp.fr" },
1617 { "Croatia", "zg1.ntp.carnet.hr",
1618 dmenuVarsCheck, dmenuSetVariables, NULL,
1619 "ntpdate_enable=YES,ntpdate_flags=zg1.ntp.carnet.hr" },
1620 { "Croatia #2", "zg2.ntp.carnet.hr",
1621 dmenuVarsCheck, dmenuSetVariables, NULL,
1622 "ntpdate_enable=YES,ntpdate_flags=zg2.ntp.carnet.hr" },
1623 { "Croatia #3", "st.ntp.carnet.hr",
1624 dmenuVarsCheck, dmenuSetVariables, NULL,
1625 "ntpdate_enable=YES,ntpdate_flags=st.ntp.carnet.hr" },
1626 { "Croatia #4", "ri.ntp.carnet.hr",
1627 dmenuVarsCheck, dmenuSetVariables, NULL,
1628 "ntpdate_enable=YES,ntpdate_flags=ri.ntp.carnet.hr" },
1629 { "Croatia #5", "os.ntp.carnet.hr",
1630 dmenuVarsCheck, dmenuSetVariables, NULL,
1631 "ntpdate_enable=YES,ntpdate_flags=os.ntp.carnet.hr" },
1632 { "Hungary", "time.kfki.hu",
1633 dmenuVarsCheck, dmenuSetVariables, NULL,
1634 "ntpdate_enable=YES,ntpdate_flags=time.kfki.hu" },
1635 { "Indonesia", "ntp.kim.lipi.go.id",
1636 dmenuVarsCheck, dmenuSetVariables, NULL,
1637 "ntpdate_enable=YES,ntpdate_flags=ntp.kim.lipi.go.id" },
1638 { "Ireland", "ntp.maths.tcd.ie",
1639 dmenuVarsCheck, dmenuSetVariables, NULL,
1640 "ntpdate_enable=YES,ntpdate_flags=ntp.maths.tcd.ie" },
1641 { "Italy", "it.pool.ntp.org",
1642 dmenuVarsCheck, dmenuSetVariables, NULL,
1643 "ntpdate_enable=YES,ntpdate_flags=it.pool.ntp.org" },
1644 { "Japan", "ntp.jst.mfeed.ad.jp",
1645 dmenuVarsCheck, dmenuSetVariables, NULL,
1646 "ntpdate_enable=YES,ntpdate_flags=ntp.jst.mfeed.ad.jp" },
1647 { "Japan IPv6", "ntp1.v6.mfeed.ad.jp",
1648 dmenuVarsCheck, dmenuSetVariables, NULL,
1649 "ntpdate_enable=YES,ntpdate_flags=ntp1.v6.mfeed.ad.jp" },
1650 { "Korea", "time.nuri.net",
1651 dmenuVarsCheck, dmenuSetVariables, NULL,
1652 "ntpdate_enable=YES,ntpdate_flags=time.nuri.net" },
1653 { "Mexico", "mx.pool.ntp.org",
1654 dmenuVarsCheck, dmenuSetVariables, NULL,
1655 "ntpdate_enable=YES,ntpdate_flags=mx.pool.ntp.org" },
1656 { "Netherlands", "ntp0.nl.net",
1657 dmenuVarsCheck, dmenuSetVariables, NULL,
1658 "ntpdate_enable=YES,ntpdate_flags=ntp0.nl.net" },
1659 { "Netherlands #2", "ntp1.nl.net",
1660 dmenuVarsCheck, dmenuSetVariables, NULL,
1661 "ntpdate_enable=YES,ntpdate_flags=ntp1.nl.net" },
1662 { "Netherlands #3", "ntp2.nl.net",
1663 dmenuVarsCheck, dmenuSetVariables, NULL,
1664 "ntpdate_enable=YES,ntpdate_flags=ntp2.nl.net" },
1665 { "Norway", "fartein.ifi.uio.no",
1666 dmenuVarsCheck, dmenuSetVariables, NULL,
1667 "ntpdate_enable=YES,ntpdate_flags=fartein.ifi.uio.no" },
1668 { "Norway #2", "time.alcanet.no",
1669 dmenuVarsCheck, dmenuSetVariables, NULL,
1670 "ntpdate_enable=YES,ntpdate_flags=time.alcanet.no" },
1671 { "New Zealand", "ntp.massey.ac.nz",
1672 dmenuVarsCheck, dmenuSetVariables, NULL,
1673 "ntpdate_enable=YES,ntpdate_flags=ntp.massey.ac.nz" },
1674 { "New Zealand #2", "ntp.public.otago.ac.nz",
1675 dmenuVarsCheck, dmenuSetVariables, NULL,
1676 "ntpdate_enable=YES,ntpdate_flags=ntp.public.otago.ac.nz" },
1677 { "New Zealand #3", "tk1.ihug.co.nz",
1678 dmenuVarsCheck, dmenuSetVariables, NULL,
1679 "ntpdate_enable=YES,ntpdate_flags=tk1.ihug.co.nz" },
1680 { "New Zealand #4", "ntp.waikato.ac.nz",
1681 dmenuVarsCheck, dmenuSetVariables, NULL,
1682 "ntpdate_enable=YES,ntpdate_flags=ntp.waikato.ac.nz" },
1683 { "Poland", "info.cyf-kr.edu.pl",
1684 dmenuVarsCheck, dmenuSetVariables, NULL,
1685 "ntpdate_enable=YES,ntpdate_flags=info.cyf-kr.edu.pl" },
1686 { "Romania", "ticks.roedu.net",
1687 dmenuVarsCheck, dmenuSetVariables, NULL,
1688 "ntpdate_enable=YES,ntpdate_flags=ticks.roedu.net" },
1689 { "Russia", "ru.pool.ntp.org",
1690 dmenuVarsCheck, dmenuSetVariables, NULL,
1691 "ntpdate_enable=YES,ntpdate_flags=ru.pool.ntp.org" },
1692 { "Russia #2", "ntp.psn.ru",
1693 dmenuVarsCheck, dmenuSetVariables, NULL,
1694 "ntpdate_enable=YES,ntpdate_flags=ntp.psn.ru" },
1695 { "Sweden", "se.pool.ntp.org",
1696 dmenuVarsCheck, dmenuSetVariables, NULL,
1697 "ntpdate_enable=YES,ntpdate_flags=se.pool.ntp.org" },
1698 { "Sweden #2", "ntp.lth.se",
1699 dmenuVarsCheck, dmenuSetVariables, NULL,
1700 "ntpdate_enable=YES,ntpdate_flags=ntp.lth.se" },
1701 { "Sweden #3", "ntp1.sp.se",
1702 dmenuVarsCheck, dmenuSetVariables, NULL,
1703 "ntpdate_enable=YES,ntpdate_flags=ntp1.sp.se" },
1704 { "Sweden #4", "ntp2.sp.se",
1705 dmenuVarsCheck, dmenuSetVariables, NULL,
1706 "ntpdate_enable=YES,ntpdate_flags=ntp2.sp.se" },
1707 { "Sweden #5", "ntp.kth.se",
1708 dmenuVarsCheck, dmenuSetVariables, NULL,
1709 "ntpdate_enable=YES,ntpdate_flags=ntp.kth.se" },
1710 { "Singapore", "sg.pool.ntp.org",
1711 dmenuVarsCheck, dmenuSetVariables, NULL,
1712 "ntpdate_enable=YES,ntpdate_flags=sg.pool.ntp.org" },
1713 { "Slovenia", "si.pool.ntp.org",
1714 dmenuVarsCheck, dmenuSetVariables, NULL,
1715 "ntpdate_enable=YES,ntpdate_flags=si.pool.ntp.org" },
1716 { "Slovenia #2", "sizif.mf.uni-lj.si",
1717 dmenuVarsCheck, dmenuSetVariables, NULL,
1718 "ntpdate_enable=YES,ntpdate_flags=sizif.mf.uni-lj.si" },
1719 { "Slovenia #3", "ntp1.arnes.si",
1720 dmenuVarsCheck, dmenuSetVariables, NULL,
1721 "ntpdate_enable=YES,ntpdate_flags=ntp1.arnes.si" },
1722 { "Slovenia #4", "ntp2.arnes.si",
1723 dmenuVarsCheck, dmenuSetVariables, NULL,
1724 "ntpdate_enable=YES,ntpdate_flags=ntp2.arnes.si" },
1725 { "Slovenia #5", "time.ijs.si",
1726 dmenuVarsCheck, dmenuSetVariables, NULL,
1727 "ntpdate_enable=YES,ntpdate_flags=time.ijs.si" },
1728 { "Scotland", "ntp.cs.strath.ac.uk",
1729 dmenuVarsCheck, dmenuSetVariables, NULL,
1730 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.strath.ac.uk" },
1731 { "United Kingdom", "uk.pool.ntp.org",
1732 dmenuVarsCheck, dmenuSetVariables, NULL,
1733 "ntpdate_enable=YES,ntpdate_flags=uk.pool.ntp.org" },
1734 { "United Kingdom #2", "ntp.exnet.com",
1735 dmenuVarsCheck, dmenuSetVariables, NULL,
1736 "ntpdate_enable=YES,ntpdate_flags=ntp.exnet.com" },
1737 { "United Kingdom #3", "ntp0.uk.uu.net",
1738 dmenuVarsCheck, dmenuSetVariables, NULL,
1739 "ntpdate_enable=YES,ntpdate_flags=ntp0.uk.uu.net" },
1740 { "United Kingdom #4", "ntp1.uk.uu.net",
1741 dmenuVarsCheck, dmenuSetVariables, NULL,
1742 "ntpdate_enable=YES,ntpdate_flags=ntp1.uk.uu.net" },
1743 { "United Kingdom #5", "ntp2.uk.uu.net",
1744 dmenuVarsCheck, dmenuSetVariables, NULL,
1745 "ntpdate_enable=YES,ntpdate_flags=ntp2.uk.uu.net" },
1746 { "United Kingdom #6", "ntp2a.mcc.ac.uk",
1747 dmenuVarsCheck, dmenuSetVariables, NULL,
1748 "ntpdate_enable=YES,ntpdate_flags=ntp2a.mcc.ac.uk" },
1749 { "United Kingdom #7", "ntp2b.mcc.ac.uk",
1750 dmenuVarsCheck, dmenuSetVariables, NULL,
1751 "ntpdate_enable=YES,ntpdate_flags=ntp2b.mcc.ac.uk" },
1752 { "United Kingdom #8", "ntp2c.mcc.ac.uk",
1753 dmenuVarsCheck, dmenuSetVariables, NULL,
1754 "ntpdate_enable=YES,ntpdate_flags=ntp2c.mcc.ac.uk" },
1755 { "United Kingdom #9", "ntp2d.mcc.ac.uk",
1756 dmenuVarsCheck, dmenuSetVariables, NULL,
1757 "ntpdate_enable=YES,ntpdate_flags=ntp2d.mcc.ac.uk" },
1758 { "U.S.", "us.pool.ntp.org",
1759 dmenuVarsCheck, dmenuSetVariables, NULL,
1760 "ntpdate_enable=YES,ntpdate_flags=us.pool.ntp.org" },
1761 { "U.S. AR", "sushi.lyon.edu",
1762 dmenuVarsCheck, dmenuSetVariables, NULL,
1763 "ntpdate_enable=YES,ntpdate_flags=sushi.compsci.lyon.edu" },
1764 { "U.S. AZ", "ntp.drydog.com",
1765 dmenuVarsCheck, dmenuSetVariables, NULL,
1766 "ntpdate_enable=YES,ntpdate_flags=ntp.drydog.com" },
1767 { "U.S. CA", "ntp.ucsd.edu",
1768 dmenuVarsCheck, dmenuSetVariables, NULL,
1769 "ntpdate_enable=YES,ntpdate_flags=ntp.ucsd.edu" },
1770 { "U.S. CA #2", "ntp1.mainecoon.com",
1771 dmenuVarsCheck, dmenuSetVariables, NULL,
1772 "ntpdate_enable=YES,ntpdate_flags=ntp1.mainecoon.com" },
1773 { "U.S. CA #3", "ntp2.mainecoon.com",
1774 dmenuVarsCheck, dmenuSetVariables, NULL,
1775 "ntpdate_enable=YES,ntpdate_flags=ntp2.mainecoon.com" },
1776 { "U.S. CA #4", "reloj.kjsl.com",
1777 dmenuVarsCheck, dmenuSetVariables, NULL,
1778 "ntpdate_enable=YES,ntpdate_flags=reloj.kjsl.com" },
1779 { "U.S. CA #5", "time.five-ten-sg.com",
1780 dmenuVarsCheck, dmenuSetVariables, NULL,
1781 "ntpdate_enable=YES,ntpdate_flags=time.five-ten-sg.com" },
1782 { "U.S. DE", "louie.udel.edu",
1783 dmenuVarsCheck, dmenuSetVariables, NULL,
1784 "ntpdate_enable=YES,ntpdate_flags=louie.udel.edu" },
1785 { "U.S. GA", "ntp.shorty.com",
1786 dmenuVarsCheck, dmenuSetVariables, NULL,
1787 "ntpdate_enable=YES,ntpdate_flags=ntp.shorty.com" },
1788 { "U.S. GA #2", "rolex.usg.edu",
1789 dmenuVarsCheck, dmenuSetVariables, NULL,
1790 "ntpdate_enable=YES,ntpdate_flags=rolex.usg.edu" },
1791 { "U.S. GA #3", "timex.usg.edu",
1792 dmenuVarsCheck, dmenuSetVariables, NULL,
1793 "ntpdate_enable=YES,ntpdate_flags=timex.usg.edu" },
1794 { "U.S. IL", "ntp-0.cso.uiuc.edu",
1795 dmenuVarsCheck, dmenuSetVariables, NULL,
1796 "ntpdate_enable=YES,ntpdate_flags=ntp-0.cso.uiuc.edu" },
1797 { "U.S. IL #2", "ntp-1.cso.uiuc.edu",
1798 dmenuVarsCheck, dmenuSetVariables, NULL,
1799 "ntpdate_enable=YES,ntpdate_flags=ntp-1.cso.uiuc.edu" },
1800 { "U.S. IL #3", "ntp-1.mcs.anl.gov",
1801 dmenuVarsCheck, dmenuSetVariables, NULL,
1802 "ntpdate_enable=YES,ntpdate_flags=ntp-1.mcs.anl.gov" },
1803 { "U.S. IL #4", "ntp-2.cso.uiuc.edu",
1804 dmenuVarsCheck, dmenuSetVariables, NULL,
1805 "ntpdate_enable=YES,ntpdate_flags=ntp-2.cso.uiuc.edu" },
1806 { "U.S. IL #5", "ntp-2.mcs.anl.gov",
1807 dmenuVarsCheck, dmenuSetVariables, NULL,
1808 "ntpdate_enable=YES,ntpdate_flags=ntp-2.mcs.anl.gov" },
1809 { "U.S. IN", "gilbreth.ecn.purdue.edu",
1810 dmenuVarsCheck, dmenuSetVariables, NULL,
1811 "ntpdate_enable=YES,ntpdate_flags=gilbreth.ecn.purdue.edu" },
1812 { "U.S. IN #2", "harbor.ecn.purdue.edu",
1813 dmenuVarsCheck, dmenuSetVariables, NULL,
1814 "ntpdate_enable=YES,ntpdate_flags=harbor.ecn.purdue.edu" },
1815 { "U.S. IN #3", "molecule.ecn.purdue.edu",
1816 dmenuVarsCheck, dmenuSetVariables, NULL,
1817 "ntpdate_enable=YES,ntpdate_flags=molecule.ecn.purdue.edu" },
1818 { "U.S. KS", "ntp1.kansas.net",
1819 dmenuVarsCheck, dmenuSetVariables, NULL,
1820 "ntpdate_enable=YES,ntpdate_flags=ntp1.kansas.net" },
1821 { "U.S. KS #2", "ntp2.kansas.net",
1822 dmenuVarsCheck, dmenuSetVariables, NULL,
1823 "ntpdate_enable=YES,ntpdate_flags=ntp2.kansas.net" },
1824 { "U.S. MA", "ntp.ourconcord.net",
1825 dmenuVarsCheck, dmenuSetVariables, NULL,
1826 "ntpdate_enable=YES,ntpdate_flags=ntp.ourconcord.net" },
1827 { "U.S. MA #2", "timeserver.cs.umb.edu",
1828 dmenuVarsCheck, dmenuSetVariables, NULL,
1829 "ntpdate_enable=YES,ntpdate_flags=timeserver.cs.umb.edu" },
1830 { "U.S. MN", "ns.nts.umn.edu",
1831 dmenuVarsCheck, dmenuSetVariables, NULL,
1832 "ntpdate_enable=YES,ntpdate_flags=ns.nts.umn.edu" },
1833 { "U.S. MN #2", "nss.nts.umn.edu",
1834 dmenuVarsCheck, dmenuSetVariables, NULL,
1835 "ntpdate_enable=YES,ntpdate_flags=nss.nts.umn.edu" },
1836 { "U.S. MO", "time-ext.missouri.edu",
1837 dmenuVarsCheck, dmenuSetVariables, NULL,
1838 "ntpdate_enable=YES,ntpdate_flags=time-ext.missouri.edu" },
1839 { "U.S. MT", "chronos1.umt.edu",
1840 dmenuVarsCheck, dmenuSetVariables, NULL,
1841 "ntpdate_enable=YES,ntpdate_flags=chronos1.umt.edu" },
1842 { "U.S. MT #2", "chronos2.umt.edu",
1843 dmenuVarsCheck, dmenuSetVariables, NULL,
1844 "ntpdate_enable=YES,ntpdate_flags=chronos2.umt.edu" },
1845 { "U.S. MT #3", "chronos3.umt.edu",
1846 dmenuVarsCheck, dmenuSetVariables, NULL,
1847 "ntpdate_enable=YES,ntpdate_flags=chronos3.umt.edu" },
1848 { "U.S. NC", "clock1.unc.edu",
1849 dmenuVarsCheck, dmenuSetVariables, NULL,
1850 "ntpdate_enable=YES,ntpdate_flags=clock1.unc.edu" },
1851 { "U.S. NV", "cuckoo.nevada.edu",
1852 dmenuVarsCheck, dmenuSetVariables, NULL,
1853 "ntpdate_enable=YES,ntpdate_flags=cuckoo.nevada.edu" },
1854 { "U.S. NV #2", "tick.cs.unlv.edu",
1855 dmenuVarsCheck, dmenuSetVariables, NULL,
1856 "ntpdate_enable=YES,ntpdate_flags=tick.cs.unlv.edu" },
1857 { "U.S. NV #3", "tock.cs.unlv.edu",
1858 dmenuVarsCheck, dmenuSetVariables, NULL,
1859 "ntpdate_enable=YES,ntpdate_flags=tock.cs.unlv.edu" },
1860 { "U.S. NY", "ntp0.cornell.edu",
1861 dmenuVarsCheck, dmenuSetVariables, NULL,
1862 "ntpdate_enable=YES,ntpdate_flags=ntp0.cornell.edu" },
1863 { "U.S. NY #2", "sundial.columbia.edu",
1864 dmenuVarsCheck, dmenuSetVariables, NULL,
1865 "ntpdate_enable=YES,ntpdate_flags=sundial.columbia.edu" },
1866 { "U.S. NY #3", "timex.cs.columbia.edu",
1867 dmenuVarsCheck, dmenuSetVariables, NULL,
1868 "ntpdate_enable=YES,ntpdate_flags=timex.cs.columbia.edu" },
1869 { "U.S. PA", "clock-1.cs.cmu.edu",
1870 dmenuVarsCheck, dmenuSetVariables, NULL,
1871 "ntpdate_enable=YES,ntpdate_flags=clock-1.cs.cmu.edu" },
1872 { "U.S. PA #2", "clock-2.cs.cmu.edu",
1873 dmenuVarsCheck, dmenuSetVariables, NULL,
1874 "ntpdate_enable=YES,ntpdate_flags=clock-2.cs.cmu.edu" },
1875 { "U.S. PA #3", "clock.psu.edu",
1876 dmenuVarsCheck, dmenuSetVariables, NULL,
1877 "ntpdate_enable=YES,ntpdate_flags=clock.psu.edu" },
1878 { "U.S. PA #4", "fuzz.psc.edu",
1879 dmenuVarsCheck, dmenuSetVariables, NULL,
1880 "ntpdate_enable=YES,ntpdate_flags=fuzz.psc.edu" },
1881 { "U.S. PA #5", "ntp-1.ece.cmu.edu",
1882 dmenuVarsCheck, dmenuSetVariables, NULL,
1883 "ntpdate_enable=YES,ntpdate_flags=ntp-1.ece.cmu.edu" },
1884 { "U.S. PA #6", "ntp-2.ece.cmu.edu",
1885 dmenuVarsCheck, dmenuSetVariables, NULL,
1886 "ntpdate_enable=YES,ntpdate_flags=ntp-2.ece.cmu.edu" },
1887 { "U.S. TX", "ntp.fnbhs.com",
1888 dmenuVarsCheck, dmenuSetVariables, NULL,
1889 "ntpdate_enable=YES,ntpdate_flags=ntp.fnbhs.com" },
1890 { "U.S. TX #2", "ntp.tmc.edu",
1891 dmenuVarsCheck, dmenuSetVariables, NULL,
1892 "ntpdate_enable=YES,ntpdate_flags=ntp.tmc.edu" },
1893 { "U.S. TX #3", "ntp5.tamu.edu",
1894 dmenuVarsCheck, dmenuSetVariables, NULL,
1895 "ntpdate_enable=YES,ntpdate_flags=ntp5.tamu.edu" },
1896 { "U.S. TX #4", "tick.greyware.com",
1897 dmenuVarsCheck, dmenuSetVariables, NULL,
1898 "ntpdate_enable=YES,ntpdate_flags=tick.greyware.com" },
1899 { "U.S. TX #5", "tock.greyware.com",
1900 dmenuVarsCheck, dmenuSetVariables, NULL,
1901 "ntpdate_enable=YES,ntpdate_flags=tock.greyware.com" },
1902 { "U.S. VA", "ntp-1.vt.edu",
1903 dmenuVarsCheck, dmenuSetVariables, NULL,
1904 "ntpdate_enable=YES,ntpdate_flags=ntp-1.vt.edu" },
1905 { "U.S. VA #2", "ntp-2.vt.edu",
1906 dmenuVarsCheck, dmenuSetVariables, NULL,
1907 "ntpdate_enable=YES,ntpdate_flags=ntp-2.vt.edu" },
1908 { "U.S. VA #3", "ntp.cmr.gov",
1909 dmenuVarsCheck, dmenuSetVariables, NULL,
1910 "ntpdate_enable=YES,ntpdate_flags=ntp.cmr.gov" },
1911 { "U.S. VT", "ntp0.state.vt.us",
1912 dmenuVarsCheck, dmenuSetVariables, NULL,
1913 "ntpdate_enable=YES,ntpdate_flags=ntp0.state.vt.us" },
1914 { "U.S. VT #2", "ntp1.state.vt.us",
1915 dmenuVarsCheck, dmenuSetVariables, NULL,
1916 "ntpdate_enable=YES,ntpdate_flags=ntp1.state.vt.us" },
1917 { "U.S. VT #3", "ntp2.state.vt.us",
1918 dmenuVarsCheck, dmenuSetVariables, NULL,
1919 "ntpdate_enable=YES,ntpdate_flags=ntp2.state.vt.us" },
1920 { "U.S. WA", "ntp.tcp-udp.net",
1921 dmenuVarsCheck, dmenuSetVariables, NULL,
1922 "ntpdate_enable=YES,ntpdate_flags=ntp.tcp-udp.net" },
1923 { "U.S. WI", "ntp1.cs.wisc.edu",
1924 dmenuVarsCheck, dmenuSetVariables, NULL,
1925 "ntpdate_enable=YES,ntpdate_flags=ntp1.cs.wisc.edu" },
1926 { "U.S. WI #2", "ntp3.cs.wisc.edu",
1927 dmenuVarsCheck, dmenuSetVariables, NULL,
1928 "ntpdate_enable=YES,ntpdate_flags=ntp3.cs.wisc.edu" },
1929 { "South Africa", "ntp.cs.unp.ac.za",
1930 dmenuVarsCheck, dmenuSetVariables, NULL,
1931 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.unp.ac.za" },
1936 DMenu MenuSyscons = {
1938 "System Console Configuration",
1939 "The default system console driver for FreeBSD (syscons) has a\n"
1940 "number of configuration options which may be set according to\n"
1941 "your preference.\n\n"
1942 "When you are done setting configuration options, select Cancel.",
1943 "Configure your system console settings",
1945 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1947 { "2 Keymap", "Choose an alternate keyboard map", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
1948 { "3 Repeat", "Set the rate at which keys repeat", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
1949 { "4 Saver", "Configure the screen saver", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
1951 { "2 Font", "Choose an alternate screen font", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
1952 { "3 Keymap", "Choose an alternate keyboard map", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
1953 { "4 Repeat", "Set the rate at which keys repeat", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
1954 { "5 Saver", "Configure the screen saver", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
1955 { "6 Screenmap", "Choose an alternate screenmap", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
1956 { "7 Ttys", "Choose console terminal type", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
1962 DMenu MenuSysconsKeymap = {
1963 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1964 "System Console Keymap",
1965 "The default system console driver for FreeBSD (syscons) defaults\n"
1966 "to a standard \"PC-98x1\" keyboard map. Users may wish to choose\n"
1967 "one of the other keymaps below.\n"
1968 "Note that sysinstall itself only uses the part of the keyboard map\n"
1969 "which is required to generate the ANSI character subset, but your\n"
1970 "choice of keymap will also be saved for later (fuller) use.",
1971 "Choose a keyboard map",
1973 { { "Japanese PC-98x1", "Japanese PC-98x1 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98" },
1974 { " Japanese PC-98x1 (ISO)", "Japanese PC-98x1 (ISO) keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98.iso" },
1978 DMenu MenuSysconsKeymap = {
1979 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1980 "System Console Keymap",
1981 "The default system console driver for FreeBSD (syscons) defaults\n"
1982 "to a standard \"American\" keyboard map. Users in other countries\n"
1983 "(or with different keyboard preferences) may wish to choose one of\n"
1984 "the other keymaps below.\n"
1985 "Note that sysinstall itself only uses the part of the keyboard map\n"
1986 "which is required to generate the ANSI character subset, but your\n"
1987 "choice of keymap will also be saved for later (fuller) use.",
1988 "Choose a keyboard map",
1990 { { "Belgian", "Belgian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=be.iso" },
1991 { " Brazil CP850", "Brazil CP850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.cp850" },
1992 { " Brazil ISO (accent)", "Brazil ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso.acc" },
1993 { " Brazil ISO", "Brazil ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso" },
1994 { " Bulgarian BDS", "Bulgarian BDS keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.bds.ctrlcaps" },
1995 { " Bulgarian Phonetic", "Bulgarian Phonetic keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.phonetic.ctrlcaps" },
1996 { "Central European ISO", "Central European ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ce.iso2" },
1997 { " Croatian ISO", "Croatian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hr.iso" },
1998 { " Czech ISO (accent)", "Czech ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=cs.latin2.qwertz" },
1999 { "Danish CP865", "Danish Code Page 865 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.cp865" },
2000 { " Danish ISO", "Danish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.iso" },
2001 { "Estonian ISO", "Estonian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso" },
2002 { " Estonian ISO 15", "Estonian ISO 8859-15 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso15" },
2003 { " Estonian CP850", "Estonian Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.cp850" },
2004 { "Finnish CP850","Finnish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.cp850" },
2005 { " Finnish ISO", "Finnish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.iso" },
2006 { " French ISO (accent)", "French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso.acc" },
2007 { " French ISO", "French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso" },
2008 { "German CP850", "German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.cp850" },
2009 { " German ISO", "German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.iso" },
2010 { " Greek 101", "Greek ISO keymap (101 keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.us101.acc" },
2011 { " Greek 104", "Greek ISO keymap (104 keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=el.iso07" },
2012 { " Greek ELOT", "Greek ISO keymap (ELOT 1000)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.elot.acc" },
2013 { "Hungarian 101", "Hungarian ISO keymap (101 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.101keys" },
2014 { " Hungarian 102", "Hungarian ISO keymap (102 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.102keys" },
2015 { "Icelandic (accent)", "Icelandic ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso.acc" },
2016 { " Icelandic", "Icelandic ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso" },
2017 { " Italian", "Italian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=it.iso" },
2018 { "Japanese 106", "Japanese 106 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.106" },
2019 { "Latin American (accent)", "Latin American ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=latinamerican.iso.acc" },
2020 { " Latin American", "Latin American ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=latinamerican" },
2021 { "Norway ISO", "Norwegian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=norwegian.iso" },
2022 { "Polish ISO", "Polish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pl_PL.ISO8859-2" },
2023 { " Portuguese (accent)", "Portuguese ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso.acc" },
2024 { " Portuguese", "Portuguese ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso" },
2025 { "Russia KOI8-R", "Russian KOI8-R keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ru.koi8-r" },
2026 { "Slovak", "Slovak ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=sk.iso2" },
2027 { "Slovenian", "Slovenian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=si.iso" },
2028 { " Spanish (accent)", "Spanish ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso.acc" },
2029 { " Spanish", "Spanish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso" },
2030 { " Swedish CP850", "Swedish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.cp850" },
2031 { " Swedish ISO", "Swedish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.iso" },
2032 { " Swiss French ISO (accent)", "Swiss French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso.acc" },
2033 { " Swiss French ISO", "Swiss French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso" },
2034 { " Swiss French CP850", "Swiss French Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.cp850" },
2035 { " Swiss German ISO (accent)", "Swiss German ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso.acc" },
2036 { " Swiss German ISO", "Swiss German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso" },
2037 { " Swiss German CP850", "Swiss German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.cp850" },
2038 { "UK CP850", "UK Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.cp850" },
2039 { " UK ISO", "UK ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.iso" },
2040 { " Ukrainian KOI8-U", "Ukrainian KOI8-U keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u" },
2041 { " Ukrainian KOI8-U+KOI8-R", "Ukrainian KOI8-U+KOI8-R keymap (alter)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u.shift.alt" },
2042 { " USA CapsLock->Ctrl", "US standard (Caps as L-Control)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.pc-ctrl" },
2043 { " USA Dvorak", "US Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorak" },
2044 { " USA Dvorak (left)", "US left handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakl" },
2045 { " USA Dvorak (right)", "US right handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakr" },
2046 { " USA Emacs", "US standard optimized for EMACS", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.emacs" },
2047 { " USA ISO", "US ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.iso" },
2048 { " USA UNIX", "US traditional UNIX-workstation", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.unix" },
2053 DMenu MenuSysconsKeyrate = {
2054 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2055 "System Console Keyboard Repeat Rate",
2056 "This menu allows you to set the speed at which keys repeat\n"
2058 "Choose a keyboard repeat rate",
2060 { { "Slow", "Slow keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=slow" },
2061 { "Normal", "\"Normal\" keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=normal" },
2062 { "Fast", "Fast keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=fast" },
2063 { "Default", "Use default keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=NO" },
2067 DMenu MenuSysconsSaver = {
2068 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2069 "System Console Screen Saver",
2070 "By default, the console driver will not attempt to do anything\n"
2071 "special with your screen when it's idle. If you expect to leave your\n"
2072 "monitor switched on and idle for long periods of time then you should\n"
2073 "probably enable one of these screen savers to prevent phosphor burn-in.",
2074 "Choose a nifty-looking screen saver",
2076 { { "1 Blank", "Simply blank the screen",
2077 dmenuVarCheck, configSaver, NULL, "saver=blank" },
2078 { "2 Daemon", "\"BSD Daemon\" animated screen saver (text)",
2079 dmenuVarCheck, configSaver, NULL, "saver=daemon" },
2080 { "3 Fade", "Fade out effect screen saver",
2081 dmenuVarCheck, configSaver, NULL, "saver=fade" },
2082 { "4 Fire", "Flames effect screen saver",
2083 dmenuVarCheck, configSaver, NULL, "saver=fire" },
2084 { "5 Green", "\"Green\" power saving mode (if supported by monitor)",
2085 dmenuVarCheck, configSaver, NULL, "saver=green" },
2086 { "6 Logo", "\"BSD Daemon\" animated screen saver (graphics)",
2087 dmenuVarCheck, configSaver, NULL, "saver=logo" },
2088 { "7 Rain", "Rain drops screen saver",
2089 dmenuVarCheck, configSaver, NULL, "saver=rain" },
2090 { "8 Snake", "Draw a FreeBSD \"snake\" on your screen",
2091 dmenuVarCheck, configSaver, NULL, "saver=snake" },
2092 { "9 Star", "A \"twinkling stars\" effect",
2093 dmenuVarCheck, configSaver, NULL, "saver=star" },
2094 { "Warp", "A \"stars warping\" effect",
2095 dmenuVarCheck, configSaver, NULL, "saver=warp" },
2096 { "Dragon", "Dragon screensaver (graphics)",
2097 dmenuVarCheck, configSaver, NULL, "saver=dragon" },
2098 { "Timeout", "Set the screen saver timeout interval",
2099 NULL, configSaverTimeout, NULL, NULL, ' ', ' ', ' ' },
2104 DMenu MenuSysconsScrnmap = {
2105 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2106 "System Console Screenmap",
2107 "Unless you load a specific font, most PC hardware defaults to\n"
2108 "displaying characters in the IBM 437 character set. However,\n"
2109 "in the Unix world, this character set is very rarely used. Most\n"
2110 "Western European countries, for example, prefer ISO 8859-1.\n"
2111 "American users won't notice the difference since the bottom half\n"
2112 "of all these character sets is ANSI anyway.\n"
2113 "If your hardware is capable of downloading a new display font,\n"
2114 "you should probably choose that option. However, for hardware\n"
2115 "where this is not possible (e.g. monochrome adapters), a screen\n"
2116 "map will give you the best approximation that your hardware can\n"
2118 "Choose a screen map",
2120 { { "1 None", "No screenmap, don't touch font", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=NO" },
2121 { "2 ISO 8859-1 to IBM437", "W-Europe ISO 8859-1 to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=iso-8859-1_to_cp437" },
2122 { "3 ISO 8859-7 to IBM437", "Greek ISO 8859-7 to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=iso-8859-7_to_cp437" },
2123 { "4 US-ASCII to IBM437", "US-ASCII to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=us-ascii_to_cp437" },
2124 { "5 KOI8-R to IBM866", "Russian KOI8-R to IBM 866 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-r2cp866" },
2125 { "6 KOI8-U to IBM866u", "Ukrainian KOI8-U to IBM 866u screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-u2cp866u" },
2129 DMenu MenuSysconsTtys = {
2130 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2131 "System Console Terminal Type",
2132 "For various console encodings, a corresponding terminal type\n"
2133 "must be chosen in /etc/ttys.\n\n"
2134 "WARNING: For compatibility reasons, only entries starting with\n"
2135 "ttyv and terminal types starting with cons[0-9] can be changed\n"
2137 "Choose a terminal type",
2139 { { "1 None", "Don't touch anything", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=NO" },
2140 { "2 IBM437 (VGA default)", "cons25", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25" },
2141 { "3 ISO 8859-1", "cons25l1", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l1" },
2142 { "4 ISO 8859-2", "cons25l2", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l2" },
2143 { "5 ISO 8859-7", "cons25l7", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l7" },
2144 { "6 KOI8-R", "cons25r", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25r" },
2145 { "7 KOI8-U", "cons25u", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25u" },
2146 { "8 US-ASCII", "cons25w", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25w" },
2150 DMenu MenuSysconsFont = {
2151 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2152 "System Console Font",
2153 "Most PC hardware defaults to displaying characters in the\n"
2154 "IBM 437 character set. However, in the Unix world, this\n"
2155 "character set is very rarely used. Most Western European\n"
2156 "countries, for example, prefer ISO 8859-1.\n"
2157 "American users won't notice the difference since the bottom half\n"
2158 "of all these charactersets is ANSI anyway. However, they might\n"
2159 "want to load a font anyway to use the 30- or 50-line displays.\n"
2160 "If your hardware is capable of downloading a new display font,\n"
2161 "you can select the appropriate font below.",
2164 { { "1 None", "Use hardware default font", dmenuVarCheck, dmenuSetVariables, NULL,
2165 "font8x8=NO,font8x14=NO,font8x16=NO" },
2166 { "2 IBM 437", "English and others, VGA default", dmenuVarCheck, dmenuSetVariables, NULL,
2167 "font8x8=cp437-8x8,font8x14=cp437-8x14,font8x16=cp437-8x16" },
2168 { "3 IBM 850", "Western Europe, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2169 "font8x8=cp850-8x8,font8x14=cp850-8x14,font8x16=cp850-8x16" },
2170 { "4 IBM 865", "Norwegian, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2171 "font8x8=cp865-8x8,font8x14=cp865-8x14,font8x16=cp865-8x16" },
2172 { "5 IBM 866", "Russian, IBM encoding (use with KOI8-R screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
2173 "font8x8=cp866-8x8,font8x14=cp866-8x14,font8x16=cp866b-8x16,mousechar_start=3" },
2174 { "6 IBM 866u", "Ukrainian, IBM encoding (use with KOI8-U screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
2175 "font8x8=cp866u-8x8,font8x14=cp866u-8x14,font8x16=cp866u-8x16,mousechar_start=3" },
2176 { "7 IBM 1251", "Cyrillic, MS Windows encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2177 "font8x8=cp1251-8x8,font8x14=cp1251-8x14,font8x16=cp1251-8x16,mousechar_start=3" },
2178 { "8 ISO 8859-1", "Western Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2179 "font8x8=iso-8x8,font8x14=iso-8x14,font8x16=iso-8x16" },
2180 { "9 ISO 8859-2", "Eastern Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2181 "font8x8=iso02-8x8,font8x14=iso02-8x14,font8x16=iso02-8x16" },
2182 { "a ISO 8859-4", "Baltic, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2183 "font8x8=iso04-8x8,font8x14=iso04-8x14,font8x16=iso04-8x16" },
2184 { "b ISO 8859-7", "Greek, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2185 "font8x8=iso07-8x8,font8x14=iso07-8x14,font8x16=iso07-8x16" },
2186 { "c ISO 8859-8", "Hebrew, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2187 "font8x8=iso08-8x8,font8x14=iso08-8x14,font8x16=iso08-8x16" },
2188 { "d ISO 8859-15", "Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2189 "font8x8=iso15-8x8,font8x14=iso15-8x14,font8x16=iso15-8x16" },
2190 { "e SWISS", "English, better resolution", dmenuVarCheck, dmenuSetVariables, NULL,
2191 "font8x8=swiss-8x8,font8x14=NO,font8x16=swiss-8x16" },
2195 #endif /* WITH_SYSCONS */
2197 DMenu MenuUsermgmt = {
2199 "User and group management",
2200 "The submenus here allow to manipulate user groups and\n"
2201 "login accounts.\n",
2202 "Configure your user groups and users",
2204 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
2205 { "User", "Add a new user to the system.", NULL, userAddUser },
2206 { "Group", "Add a new user group to the system.", NULL, userAddGroup },
2210 DMenu MenuSecurity = {
2211 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
2212 "System Security Options Menu",
2213 "This menu allows you to configure aspects of the operating system security\n"
2214 "policy. Please read the system documentation carefully before modifying\n"
2215 "these settings, as they may cause service disruption if used improperly.\n"
2217 "Most settings will take affect only following a system reboot.",
2218 "Configure system security options",
2220 { { "X Exit", "Exit this menu (returning to previous)",
2221 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
2222 { " Securelevel", "Configure securelevels for the system",
2223 NULL, configSecurelevel },
2225 { " LOMAC", "Use Low Watermark Mandatory Access Control at boot",
2226 dmenuVarCheck, dmenuToggleVariable, NULL, "lomac_enable=YES" },
2228 { " NFS port", "Require that the NFS clients used reserved ports",
2229 dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_reserved_port_only=YES" },
2233 DMenu MenuSecurelevel = {
2234 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2235 "Securelevel Configuration Menu",
2236 "This menu allows you to select the securelevel your system runs with.\n"
2237 "When operating at a securelevel, certain root privileges are disabled,\n"
2238 "which may increase resistance to exploits and protect system integrity.\n"
2239 "In secure mode system flags may not be overriden by the root user,\n"
2240 "access to direct kernel memory is limited, and kernel modules may not\n"
2241 "be changed. In highly secure mode, mounted file systems may not be\n"
2242 "modified on-disk, tampering with the system clock is prohibited. In\n"
2243 "network secure mode configuration changes to firwalling are prohibited.\n",
2244 "Select a securelevel to operate at - F1 for help",
2246 { { "X Exit", "Exit this menu (returning to previous)",
2247 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
2248 { "Disabled", "Disable securelevels", NULL, configSecurelevelDisabled, },
2249 { "Secure", "Secure mode", NULL, configSecurelevelSecure },
2250 { "Highly Secure", "Highly secure mode", NULL, configSecurelevelHighlySecure },
2251 { "Network Secure", "Network secure mode", NULL, configSecurelevelNetworkSecure },
2257 "Please choose a fixit option",
2258 "There are three ways of going into \"fixit\" mode:\n"
2259 "- you can use the live filesystem CDROM/DVD, in which case there will be\n"
2260 " full access to the complete set of FreeBSD commands and utilities,\n"
2261 "- you can use the more limited (but perhaps customized) fixit floppy,\n"
2262 "- or you can start an Emergency Holographic Shell now, which is\n"
2263 " limited to the subset of commands that is already available right now.",
2264 "Press F1 for more detailed repair instructions",
2266 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
2267 { "2 CDROM/DVD", "Use the \"live\" filesystem CDROM/DVD", NULL, installFixitCDROM },
2268 { "3 Floppy", "Use a floppy generated from the fixit image", NULL, installFixitFloppy },
2269 { "4 Shell", "Start an Emergency Holographic Shell", NULL, installFixitHoloShell },