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 setKernel(dialogMenuItem *self)
63 KernelDists = DIST_KERNEL_ALL;
64 return DITEM_SUCCESS | DITEM_REDRAW;
68 clearKernel(dialogMenuItem *self)
70 Dists &= ~DIST_KERNEL;
72 return DITEM_SUCCESS | DITEM_REDRAW;
76 setDocAll(dialogMenuItem *self)
79 DocDists = DIST_DOC_ALL;
80 return DITEM_SUCCESS | DITEM_REDRAW;
84 #define _IS_SET(dist, set) (((dist) & (set)) == (set))
86 #define IS_DEVELOPER(dist, extra) (_IS_SET(dist, _DIST_DEVELOPER | extra) || \
87 _IS_SET(dist, _DIST_DEVELOPER | extra))
89 #define IS_USER(dist, extra) (_IS_SET(dist, _DIST_USER | extra) || \
90 _IS_SET(dist, _DIST_USER | extra))
93 checkDistDeveloper(dialogMenuItem *self)
95 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_ALL);
99 checkDistKernDeveloper(dialogMenuItem *self)
101 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_SYS);
105 checkDistUser(dialogMenuItem *self)
107 return IS_USER(Dists, 0);
111 checkDistMinimum(dialogMenuItem *self)
113 return Dists == (DIST_BASE | DIST_KERNEL);
117 checkDistEverything(dialogMenuItem *self)
119 return Dists == DIST_ALL &&
120 _IS_SET(DocDists, DIST_DOC_ALL) &&
121 _IS_SET(SrcDists, DIST_SRC_ALL) &&
122 _IS_SET(KernelDists, DIST_KERNEL_ALL);
126 srcFlagCheck(dialogMenuItem *item)
132 kernelFlagCheck(dialogMenuItem *item)
138 docFlagCheck(dialogMenuItem *item)
144 checkTrue(dialogMenuItem *item)
149 /* All the system menus go here.
151 * Hardcoded things like version number strings will disappear from
152 * these menus just as soon as I add the code for doing inline variable
158 "Glossary of functions",
159 "This menu contains an alphabetized index of the top level functions in\n"
160 "this program (sysinstall). Invoke an option by pressing [SPACE] or\n"
161 "[ENTER]. To exit, use [TAB] to move to the Cancel button.",
162 "Use PageUp or PageDown to move through this menu faster!",
164 { { " Anon FTP", "Configure anonymous FTP logins.", dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
165 { " Commit", "Commit any pending actions (dangerous!)", NULL, installCustomCommit },
166 { " Country", "Set the system's country", NULL, configCountry },
168 { " Console settings", "Customize system console behavior.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
170 { " Configure", "The system configuration menu.", NULL, dmenuSubmenu, NULL, &MenuConfigure },
171 { " Defaults, Load (FDD)","Load default settings from floppy.", NULL, dispatch_load_floppy },
172 { " Defaults, Load (CD)", "Load default settings from CDROM.", NULL, dispatch_load_cdrom },
173 { " Defaults, Load", "Load default settings (all devices).", NULL, dispatch_load_menu },
175 { " Device, Mouse", "The mouse configuration menu.", NULL, dmenuSubmenu, NULL, &MenuMouse },
177 { " Disklabel", "The disk Label editor", NULL, diskLabelEditor },
178 { " Dists, All", "Root of the distribution tree.", NULL, dmenuSubmenu, NULL, &MenuDistributions },
179 { " Dists, Basic", "Basic FreeBSD distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSubDistributions },
180 { " Dists, Developer", "Select developer's distribution.", checkDistDeveloper, distSetDeveloper },
181 { " Dists, Src", "Src distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSrcDistributions },
182 { " Dists, Kern Developer", "Select kernel developer's distribution.", checkDistKernDeveloper, distSetKernDeveloper },
183 { " Dists, User", "Select average user distribution.", checkDistUser, distSetUser },
184 { " Distributions, Adding", "Installing additional distribution sets", NULL, distExtractAll },
185 { " Documentation", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
186 { " Documentation Installation", "Installation of FreeBSD documentation set", NULL, distSetDocMenu },
187 { " Doc, README", "The distribution README file.", NULL, dmenuDisplayFile, NULL, "README" },
188 { " Doc, Errata", "The distribution errata.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
189 { " Doc, Hardware", "The distribution hardware guide.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
190 { " Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
191 { " Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
192 { " Doc, HTML", "The HTML documentation menu.", NULL, docBrowser },
193 { " Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
194 { " Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell },
196 { " Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor },
198 { " Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit },
199 { " FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP },
200 { " Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
201 { " HTML Docs", "The HTML documentation menu", NULL, docBrowser },
202 { " inetd Configuration", "Configure inetd and simple internet services.", dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
203 { " Install, Standard", "A standard system installation.", NULL, installStandard },
204 { " Install, Express", "An express system installation.", NULL, installExpress },
205 { " Install, Custom", "The custom installation menu", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
206 { " Label", "The disk Label editor", NULL, diskLabelEditor },
207 { " Media", "Top level media selection menu.", NULL, dmenuSubmenu, NULL, &MenuMedia },
208 { " Media, NFS", "Select NFS installation media.", NULL, mediaSetNFS },
209 { " Media, Floppy", "Select floppy installation media.", NULL, mediaSetFloppy },
210 { " Media, CDROM/DVD", "Select CDROM/DVD installation media.", NULL, mediaSetCDROM },
211 { " Media, USB", "Select USB installation media.", NULL, mediaSetUSB },
212 { " Media, DOS", "Select DOS installation media.", NULL, mediaSetDOS },
213 { " Media, UFS", "Select UFS installation media.", NULL, mediaSetUFS },
214 { " Media, FTP", "Select FTP installation media.", NULL, mediaSetFTP },
215 { " Media, FTP Passive", "Select passive FTP installation media.", NULL, mediaSetFTPPassive },
216 { " Media, HTTP", "Select FTP via HTTP proxy installation media.", NULL, mediaSetHTTP },
217 { " Network Interfaces", "Configure network interfaces", NULL, tcpMenuSelect },
218 { " Networking Services", "The network services menu.", NULL, dmenuSubmenu, NULL, &MenuNetworking },
219 { " NFS, client", "Set NFS client flag.", dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
220 { " NFS, server", "Set NFS server flag.", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
221 { " NTP Menu", "The NTP configuration menu.", NULL, dmenuSubmenu, NULL, &MenuNTP },
222 { " Options", "The options editor.", NULL, optionsEditor },
223 { " Packages", "The packages collection", NULL, configPackages },
225 { " Partition", "The disk Slice (PC-style partition) Editor", NULL, diskPartitionEditor },
227 { " PCNFSD", "Run authentication server for PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
228 { " Root Password", "Set the system manager's password.", NULL, dmenuSystemCommand, NULL, "passwd root" },
229 { " Router", "Select routing daemon (default: routed)", NULL, configRouter, NULL, "router_enable" },
230 { " Security", "Configure system security options", NULL, dmenuSubmenu, NULL, &MenuSecurity },
232 { " Syscons", "The system console configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
234 { " Syscons, Font", "The console screen font.", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
236 { " Syscons, Keymap", "The console keymap configuration menu.", NULL, keymapMenuSelect },
237 { " Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
238 { " Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
240 { " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
241 { " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
243 #endif /* WITH_SYSCONS */
244 { " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
245 { " TTYs", "Configure system ttys.", NULL, configEtcTtys, NULL, "ttys" },
246 { " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
247 { " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
248 { " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
252 /* The country menu */
253 #include "countries.h"
255 /* The initial installation menu */
256 DMenu MenuInitial = {
258 "sysinstall Main Menu", /* title */
259 "Welcome to the FreeBSD installation and configuration tool. Please\n" /* prompt */
260 "select one of the options below by using the arrow keys or typing the\n"
261 "first character of the option name you're interested in. Invoke an\n"
262 "option with [SPACE] or [ENTER]. To exit, use [TAB] to move to Exit.",
266 { "X Exit Install", NULL, NULL, dmenuExit },
267 { " Usage", "Quick start - How to use this menu system", NULL, dmenuDisplayFile, NULL, "usage" },
268 { "Standard", "Begin a standard installation (recommended)", NULL, installStandard },
269 { "Express", "Begin a quick installation (for experts)", NULL, installExpress },
270 { " Custom", "Begin a custom installation (for experts)", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
271 { "Configure", "Do post-install configuration of FreeBSD", NULL, dmenuSubmenu, NULL, &MenuConfigure },
272 { "Doc", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
274 { "Keymap", "Select keyboard type", NULL, keymapMenuSelect },
276 { "Options", "View/Set various installation options", NULL, optionsEditor },
277 { "Fixit", "Repair mode with CDROM/DVD/floppy or start shell", NULL, dmenuSubmenu, NULL, &MenuFixit },
278 { "Upgrade", "Upgrade an existing system", NULL, installUpgrade },
279 { "Load Config..","Load default install configuration", NULL, dispatch_load_menu },
280 { "Index", "Glossary of functions", NULL, dmenuSubmenu, NULL, &MenuIndex },
284 /* The main documentation menu */
285 DMenu MenuDocumentation = {
287 "FreeBSD Documentation Menu",
288 "If you are at all unsure about the configuration of your hardware\n"
289 "or are looking to build a system specifically for FreeBSD, read the\n"
290 "Hardware guide! New users should also read the Install document for\n"
291 "a step-by-step tutorial on installing FreeBSD. For general information,\n"
292 "consult the README file.",
293 "Confused? Press F1 for help.",
295 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
296 { "1 README", "A general description of FreeBSD. Read this!", NULL, dmenuDisplayFile, NULL, "README" },
297 { "2 Errata", "Late-breaking, post-release news.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
298 { "3 Hardware", "The FreeBSD survival guide for PC hardware.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
299 { "4 Copyright", "The FreeBSD Copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
300 { "5 Release" ,"The release notes for this version of FreeBSD.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
301 { "6 Shortcuts", "Creating shortcuts to sysinstall.", NULL, dmenuDisplayFile, NULL, "shortcuts" },
302 { "7 HTML Docs", "Go to the HTML documentation menu (post-install).", NULL, docBrowser },
306 /* The FreeBSD documentation installation menu */
307 DMenu MenuDocInstall = {
308 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
309 "FreeBSD Documentation Installation Menu",
310 "This menu will allow you to install the whole documentation set\n"
311 "from the FreeBSD Documentation Project: Handbook, FAQ and articles.\n\n"
312 "Please select the language versions you wish to install. At minimum,\n"
313 "you should install the English version, this is the original version\n"
314 "of the documentation.",
317 { { "X Exit", "Exit this menu (returning to previous)",
318 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
319 { "All", "Select all below",
320 NULL, setDocAll, NULL, NULL, ' ', ' ', ' ' },
321 { " bn", "Bengali Documentation",
322 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_BN },
323 { " da", "Danish Documentation",
324 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_DA },
325 { " de", "German Documentation",
326 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_DE },
327 { " el", "Greek Documentation",
328 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_EL },
329 { " en", "English Documentation (recommended)",
330 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_EN },
331 { " es", "Spanish Documentation",
332 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_ES },
333 { " fr", "French Documentation",
334 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_FR },
335 { " hu", "Hungarian Documentation",
336 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_HU },
337 { " it", "Italian Documentation",
338 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_IT },
339 { " ja", "Japanese Documentation",
340 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_JA },
341 { " mn", "Mongolian Documentation",
342 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_MN },
343 { " nl", "Dutch Documentation",
344 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_NL },
345 { " pl", "Polish Documentation",
346 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_PL },
347 { " pt", "Portuguese Documentation",
348 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_PT },
349 { " ru", "Russian Documentation",
350 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_RU },
351 { " sr", "Serbian Documentation",
352 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_SR },
353 { " tr", "Turkish Documentation",
354 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_TR },
355 { " zh_cn", "Simplified Chinese Documentation",
356 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_ZH_CN },
357 { " zh_tw", "Traditional Chinese Documentation",
358 dmenuFlagCheck, dmenuSetFlag, NULL, &DocDists, '[', 'X', ']', DIST_DOC_ZH_TW },
363 DMenu MenuMouseType = {
364 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
366 "Select a protocol type for your mouse",
367 "If your mouse is attached to the bus mouse port, you should always choose\n"
368 "\"Auto\", regardless of the model and the brand of the mouse. All other\n"
369 "protocol types are for serial mice and should not be used with the bus\n"
370 "mouse. If you have a serial mouse and are not sure about its protocol,\n"
371 "you should also try \"Auto\". It may not work for the serial mouse if the\n"
372 "mouse does not support the PnP standard. But, it won't hurt. Many\n"
373 "2-button serial mice are compatible with \"Microsoft\" or \"MouseMan\".\n"
374 "3-button serial mice may be compatible with \"MouseSystems\" or \"MouseMan\".\n"
375 "If the serial mouse has a wheel, it may be compatible with \"IntelliMouse\".",
378 { { "1 Auto", "Bus mouse or PnP serial mouse",
379 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=auto" },
381 "Select a protocol type for your mouse",
382 "If your mouse is attached to the PS/2 mouse port or the bus mouse port,\n"
383 "you should always choose \"Auto\", regardless of the model and the brand\n"
384 "of the mouse. All other protocol types are for serial mice and should\n"
385 "not be used with the PS/2 port mouse or the bus mouse. If you have\n"
386 "a serial mouse and are not sure about its protocol, you should also try\n"
387 "\"Auto\". It may not work for the serial mouse if the mouse does not\n"
388 "support the PnP standard. But, it won't hurt. Many 2-button serial mice\n"
389 "are compatible with \"Microsoft\" or \"MouseMan\". 3-button serial mice\n"
390 "may be compatible with \"MouseSystems\" or \"MouseMan\". If the serial\n"
391 "mouse has a wheel, it may be compatible with \"IntelliMouse\".",
394 { { "1 Auto", "Bus mouse, PS/2 style mouse or PnP serial mouse",
395 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=auto" },
397 { "2 GlidePoint", "ALPS GlidePoint pad (serial)",
398 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=glidepoint" },
399 { "3 Hitachi","Hitachi tablet (serial)",
400 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmhittab" },
401 { "4 IntelliMouse", "Microsoft IntelliMouse (serial)",
402 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=intellimouse" },
403 { "5 Logitech", "Logitech protocol (old models) (serial)",
404 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=logitech" },
405 { "6 Microsoft", "Microsoft protocol (serial)",
406 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=microsoft" },
407 { "7 MM Series","MM Series protocol (serial)",
408 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmseries" },
409 { "8 MouseMan", "Logitech MouseMan/TrackMan models (serial)",
410 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mouseman" },
411 { "9 MouseSystems", "MouseSystems protocol (serial)",
412 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mousesystems" },
413 { "A ThinkingMouse","Kensington ThinkingMouse (serial)",
414 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=thinkingmouse" },
419 DMenu MenuMousePort = {
420 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
421 "Select your mouse port from the following menu",
422 "The built-in pointing device of laptop/notebook computers is usually\n"
423 "a BusMouse style device.",
427 { "1 BusMouse", "PC-98x1 bus mouse (/dev/mse0)",
428 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" },
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" },
436 DMenu MenuMousePort = {
437 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
438 "Select your mouse port from the following menu",
439 "The built-in pointing device of laptop/notebook computers is usually\n"
440 "a PS/2 style device.",
443 { { "1 PS/2", "PS/2 style mouse (/dev/psm0)",
444 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/psm0" },
445 { "2 COM1", "Serial mouse on COM1 (/dev/cuad0)",
446 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad0" },
447 { "3 COM2", "Serial mouse on COM2 (/dev/cuad1)",
448 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad1" },
449 { "4 COM3", "Serial mouse on COM3 (/dev/cuad2)",
450 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad2" },
451 { "5 COM4", "Serial mouse on COM4 (/dev/cuad3)",
452 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuad3" },
453 { "6 BusMouse", "Logitech, ATI or MS bus mouse (/dev/mse0)",
454 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" },
461 "Please configure your mouse",
462 "You can cut and paste text in the text console by running the mouse\n"
463 "daemon. Specify a port and a protocol type of your mouse and enable\n"
464 "the mouse daemon. If you don't want this feature, select 6 to disable\n"
466 "Once you've enabled the mouse daemon, you can specify \"/dev/sysmouse\"\n"
467 "as your mouse device and \"SysMouse\" or \"MouseSystems\" as mouse\n"
468 "protocol when running the X configuration utility (see Configuration\n"
472 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
473 { "2 Enable", "Test and run the mouse daemon", NULL, mousedTest, NULL, NULL },
474 { "3 Type", "Select mouse protocol type", NULL, dmenuSubmenu, NULL, &MenuMouseType },
475 { "4 Port", "Select mouse port", NULL, dmenuSubmenu, NULL, &MenuMousePort },
476 { "5 Flags", "Set additional flags", dmenuVarCheck, setMouseFlags,
477 NULL, VAR_MOUSED_FLAGS "=" },
478 { "6 Disable", "Disable the mouse daemon", NULL, mousedDisable, NULL, NULL },
481 #endif /* WITH_MICE */
483 DMenu MenuMediaCDROM = {
484 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
485 "Choose a CD/DVD type",
486 "FreeBSD can be installed directly from a CD/DVD containing a valid\n"
487 "FreeBSD distribution. If you are seeing this menu it is because\n"
488 "more than one CD/DVD drive was found on your system. Please select one\n"
489 "of the following CD/DVD drives as your installation drive.",
495 DMenu MenuMediaFloppy = {
496 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
497 "Choose a Floppy drive",
498 "You have more than one floppy drive. Please choose which drive\n"
499 "you would like to use.",
505 DMenu MenuMediaUSB = {
506 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
507 "Choose a USB drive",
508 "You have more than one USB drive. Please choose which drive\n"
509 "you would like to use.",
515 DMenu MenuMediaDOS = {
516 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
517 "Choose a DOS partition",
518 "FreeBSD can be installed directly from a DOS partition\n"
519 "assuming, of course, that you have copied the relevant\n"
520 "distributions into your DOS partition before starting this\n"
521 "installation. If this is not the case then you should reboot\n"
522 "DOS at this time and copy the distributions you wish to install\n"
523 "into a \"FREEBSD\" subdirectory on one of your DOS partitions.\n"
524 "Otherwise, please select the DOS partition containing the FreeBSD\n"
525 "distribution files.",
531 DMenu MenuMediaFTP = {
532 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
533 "Please select a FreeBSD FTP distribution site",
534 "Please select the site closest to you or \"other\" if you'd like to\n"
535 "specify a different choice. Also note that not every site listed here\n"
536 "carries more than the base distribution kits. Only Primary sites are\n"
537 "guaranteed to carry the full range of possible distributions.",
538 "Select a site that's close!",
540 { { "Main Site", "ftp.freebsd.org", NULL, dmenuSetVariable, NULL,
541 VAR_FTP_PATH "=ftp://ftp.freebsd.org" },
542 { "URL", "Specify some other ftp site by URL", NULL, dmenuSetVariable, NULL,
543 VAR_FTP_PATH "=other" },
544 { "Snapshots Server Japan", "snapshots.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
545 VAR_FTP_PATH "=ftp://snapshots.jp.freebsd.org" },
546 { "Snapshots Server Sweden", "snapshots.se.freebsd.org", NULL, dmenuSetVariable, NULL,
547 VAR_FTP_PATH "=ftp://snapshots.se.freebsd.org" },
549 { "IPv6 Main Site", "ftp.freebsd.org", NULL, dmenuSetVariable, NULL,
550 VAR_FTP_PATH "=ftp://ftp.freebsd.org" },
551 { " IPv6 Ireland", "ftp3.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
552 VAR_FTP_PATH "=ftp://ftp3.ie.freebsd.org" },
553 { " IPv6 Israel", "ftp.il.freebsd.org", NULL, dmenuSetVariable, NULL,
554 VAR_FTP_PATH "=ftp://ftp.il.freebsd.org" },
555 { " IPv6 Japan", "ftp2.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
556 VAR_FTP_PATH "=ftp://ftp2.jp.freebsd.org" },
557 { " IPv6 USA", "ftp4.us.freebsd.org", NULL, dmenuSetVariable, NULL,
558 VAR_FTP_PATH "=ftp://ftp4.us.freebsd.org" },
559 { " IPv6 Turkey", "ftp2.tr.freebsd.org", NULL, dmenuSetVariable, NULL,
560 VAR_FTP_PATH "=ftp://ftp2.tr.freebsd.org" },
562 { "Primary", "ftp1.freebsd.org", NULL, dmenuSetVariable, NULL,
563 VAR_FTP_PATH "=ftp://ftp1.freebsd.org" },
564 { " Primary #2", "ftp2.freebsd.org", NULL, dmenuSetVariable, NULL,
565 VAR_FTP_PATH "=ftp://ftp2.freebsd.org" },
566 { " Primary #3", "ftp3.freebsd.org", NULL, dmenuSetVariable, NULL,
567 VAR_FTP_PATH "=ftp://ftp3.freebsd.org" },
568 { " Primary #4", "ftp4.freebsd.org", NULL, dmenuSetVariable, NULL,
569 VAR_FTP_PATH "=ftp://ftp4.freebsd.org" },
570 { " Primary #5", "ftp5.freebsd.org", NULL, dmenuSetVariable, NULL,
571 VAR_FTP_PATH "=ftp://ftp5.freebsd.org" },
572 { " Primary #6", "ftp6.freebsd.org", NULL, dmenuSetVariable, NULL,
573 VAR_FTP_PATH "=ftp://ftp6.freebsd.org" },
574 { " Primary #7", "ftp7.freebsd.org", NULL, dmenuSetVariable, NULL,
575 VAR_FTP_PATH "=ftp://ftp7.freebsd.org" },
576 { " Primary #8", "ftp8.freebsd.org", NULL, dmenuSetVariable, NULL,
577 VAR_FTP_PATH "=ftp://ftp8.freebsd.org" },
578 { " Primary #9", "ftp9.freebsd.org", NULL, dmenuSetVariable, NULL,
579 VAR_FTP_PATH "=ftp://ftp9.freebsd.org" },
580 { " Primary #10", "ftp10.freebsd.org", NULL, dmenuSetVariable, NULL,
581 VAR_FTP_PATH "=ftp://ftp10.freebsd.org" },
582 { " Primary #11", "ftp11.freebsd.org", NULL, dmenuSetVariable, NULL,
583 VAR_FTP_PATH "=ftp://ftp11.freebsd.org" },
584 { " Primary #12", "ftp12.freebsd.org", NULL, dmenuSetVariable, NULL,
585 VAR_FTP_PATH "=ftp://ftp12.freebsd.org" },
586 { " Primary #13", "ftp13.freebsd.org", NULL, dmenuSetVariable, NULL,
587 VAR_FTP_PATH "=ftp://ftp13.freebsd.org" },
588 { " Primary #14", "ftp14.freebsd.org", NULL, dmenuSetVariable, NULL,
589 VAR_FTP_PATH "=ftp://ftp14.freebsd.org" },
591 { "Argentina", "ftp.ar.freebsd.org", NULL, dmenuSetVariable, NULL,
592 VAR_FTP_PATH "=ftp://ftp.ar.freebsd.org" },
594 { "Australia", "ftp.au.freebsd.org", NULL, dmenuSetVariable, NULL,
595 VAR_FTP_PATH "=ftp://ftp.au.freebsd.org" },
596 { " Australia #2","ftp2.au.freebsd.org", NULL, dmenuSetVariable, NULL,
597 VAR_FTP_PATH "=ftp://ftp2.au.freebsd.org" },
598 { " Australia #3","ftp3.au.freebsd.org", NULL, dmenuSetVariable, NULL,
599 VAR_FTP_PATH "=ftp://ftp3.au.freebsd.org" },
601 { "Austria","ftp.at.freebsd.org", NULL, dmenuSetVariable, NULL,
602 VAR_FTP_PATH "=ftp://ftp.at.freebsd.org" },
603 { " Austria #2","ftp2.at.freebsd.org", NULL, dmenuSetVariable, NULL,
604 VAR_FTP_PATH "=ftp://ftp2.at.freebsd.org" },
606 { "Brazil", "ftp.br.freebsd.org", NULL, dmenuSetVariable, NULL,
607 VAR_FTP_PATH "=ftp://ftp.br.freebsd.org" },
608 { " Brazil #2", "ftp2.br.freebsd.org", NULL, dmenuSetVariable, NULL,
609 VAR_FTP_PATH "=ftp://ftp2.br.freebsd.org" },
610 { " Brazil #3", "ftp3.br.freebsd.org", NULL, dmenuSetVariable, NULL,
611 VAR_FTP_PATH "=ftp://ftp3.br.freebsd.org" },
612 { " Brazil #4", "ftp4.br.freebsd.org", NULL, dmenuSetVariable, NULL,
613 VAR_FTP_PATH "=ftp://ftp4.br.freebsd.org" },
614 { " Brazil #5", "ftp5.br.freebsd.org", NULL, dmenuSetVariable, NULL,
615 VAR_FTP_PATH "=ftp://ftp5.br.freebsd.org" },
616 { " Brazil #6", "ftp6.br.freebsd.org", NULL, dmenuSetVariable, NULL,
617 VAR_FTP_PATH "=ftp://ftp6.br.freebsd.org" },
618 { " Brazil #7", "ftp7.br.freebsd.org", NULL, dmenuSetVariable, NULL,
619 VAR_FTP_PATH "=ftp://ftp7.br.freebsd.org" },
621 { "Canada", "ftp.ca.freebsd.org", NULL, dmenuSetVariable, NULL,
622 VAR_FTP_PATH "=ftp://ftp.ca.freebsd.org" },
624 { "China", "ftp.cn.freebsd.org", NULL, dmenuSetVariable, NULL,
625 VAR_FTP_PATH "=ftp://ftp.cn.freebsd.org" },
626 { " China #2", "ftp2.cn.freebsd.org", NULL, dmenuSetVariable, NULL,
627 VAR_FTP_PATH "=ftp://ftp2.cn.freebsd.org" },
629 { "Croatia", "ftp.hr.freebsd.org", NULL, dmenuSetVariable, NULL,
630 VAR_FTP_PATH "=ftp://ftp.hr.freebsd.org" },
632 { "Czech Republic", "ftp.cz.freebsd.org", NULL, dmenuSetVariable, NULL,
633 VAR_FTP_PATH "=ftp://ftp.cz.freebsd.org" },
635 { "Denmark", "ftp.dk.freebsd.org", NULL, dmenuSetVariable, NULL,
636 VAR_FTP_PATH "=ftp://ftp.dk.freebsd.org" },
637 { " Denmark #2", "ftp2.dk.freebsd.org", NULL, dmenuSetVariable, NULL,
638 VAR_FTP_PATH "=ftp://ftp2.dk.freebsd.org" },
640 { "Estonia", "ftp.ee.freebsd.org", NULL, dmenuSetVariable, NULL,
641 VAR_FTP_PATH "=ftp://ftp.ee.freebsd.org" },
643 { "Finland", "ftp.fi.freebsd.org", NULL, dmenuSetVariable, NULL,
644 VAR_FTP_PATH "=ftp://ftp.fi.freebsd.org" },
646 { "France", "ftp.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
647 VAR_FTP_PATH "=ftp://ftp.fr.freebsd.org" },
648 { " France #2", "ftp2.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
649 VAR_FTP_PATH "=ftp://ftp2.fr.freebsd.org" },
650 { " France #3", "ftp3.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
651 VAR_FTP_PATH "=ftp://ftp3.fr.freebsd.org" },
652 { " France #5", "ftp5.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
653 VAR_FTP_PATH "=ftp://ftp5.fr.freebsd.org" },
654 { " France #6", "ftp6.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
655 VAR_FTP_PATH "=ftp://ftp6.fr.freebsd.org" },
656 { " France #8", "ftp8.fr.freebsd.org", NULL, dmenuSetVariable, NULL,
657 VAR_FTP_PATH "=ftp://ftp8.fr.freebsd.org" },
659 { "Germany", "ftp.de.freebsd.org", NULL, dmenuSetVariable, NULL,
660 VAR_FTP_PATH "=ftp://ftp.de.freebsd.org" },
661 { " Germany #2", "ftp2.de.freebsd.org", NULL, dmenuSetVariable, NULL,
662 VAR_FTP_PATH "=ftp://ftp2.de.freebsd.org" },
663 { " Germany #3", "ftp3.de.freebsd.org", NULL, dmenuSetVariable, NULL,
664 VAR_FTP_PATH "=ftp://ftp3.de.freebsd.org" },
665 { " Germany #4", "ftp4.de.freebsd.org", NULL, dmenuSetVariable, NULL,
666 VAR_FTP_PATH "=ftp://ftp4.de.freebsd.org" },
667 { " Germany #5", "ftp5.de.freebsd.org", NULL, dmenuSetVariable, NULL,
668 VAR_FTP_PATH "=ftp://ftp5.de.freebsd.org" },
669 { " Germany #6", "ftp6.de.freebsd.org", NULL, dmenuSetVariable, NULL,
670 VAR_FTP_PATH "=ftp://ftp6.de.freebsd.org" },
671 { " Germany #7", "ftp7.de.freebsd.org", NULL, dmenuSetVariable, NULL,
672 VAR_FTP_PATH "=ftp://ftp7.de.freebsd.org" },
673 { " Germany #8", "ftp8.de.freebsd.org", NULL, dmenuSetVariable, NULL,
674 VAR_FTP_PATH "=ftp://ftp8.de.freebsd.org" },
676 { "Greece", "ftp.gr.freebsd.org", NULL, dmenuSetVariable, NULL,
677 VAR_FTP_PATH "=ftp://ftp.gr.freebsd.org" },
678 { " Greece #2", "ftp2.gr.freebsd.org", NULL, dmenuSetVariable, NULL,
679 VAR_FTP_PATH "=ftp://ftp2.gr.freebsd.org" },
681 { "Hungary", "ftp.hu.freebsd.org", NULL, dmenuSetVariable, NULL,
682 VAR_FTP_PATH "=ftp://ftp.hu.freebsd.org" },
684 { "Iceland", "ftp.is.freebsd.org", NULL, dmenuSetVariable, NULL,
685 VAR_FTP_PATH "=ftp://ftp.is.freebsd.org" },
687 { "Ireland", "ftp.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
688 VAR_FTP_PATH "=ftp://ftp.ie.freebsd.org" },
689 { " Ireland #2", "ftp2.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
690 VAR_FTP_PATH "=ftp://ftp2.ie.freebsd.org" },
691 { " Ireland #3", "ftp3.ie.freebsd.org", NULL, dmenuSetVariable, NULL,
692 VAR_FTP_PATH "=ftp://ftp3.ie.freebsd.org" },
694 { "Isreal", "ftp.il.freebsd.org", NULL, dmenuSetVariable, NULL,
695 VAR_FTP_PATH "=ftp://ftp.il.freebsd.org" },
697 { "Italy", "ftp.it.freebsd.org", NULL, dmenuSetVariable, NULL,
698 VAR_FTP_PATH "=ftp://ftp.it.freebsd.org" },
700 { "Japan", "ftp.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
701 VAR_FTP_PATH "=ftp://ftp.jp.freebsd.org" },
702 { " Japan #2", "ftp2.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
703 VAR_FTP_PATH "=ftp://ftp2.jp.freebsd.org" },
704 { " Japan #3", "ftp3.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
705 VAR_FTP_PATH "=ftp://ftp3.jp.freebsd.org" },
706 { " Japan #4", "ftp4.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
707 VAR_FTP_PATH "=ftp://ftp4.jp.freebsd.org" },
708 { " Japan #5", "ftp5.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
709 VAR_FTP_PATH "=ftp://ftp5.jp.freebsd.org" },
710 { " Japan #6", "ftp6.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
711 VAR_FTP_PATH "=ftp://ftp6.jp.freebsd.org" },
712 { " Japan #7", "ftp7.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
713 VAR_FTP_PATH "=ftp://ftp7.jp.freebsd.org" },
714 { " Japan #8", "ftp8.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
715 VAR_FTP_PATH "=ftp://ftp8.jp.freebsd.org" },
716 { " Japan #9", "ftp9.jp.freebsd.org", NULL, dmenuSetVariable, NULL,
717 VAR_FTP_PATH "=ftp://ftp9.jp.freebsd.org" },
719 { "Korea", "ftp.kr.freebsd.org", NULL, dmenuSetVariable, NULL,
720 VAR_FTP_PATH "=ftp://ftp.kr.freebsd.org" },
721 { " Korea #2", "ftp2.kr.freebsd.org", NULL, dmenuSetVariable, NULL,
722 VAR_FTP_PATH "=ftp://ftp2.kr.freebsd.org" },
724 { "Lithuania", "ftp.lt.freebsd.org", NULL, dmenuSetVariable, NULL,
725 VAR_FTP_PATH "=ftp://ftp.lt.freebsd.org" },
727 { "Netherlands", "ftp.nl.freebsd.org", NULL, dmenuSetVariable, NULL,
728 VAR_FTP_PATH "=ftp://ftp.nl.freebsd.org" },
729 { " Netherlands #2", "ftp2.nl.freebsd.org", NULL, dmenuSetVariable, NULL,
730 VAR_FTP_PATH "=ftp://ftp2.nl.freebsd.org" },
732 { "Norway", "ftp.no.freebsd.org", NULL, dmenuSetVariable, NULL,
733 VAR_FTP_PATH "=ftp://ftp.no.freebsd.org" },
734 { " Norway #3", "ftp3.no.freebsd.org", NULL, dmenuSetVariable, NULL,
735 VAR_FTP_PATH "=ftp://ftp3.no.freebsd.org" },
737 { "Poland", "ftp.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
738 VAR_FTP_PATH "=ftp://ftp.pl.freebsd.org" },
739 { " Poland #2", "ftp2.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
740 VAR_FTP_PATH "=ftp://ftp2.pl.freebsd.org" },
741 { " Poland #5", "ftp5.pl.freebsd.org", NULL, dmenuSetVariable, NULL,
742 VAR_FTP_PATH "=ftp://ftp5.pl.freebsd.org" },
744 { "Portugal", "ftp.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
745 VAR_FTP_PATH "=ftp://ftp.pt.freebsd.org" },
746 { " Portugal #2", "ftp2.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
747 VAR_FTP_PATH "=ftp://ftp2.pt.freebsd.org" },
748 { " Portugal #4", "ftp4.pt.freebsd.org", NULL, dmenuSetVariable, NULL,
749 VAR_FTP_PATH "=ftp://ftp4.pt.freebsd.org" },
751 { "Romania", "ftp.ro.freebsd.org", NULL, dmenuSetVariable, NULL,
752 VAR_FTP_PATH "=ftp://ftp.ro.freebsd.org" },
754 { "Russia", "ftp.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
755 VAR_FTP_PATH "=ftp://ftp.ru.freebsd.org" },
756 { " Russia #2", "ftp2.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
757 VAR_FTP_PATH "=ftp://ftp2.ru.freebsd.org" },
758 { " Russia #3", "ftp3.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
759 VAR_FTP_PATH "=ftp://ftp3.ru.freebsd.org" },
760 { " Russia #4", "ftp4.ru.freebsd.org", NULL, dmenuSetVariable, NULL,
761 VAR_FTP_PATH "=ftp://ftp4.ru.freebsd.org" },
763 { "Singapore", "ftp.sg.freebsd.org", NULL, dmenuSetVariable, NULL,
764 VAR_FTP_PATH "=ftp://ftp.sg.freebsd.org" },
766 { "Slovak Republic", "ftp.sk.freebsd.org", NULL, dmenuSetVariable, NULL,
767 VAR_FTP_PATH "=ftp://ftp.sk.freebsd.org" },
769 { "Slovenia", "ftp.si.freebsd.org", NULL, dmenuSetVariable, NULL,
770 VAR_FTP_PATH "=ftp://ftp.si.freebsd.org" },
771 { " Slovenia #2", "ftp2.si.freebsd.org", NULL, dmenuSetVariable, NULL,
772 VAR_FTP_PATH "=ftp://ftp2.si.freebsd.org" },
774 { "South Africa", "ftp.za.freebsd.org", NULL, dmenuSetVariable, NULL,
775 VAR_FTP_PATH "=ftp://ftp.za.freebsd.org" },
776 { " South Africa #2", "ftp2.za.freebsd.org", NULL, dmenuSetVariable, NULL,
777 VAR_FTP_PATH "=ftp://ftp2.za.freebsd.org" },
778 { " South Africa #3", "ftp3.za.freebsd.org", NULL, dmenuSetVariable, NULL,
779 VAR_FTP_PATH "=ftp://ftp3.za.freebsd.org" },
780 { " South Africa #4", "ftp4.za.freebsd.org", NULL, dmenuSetVariable, NULL,
781 VAR_FTP_PATH "=ftp://ftp4.za.freebsd.org" },
783 { "Spain", "ftp.es.freebsd.org", NULL, dmenuSetVariable, NULL,
784 VAR_FTP_PATH "=ftp://ftp.es.freebsd.org" },
785 { " Spain #2", "ftp2.es.freebsd.org", NULL, dmenuSetVariable, NULL,
786 VAR_FTP_PATH "=ftp://ftp2.es.freebsd.org" },
787 { " Spain #3", "ftp3.es.freebsd.org", NULL, dmenuSetVariable, NULL,
788 VAR_FTP_PATH "=ftp://ftp3.es.freebsd.org" },
790 { "Sweden", "ftp.se.freebsd.org", NULL, dmenuSetVariable, NULL,
791 VAR_FTP_PATH "=ftp://ftp.se.freebsd.org" },
792 { " Sweden #2", "ftp2.se.freebsd.org", NULL, dmenuSetVariable, NULL,
793 VAR_FTP_PATH "=ftp://ftp2.se.freebsd.org" },
794 { " Sweden #3", "ftp3.se.freebsd.org", NULL, dmenuSetVariable, NULL,
795 VAR_FTP_PATH "=ftp://ftp3.se.freebsd.org" },
796 { " Sweden #5", "ftp5.se.freebsd.org", NULL, dmenuSetVariable, NULL,
797 VAR_FTP_PATH "=ftp://ftp5.se.freebsd.org" },
799 { "Switzerland", "ftp.ch.freebsd.org", NULL, dmenuSetVariable, NULL,
800 VAR_FTP_PATH "=ftp://ftp.ch.freebsd.org" },
801 { " Switzerland #2", "ftp2.ch.freebsd.org", NULL, dmenuSetVariable, NULL,
802 VAR_FTP_PATH "=ftp://ftp2.ch.freebsd.org" },
804 { "Taiwan", "ftp.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
805 VAR_FTP_PATH "=ftp://ftp.tw.freebsd.org" },
806 { " Taiwan #2", "ftp2.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
807 VAR_FTP_PATH "=ftp://ftp2.tw.freebsd.org" },
808 { " Taiwan #3", "ftp3.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
809 VAR_FTP_PATH "=ftp://ftp3.tw.freebsd.org" },
810 { " Taiwan #4", "ftp4.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
811 VAR_FTP_PATH "=ftp://ftp4.tw.freebsd.org" },
812 { " Taiwan #6", "ftp6.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
813 VAR_FTP_PATH "=ftp://ftp6.tw.freebsd.org" },
814 { " Taiwan #11", "ftp11.tw.freebsd.org", NULL, dmenuSetVariable, NULL,
815 VAR_FTP_PATH "=ftp://ftp11.tw.freebsd.org" },
817 { "Turkey", "ftp.tr.freebsd.org", NULL, dmenuSetVariable, NULL,
818 VAR_FTP_PATH "=ftp://ftp.tr.freebsd.org" },
819 { " Turkey #2", "ftp2.tr.freebsd.org", NULL, dmenuSetVariable, NULL,
820 VAR_FTP_PATH "=ftp://ftp.tr.freebsd.org" },
822 { "UK", "ftp.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
823 VAR_FTP_PATH "=ftp://ftp.uk.freebsd.org" },
824 { " UK #2", "ftp2.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
825 VAR_FTP_PATH "=ftp://ftp2.uk.freebsd.org" },
826 { " UK #3", "ftp3.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
827 VAR_FTP_PATH "=ftp://ftp3.uk.freebsd.org" },
828 { " UK #4", "ftp4.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
829 VAR_FTP_PATH "=ftp://ftp4.uk.freebsd.org" },
830 { " UK #5", "ftp5.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
831 VAR_FTP_PATH "=ftp://ftp5.uk.freebsd.org" },
832 { " UK #6", "ftp6.uk.freebsd.org", NULL, dmenuSetVariable, NULL,
833 VAR_FTP_PATH "=ftp://ftp6.uk.freebsd.org" },
835 { "Ukraine", "ftp.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
836 VAR_FTP_PATH "=ftp://ftp.ua.freebsd.org" },
837 { " Ukraine #2", "ftp2.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
838 VAR_FTP_PATH "=ftp://ftp2.ua.freebsd.org" },
839 { " Ukraine #5", "ftp5.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
840 VAR_FTP_PATH "=ftp://ftp5.ua.freebsd.org" },
841 { " Ukraine #6", "ftp6.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
842 VAR_FTP_PATH "=ftp://ftp6.ua.freebsd.org" },
843 { " Ukraine #7", "ftp7.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
844 VAR_FTP_PATH "=ftp://ftp7.ua.freebsd.org" },
845 { " Ukraine #8", "ftp8.ua.freebsd.org", NULL, dmenuSetVariable, NULL,
846 VAR_FTP_PATH "=ftp://ftp8.ua.freebsd.org" },
848 { "USA #1", "ftp1.us.freebsd.org", NULL, dmenuSetVariable, NULL,
849 VAR_FTP_PATH "=ftp://ftp1.us.freebsd.org" },
850 { " USA #2", "ftp2.us.freebsd.org", NULL, dmenuSetVariable, NULL,
851 VAR_FTP_PATH "=ftp://ftp2.us.freebsd.org" },
852 { " USA #3", "ftp3.us.freebsd.org", NULL, dmenuSetVariable, NULL,
853 VAR_FTP_PATH "=ftp://ftp3.us.freebsd.org" },
854 { " USA #4", "ftp4.us.freebsd.org", NULL, dmenuSetVariable, NULL,
855 VAR_FTP_PATH "=ftp://ftp4.us.freebsd.org" },
856 { " USA #5", "ftp5.us.freebsd.org", NULL, dmenuSetVariable, NULL,
857 VAR_FTP_PATH "=ftp://ftp5.us.freebsd.org" },
858 { " USA #6", "ftp6.us.freebsd.org", NULL, dmenuSetVariable, NULL,
859 VAR_FTP_PATH "=ftp://ftp6.us.freebsd.org" },
860 { " USA #7", "ftp7.us.freebsd.org", NULL, dmenuSetVariable, NULL,
861 VAR_FTP_PATH "=ftp://ftp7.us.freebsd.org" },
862 { " USA #8", "ftp8.us.freebsd.org", NULL, dmenuSetVariable, NULL,
863 VAR_FTP_PATH "=ftp://ftp8.us.freebsd.org" },
864 { " USA #9", "ftp9.us.freebsd.org", NULL, dmenuSetVariable, NULL,
865 VAR_FTP_PATH "=ftp://ftp9.us.freebsd.org" },
866 { " USA #10", "ftp10.us.freebsd.org", NULL, dmenuSetVariable, NULL,
867 VAR_FTP_PATH "=ftp://ftp10.us.freebsd.org" },
868 { " USA #11", "ftp11.us.freebsd.org", NULL, dmenuSetVariable, NULL,
869 VAR_FTP_PATH "=ftp://ftp11.us.freebsd.org" },
870 { " USA #12", "ftp12.us.freebsd.org", NULL, dmenuSetVariable, NULL,
871 VAR_FTP_PATH "=ftp://ftp12.us.freebsd.org" },
872 { " USA #13", "ftp13.us.freebsd.org", NULL, dmenuSetVariable, NULL,
873 VAR_FTP_PATH "=ftp://ftp13.us.freebsd.org" },
874 { " USA #14", "ftp14.us.freebsd.org", NULL, dmenuSetVariable, NULL,
875 VAR_FTP_PATH "=ftp://ftp14.us.freebsd.org" },
876 { " USA #15", "ftp15.us.freebsd.org", NULL, dmenuSetVariable, NULL,
877 VAR_FTP_PATH "=ftp://ftp15.us.freebsd.org" },
882 DMenu MenuNetworkDevice = {
883 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
884 "Network interface information required",
885 "If you are using PPP over a serial device, as opposed to a direct\n"
886 "ethernet connection, then you may first need to dial your Internet\n"
887 "Service Provider using the ppp utility we provide for that purpose.\n"
888 "If you're using SLIP over a serial device then the expectation is\n"
889 "that you have a HARDWIRED connection.\n\n"
890 "You can also install over a parallel port using a special \"laplink\"\n"
891 "cable to another machine running FreeBSD.",
892 "Press F1 to read network configuration manual",
897 /* Prototype KLD load menu */
901 "Load a KLD from a floppy\n",
907 /* Prototype config file load menu */
911 "Please select the device to load your configuration file from.\n"
912 "Note that a USB key will show up as daNs1.",
918 /* The media selection menu */
920 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
921 "Choose Installation Media",
922 "FreeBSD can be installed from a variety of different installation\n"
923 "media, ranging from floppies to an Internet FTP server. If you're\n"
924 "installing FreeBSD from a supported CD/DVD drive then this is generally\n"
925 "the best media to use if you have no overriding reason for using other\n"
927 "Press F1 for more information on the various media types",
929 { { "1 CD/DVD", "Install from a FreeBSD CD/DVD", NULL, mediaSetCDROM },
930 { "2 FTP", "Install from an FTP server", NULL, mediaSetFTPActive },
931 { "3 FTP Passive", "Install from an FTP server through a firewall", NULL, mediaSetFTPPassive },
932 { "4 HTTP", "Install from an FTP server through a http proxy", NULL, mediaSetHTTP },
933 { "5 DOS", "Install from a DOS partition", NULL, mediaSetDOS },
934 { "6 NFS", "Install over NFS", NULL, mediaSetNFS },
935 { "7 File System", "Install from an existing filesystem", NULL, mediaSetUFS },
936 { "8 Floppy", "Install from a floppy disk set", NULL, mediaSetFloppy },
937 { "9 USB", "Install from a USB drive", NULL, mediaSetUSB },
938 { "X Options", "Go to the Options screen", NULL, optionsEditor },
942 /* The distributions menu */
943 DMenu MenuDistributions = {
944 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
945 "Choose Distributions",
946 "As a convenience, we provide several \"canned\" distribution sets.\n"
947 "These select what we consider to be the most reasonable defaults for the\n"
948 "type of system in question. If you would prefer to pick and choose the\n"
949 "list of distributions yourself, simply select \"Custom\". You can also\n"
950 "pick a canned distribution set and then fine-tune it with the Custom item.\n\n"
951 "Choose an item by pressing [SPACE] or [ENTER]. When finished, choose the\n"
952 "Exit item or move to the OK button with [TAB].",
953 "Press F1 for more information on these options.",
955 { { "X Exit", "Exit this menu (returning to previous)",
956 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
957 { "All", "All system sources and binaries",
958 checkDistEverything, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
959 { "Reset", "Reset selected distribution list to nothing",
960 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
961 { "4 Developer", "Full sources, binaries and doc but no games",
962 checkDistDeveloper, distSetDeveloper },
963 { "5 Kern-Developer", "Full binaries and doc, kernel sources only",
964 checkDistKernDeveloper, distSetKernDeveloper },
965 { "6 User", "Average user - binaries and doc only",
966 checkDistUser, distSetUser },
967 { "A Minimal", "The smallest configuration possible",
968 checkDistMinimum, distSetMinimum },
969 { "B Custom", "Specify your own distribution set",
970 NULL, dmenuSubmenu, NULL, &MenuSubDistributions, '>', '>', '>' },
974 DMenu MenuSubDistributions = {
975 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
976 "Select the distributions you wish to install.",
977 "Please check off the distributions you wish to install. At the\n"
978 "very minimum, this should be \"base\".",
981 { { "X Exit", "Exit this menu (returning to previous)",
982 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
983 { "All", "All system sources and binaries",
984 NULL, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
985 { "Reset", "Reset all of the below",
986 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
987 { " base", "Binary base distribution (required)",
988 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_BASE },
989 { " kernels", "Binary kernel distributions (required)",
990 kernelFlagCheck,distSetKernel },
991 { " dict", "Spelling checker dictionary files",
992 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DICT },
993 { " doc", "FreeBSD Documentation set",
994 docFlagCheck, distSetDoc },
995 { " docuser", "Miscellaneous userland docs",
996 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DOCUSERLAND },
997 { " games", "Games (non-commercial)",
998 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_GAMES },
999 { " info", "GNU info files",
1000 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_INFO },
1002 { " lib32", "32-bit runtime compatibility libraries",
1003 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LIB32 },
1005 { " man", "System manual pages - recommended",
1006 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_MANPAGES },
1007 { " catman", "Preformatted system manual pages",
1008 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_CATPAGES },
1009 { " proflibs", "Profiled versions of the libraries",
1010 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PROFLIBS },
1011 { " src", "Sources for everything",
1012 srcFlagCheck, distSetSrc },
1013 { " ports", "The FreeBSD Ports collection",
1014 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
1015 { " local", "Local additions collection",
1016 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
1020 DMenu MenuKernelDistributions = {
1021 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1022 "Select the operating system kernels you wish to install.",
1023 "Please check off those kernels you wish to install.\n",
1026 { { "X Exit", "Exit this menu (returning to previous)",
1027 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1028 { "All", "Select all of the below",
1029 NULL, setKernel, NULL, NULL, ' ', ' ', ' ' },
1030 { "Reset", "Reset all of the below",
1031 NULL, clearKernel, NULL, NULL, ' ', ' ', ' ' },
1032 { " GENERIC", "GENERIC kernel configuration",
1033 dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_GENERIC },
1035 { " SMP", "GENERIC symmetric multiprocessor kernel configuration",
1036 dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_SMP },
1041 DMenu MenuSrcDistributions = {
1042 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1043 "Select the sub-components of src you wish to install.",
1044 "Please check off those portions of the FreeBSD source tree\n"
1045 "you wish to install.",
1048 { { "X Exit", "Exit this menu (returning to previous)",
1049 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1050 { "All", "Select all of the below",
1051 NULL, setSrc, NULL, NULL, ' ', ' ', ' ' },
1052 { "Reset", "Reset all of the below",
1053 NULL, clearSrc, NULL, NULL, ' ', ' ', ' ' },
1054 { " base", "top-level files in /usr/src",
1055 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BASE },
1056 { " cddl", "/usr/src/cddl (software from Sun)",
1057 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CDDL },
1058 { " contrib", "/usr/src/contrib (contributed software)",
1059 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CONTRIB },
1060 { " crypto", "/usr/src/crypto (contrib encryption sources)",
1061 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SCRYPTO },
1062 { " gnu", "/usr/src/gnu (software from the GNU Project)",
1063 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GNU },
1064 { " etc", "/usr/src/etc (miscellaneous system files)",
1065 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_ETC },
1066 { " games", "/usr/src/games (the obvious!)",
1067 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GAMES },
1068 { " include", "/usr/src/include (header files)",
1069 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_INCLUDE },
1070 { " krb5", "/usr/src/kerberos5 (sources for Kerberos5)",
1071 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SKERBEROS5 },
1072 { " lib", "/usr/src/lib (system libraries)",
1073 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIB },
1074 { " libexec", "/usr/src/libexec (system programs)",
1075 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIBEXEC },
1076 { " release", "/usr/src/release (release-generation tools)",
1077 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RELEASE },
1078 { " rescue", "/usr/src/rescue (static rescue tools)",
1079 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RESCUE },
1080 { " bin", "/usr/src/bin (system binaries)",
1081 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BIN },
1082 { " sbin", "/usr/src/sbin (system binaries)",
1083 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SBIN },
1084 { " secure", "/usr/src/secure (BSD encryption sources)",
1085 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SSECURE },
1086 { " share", "/usr/src/share (documents and shared files)",
1087 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SHARE },
1088 { " sys", "/usr/src/sys (FreeBSD kernel)",
1089 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SYS },
1090 { " tools", "/usr/src/tools (miscellaneous tools)",
1091 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_TOOLS },
1092 { " ubin", "/usr/src/usr.bin (user binaries)",
1093 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_UBIN },
1094 { " usbin", "/usr/src/usr.sbin (aux system binaries)",
1095 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_USBIN },
1099 DMenu MenuDiskDevices = {
1100 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1102 "Please select the drive, or drives, on which you wish to perform\n"
1103 "this operation. If you are attempting to install a boot partition\n"
1104 "on a drive other than the first one or have multiple operating\n"
1105 "systems on your machine, you will have the option to install a boot\n"
1106 "manager later. To select a drive, use the arrow keys to move to it\n"
1107 "and press [SPACE] or [ENTER]. To de-select it, press it again.\n\n"
1108 "Use [TAB] to get to the buttons and leave this menu.",
1109 "Press F1 for important information regarding disk geometry!",
1114 DMenu MenuHTMLDoc = {
1116 "Select HTML Documentation pointer",
1117 "Please select the body of documentation you're interested in, the main\n"
1118 "ones right now being the FAQ and the Handbook. You can also choose \"other\"\n"
1119 "to enter an arbitrary URL for browsing.",
1120 "Press F1 for more help on what you see here.",
1122 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1123 { "2 Handbook", "The FreeBSD Handbook.", NULL, docShowDocument },
1124 { "3 FAQ", "The Frequently Asked Questions guide.", NULL, docShowDocument },
1125 { "4 Home", "The Home Pages for the FreeBSD Project (requires net)", NULL, docShowDocument },
1126 { "5 Other", "Enter a URL.", NULL, docShowDocument },
1130 /* The main installation menu */
1131 DMenu MenuInstallCustom = {
1133 "Choose Custom Installation Options",
1134 "This is the custom installation menu. You may use this menu to specify\n"
1135 "details on the type of distribution you wish to have, where you wish\n"
1136 "to install it from and how you wish to allocate disk storage to FreeBSD.",
1139 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1140 { "2 Options", "View/Set various installation options", NULL, optionsEditor },
1142 { "3 Label", "Label disk partitions", NULL, diskLabelEditor },
1143 { "4 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
1144 { "5 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
1145 { "6 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
1147 { "3 Partition", "Allocate disk space for FreeBSD", NULL, diskPartitionEditor },
1148 { "4 Label", "Label allocated disk partitions", NULL, diskLabelEditor },
1149 { "5 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
1150 { "6 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
1151 { "7 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
1156 #if defined(__i386__) || defined(__amd64__)
1159 DMenu MenuIPLType = {
1160 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1161 "overwrite me", /* will be disk specific label */
1162 "If you want a FreeBSD Boot Manager, select \"BootMgr\". If you would\n"
1163 "prefer your Boot Manager to remain untouched then select \"None\".\n\n",
1164 "Press F1 to read about drive setup",
1166 { { "BootMgr", "Install the FreeBSD Boot Manager",
1167 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr },
1168 { "None", "Leave the IPL untouched",
1169 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 },
1174 DMenu MenuMBRType = {
1175 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1176 "overwrite me", /* will be disk specific label */
1177 "FreeBSD comes with a boot manager that allows you to easily\n"
1178 "select between FreeBSD and any other operating systems on your machine\n"
1179 "at boot time. If you have more than one drive and want to boot\n"
1180 "from the second one, the boot manager will also make it possible\n"
1181 "to do so (limitations in the PC BIOS usually prevent this otherwise).\n"
1182 "If you will only have FreeBSD on the machine the boot manager is\n"
1183 "not needed and it slows down the boot while offering you the choice\n"
1184 "of which operating system to boot. If you do not want a boot\n"
1185 "manager, or wish to replace an existing one, select \"standard\".\n"
1186 "If you would prefer your Master Boot Record remain untouched then\n"
1187 "select \"None\".\n\n"
1188 " NOTE: PC-DOS users will almost certainly require \"None\"!",
1189 "Press F1 to read about drive setup",
1191 { { "Standard", "Install a standard MBR (no boot manager)",
1192 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 },
1193 { "BootMgr", "Install the FreeBSD Boot Manager",
1194 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 0 },
1195 { "None", "Leave the Master Boot Record untouched",
1196 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 2 },
1200 #endif /* __i386__ */
1202 /* Final configuration menu */
1203 DMenu MenuConfigure = {
1205 "FreeBSD Configuration Menu", /* title */
1206 "If you've already installed FreeBSD, you may use this menu to customize\n"
1207 "it somewhat to suit your particular configuration. Most importantly,\n"
1208 "you can use the Packages utility to load extra \"3rd party\"\n"
1209 "software not provided in the base distributions.",
1210 "Press F1 for more information on these options",
1212 { { "X Exit", "Exit this menu (returning to previous)",
1214 { " Distributions", "Install additional distribution sets",
1215 NULL, distExtractAll },
1216 { " Documentation installation", "Install FreeBSD Documentation set",
1217 NULL, distSetDocMenu },
1218 { " Packages", "Install pre-packaged software for FreeBSD",
1219 NULL, configPackages },
1220 { " Root Password", "Set the system manager's password",
1221 NULL, dmenuSystemCommand, NULL, "passwd root" },
1223 { " Fdisk", "The disk Slice (PC-style partition) Editor",
1224 NULL, diskPartitionEditor },
1226 { " Label", "The disk Label editor",
1227 NULL, diskLabelEditor },
1228 { " User Management", "Add user and group information",
1229 NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
1231 { " Console", "Customize system console behavior",
1232 NULL, dmenuSubmenu, NULL, &MenuSyscons },
1234 { " Time Zone", "Set which time zone you're in",
1235 NULL, dmenuSystemCommand, NULL, "tzsetup" },
1236 { " Media", "Change the installation media type",
1237 NULL, dmenuSubmenu, NULL, &MenuMedia },
1239 { " Mouse", "Configure your mouse",
1240 NULL, dmenuSubmenu, NULL, &MenuMouse },
1242 { " Networking", "Configure additional network services",
1243 NULL, dmenuSubmenu, NULL, &MenuNetworking },
1244 { " Security", "Configure system security options",
1245 NULL, dmenuSubmenu, NULL, &MenuSecurity },
1246 { " Startup", "Configure system startup options",
1247 NULL, dmenuSubmenu, NULL, &MenuStartup },
1248 { " TTYs", "Configure system ttys.",
1249 NULL, configEtcTtys, NULL, "ttys" },
1250 { " Options", "View/Set various installation options",
1251 NULL, optionsEditor },
1252 { " HTML Docs", "Go to the HTML documentation menu (post-install)",
1254 { " Load KLD", "Load a KLD from a floppy",
1259 DMenu MenuStartup = {
1260 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1261 "Startup Services Menu",
1262 "This menu allows you to configure various aspects of your system's\n"
1263 "startup configuration. Use [SPACE] or [ENTER] to select items, and\n"
1264 "[TAB] to move to the buttons. Select Exit to leave this menu.",
1267 { { "X Exit", "Exit this menu (returning to previous)",
1268 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1270 { " APM", "Auto-power management services (typically laptops)",
1271 dmenuVarCheck, dmenuToggleVariable, NULL, "apm_enable=YES" },
1273 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1274 { " Startup dirs", "Set the list of dirs to look for startup scripts",
1275 dmenuVarCheck, dmenuISetVariable, NULL, "local_startup" },
1276 { " named", "Run a local name server on this host",
1277 dmenuVarCheck, dmenuToggleVariable, NULL, "named_enable=YES" },
1278 { " named flags", "Set default flags to named (if enabled)",
1279 dmenuVarCheck, dmenuISetVariable, NULL, "named_flags" },
1280 { " NIS client", "This host wishes to be an NIS client.",
1281 dmenuVarCheck, configRpcBind, NULL, "nis_client_enable=YES" },
1282 { " NIS domainname", "Set NIS domainname (if enabled)",
1283 dmenuVarCheck, dmenuISetVariable, NULL, "nisdomainname" },
1284 { " NIS server", "This host wishes to be an NIS server.",
1285 dmenuVarCheck, configRpcBind, NULL, "nis_server_enable=YES" },
1286 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1287 { " Accounting", "This host wishes to run process accounting.",
1288 dmenuVarCheck, dmenuToggleVariable, NULL, "accounting_enable=YES" },
1289 { " lpd", "This host has a printer and wants to run lpd.",
1290 dmenuVarCheck, dmenuToggleVariable, NULL, "lpd_enable=YES" },
1292 { " SCO", "This host wants to be able to run IBCS2 binaries.",
1293 dmenuVarCheck, dmenuToggleVariable, NULL, "ibcs2_enable=YES" },
1294 { " SVR4", "This host wants to be able to run SVR4 binaries.",
1295 dmenuVarCheck, dmenuToggleVariable, NULL, "svr4_enable=YES" },
1297 { " quotas", "This host wishes to check quotas on startup.",
1298 dmenuVarCheck, dmenuToggleVariable, NULL, "check_quotas=YES" },
1302 DMenu MenuNetworking = {
1303 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1304 "Network Services Menu",
1305 "You may have already configured one network device (and the other\n"
1306 "various hostname/gateway/name server parameters) in the process\n"
1307 "of installing FreeBSD. This menu allows you to configure other\n"
1308 "aspects of your system's network configuration.",
1311 { { "X Exit", "Exit this menu (returning to previous)",
1312 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1313 { " Interfaces", "Configure additional network interfaces",
1314 NULL, tcpMenuSelect },
1315 { " AMD", "This machine wants to run the auto-mounter service",
1316 dmenuVarCheck, configRpcBind, NULL, "amd_enable=YES" },
1317 { " AMD Flags", "Set flags to AMD service (if enabled)",
1318 dmenuVarCheck, dmenuISetVariable, NULL, "amd_flags" },
1319 { " Anon FTP", "This machine wishes to allow anonymous FTP.",
1320 dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
1321 { " Gateway", "This machine will route packets between interfaces",
1322 dmenuVarCheck, dmenuToggleVariable, NULL, "gateway_enable=YES" },
1323 { " inetd", "This machine wants to run the inet daemon",
1324 dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
1325 { " Mail", "This machine wants to run a Mail Transfer Agent",
1326 NULL, dmenuSubmenu, NULL, &MenuMTA },
1327 { " NFS client", "This machine will be an NFS client",
1328 dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
1329 { " NFS server", "This machine will be an NFS server",
1330 dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
1331 { " Ntpdate", "Select a clock-synchronization server",
1332 dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']',
1333 (uintptr_t)"ntpdate_enable=YES" },
1334 { " PCNFSD", "Run authentication server for clients with PC-NFS.",
1335 dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
1336 { " rpcbind", "RPC port mapping daemon (formerly portmapper)",
1337 dmenuVarCheck, dmenuToggleVariable, NULL, "rpcbind_enable=YES" },
1338 { " rpc.statd", "NFS status monitoring daemon",
1339 dmenuVarCheck, configRpcBind, NULL, "rpc_statd_enable=YES" },
1340 { " rpc.lockd", "NFS file locking daemon",
1341 dmenuVarCheck, configRpcBind, NULL, "rpc_lockd_enable=YES" },
1342 { " Routed", "Select routing daemon (default: routed)",
1343 dmenuVarCheck, configRouter, NULL, "router_enable=YES" },
1344 { " Rwhod", "This machine wants to run the rwho daemon",
1345 dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" },
1346 { " sshd", "This machine wants to run the SSH daemon",
1347 dmenuVarCheck, dmenuToggleVariable, NULL, "sshd_enable=YES" },
1348 { " TCP Extensions", "Allow RFC1323 and RFC1644 TCP extensions?",
1349 dmenuVarCheck, dmenuToggleVariable, NULL, "tcp_extensions=YES" },
1354 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1355 "Mail Transfer Agent Selection",
1356 "You can choose which Mail Transfer Agent (MTA) you wish to install and run.\n"
1357 "Selecting Sendmail local disables sendmail's network socket for\n"
1358 "incoming mail, but still enables sendmail for local and outbound mail.\n"
1359 "The Postfix option will install the Postfix MTA from the ports\n"
1360 "collection. The Exim option will install the Exim MTA from the ports\n"
1361 "collection. To return to the previous menu, select Exit.",
1365 { "Sendmail", "Use sendmail",
1366 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=YES" },
1367 { "Sendmail local", "Use sendmail, but do not listen on the network",
1368 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NO" },
1369 { "Postfix", "Use the Postfix MTA",
1370 NULL, configMTAPostfix, NULL, NULL },
1371 { "Exim", "Use the Exim MTA",
1372 NULL, configMTAExim, NULL, NULL },
1373 { "None", "Do not install an MTA",
1374 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NONE" },
1375 { "X Exit", "Exit this menu (returning to previous)",
1376 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1381 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1382 "NTPDATE Server Selection",
1383 "There are a number of time synchronization servers available\n"
1384 "for public use around the Internet. Please select one reasonably\n"
1385 "close to you to have your system time synchronized accordingly.",
1386 "These are the primary open-access NTP servers",
1388 { { "None", "No NTP server",
1389 dmenuVarsCheck, dmenuSetVariables, NULL,
1390 "ntpdate_enable=NO,ntpdate_flags=none" },
1391 { "Other", "Select a site not on this list",
1392 dmenuVarsCheck, configNTP, NULL, NULL },
1393 { "Worldwide", "pool.ntp.org",
1394 dmenuVarsCheck, dmenuSetVariables, NULL,
1395 "ntpdate_enable=YES,ntpdate_flags=pool.ntp.org" },
1396 { "Asia", "asia.pool.ntp.org",
1397 dmenuVarsCheck, dmenuSetVariables, NULL,
1398 "ntpdate_enable=YES,ntpdate_flags=asia.pool.ntp.org" },
1399 { "Europe", "europe.pool.ntp.org",
1400 dmenuVarsCheck, dmenuSetVariables, NULL,
1401 "ntpdate_enable=YES,ntpdate_flags=europe.pool.ntp.org" },
1402 { "Oceania", "oceania.pool.ntp.org",
1403 dmenuVarsCheck, dmenuSetVariables, NULL,
1404 "ntpdate_enable=YES,ntpdate_flags=oceania.pool.ntp.org" },
1405 { "North America", "north-america.pool.ntp.org",
1406 dmenuVarsCheck, dmenuSetVariables, NULL,
1407 "ntpdate_enable=YES,ntpdate_flags=north-america.pool.ntp.org" },
1408 { "Argentina", "tick.nap.com.ar",
1409 dmenuVarsCheck, dmenuSetVariables, NULL,
1410 "ntpdate_enable=YES,ntpdate_flags=tick.nap.com.ar" },
1411 { "Argentina #2", "time.sinectis.com.ar",
1412 dmenuVarsCheck, dmenuSetVariables, NULL,
1413 "ntpdate_enable=YES,ntpdate_flags=time.sinectis.com.ar" },
1414 { "Argentina #3", "tock.nap.com.ar",
1415 dmenuVarsCheck, dmenuSetVariables, NULL,
1416 "ntpdate_enable=YES,ntpdate_flags=tock.nap.com.ar" },
1417 { "Australia", "au.pool.ntp.org",
1418 dmenuVarsCheck, dmenuSetVariables, NULL,
1419 "ntpdate_enable=YES,ntpdate_flags=au.pool.ntp.org" },
1420 { "Australia #2", "augean.eleceng.adelaide.edu.au",
1421 dmenuVarsCheck, dmenuSetVariables, NULL,
1422 "ntpdate_enable=YES,ntpdate_flags=augean.eleceng.adelaide.edu.au" },
1423 { "Australia #3", "ntp.adelaide.edu.au",
1424 dmenuVarsCheck, dmenuSetVariables, NULL,
1425 "ntpdate_enable=YES,ntpdate_flags=ntp.adelaide.edu.au" },
1426 { "Australia #4", "ntp.saard.net",
1427 dmenuVarsCheck, dmenuSetVariables, NULL,
1428 "ntpdate_enable=YES,ntpdate_flags=ntp.saard.net" },
1429 { "Australia #5", "time.deakin.edu.au",
1430 dmenuVarsCheck, dmenuSetVariables, NULL,
1431 "ntpdate_enable=YES,ntpdate_flags=time.deakin.edu.au" },
1432 { "Belgium", "ntp1.belbone.be",
1433 dmenuVarsCheck, dmenuSetVariables, NULL,
1434 "ntpdate_enable=YES,ntpdate_flags=ntp1.belbone.be" },
1435 { "Belgium #2", "ntp2.belbone.be",
1436 dmenuVarsCheck, dmenuSetVariables, NULL,
1437 "ntpdate_enable=YES,ntpdate_flags=ntp2.belbone.be" },
1438 { "Brazil", "a.ntp.br",
1439 dmenuVarsCheck, dmenuSetVariables, NULL,
1440 "ntpdate_enable=YES,ntpdate_flags=a.ntp.br" },
1441 { "Brazil #2", "b.ntp.br",
1442 dmenuVarsCheck, dmenuSetVariables, NULL,
1443 "ntpdate_enable=YES,ntpdate_flags=b.ntp.br" },
1444 { "Brazil #3", "c.ntp.br",
1445 dmenuVarsCheck, dmenuSetVariables, NULL,
1446 "ntpdate_enable=YES,ntpdate_flags=c.ntp.br" },
1447 { "Brazil #4", "ntp.cais.rnp.br",
1448 dmenuVarsCheck, dmenuSetVariables, NULL,
1449 "ntpdate_enable=YES,ntpdate_flags=ntp.cais.rnp.br" },
1450 { "Brazil #5", "ntp1.pucpr.br",
1451 dmenuVarsCheck, dmenuSetVariables, NULL,
1452 "ntpdate_enable=YES,ntpdate_flags=ntp1.pucpr.br" },
1453 { "Canada", "ca.pool.ntp.org",
1454 dmenuVarsCheck, dmenuSetVariables, NULL,
1455 "ntpdate_enable=YES,ntpdate_flags=ca.pool.ntp.org" },
1456 { "Canada #2", "ntp.cpsc.ucalgary.ca",
1457 dmenuVarsCheck, dmenuSetVariables, NULL,
1458 "ntpdate_enable=YES,ntpdate_flags=ntp.cpsc.ucalgary.ca" },
1459 { "Canada #3", "ntp1.cmc.ec.gc.ca",
1460 dmenuVarsCheck, dmenuSetVariables, NULL,
1461 "ntpdate_enable=YES,ntpdate_flags=ntp1.cmc.ec.gc.ca" },
1462 { "Canada #4", "ntp2.cmc.ec.gc.ca",
1463 dmenuVarsCheck, dmenuSetVariables, NULL,
1464 "ntpdate_enable=YES,ntpdate_flags=ntp2.cmc.ec.gc.ca" },
1465 { "Canada #5", "tick.utoronto.ca",
1466 dmenuVarsCheck, dmenuSetVariables, NULL,
1467 "ntpdate_enable=YES,ntpdate_flags=tick.utoronto.ca" },
1468 { "Canada #6", "time.chu.nrc.ca",
1469 dmenuVarsCheck, dmenuSetVariables, NULL,
1470 "ntpdate_enable=YES,ntpdate_flags=time.chu.nrc.ca" },
1471 { "Canada #7", "time.nrc.ca",
1472 dmenuVarsCheck, dmenuSetVariables, NULL,
1473 "ntpdate_enable=YES,ntpdate_flags=time.nrc.ca" },
1474 { "Canada #8", "timelord.uregina.ca",
1475 dmenuVarsCheck, dmenuSetVariables, NULL,
1476 "ntpdate_enable=YES,ntpdate_flags=timelord.uregina.ca" },
1477 { "Canada #9", "tock.utoronto.ca",
1478 dmenuVarsCheck, dmenuSetVariables, NULL,
1479 "ntpdate_enable=YES,ntpdate_flags=tock.utoronto.ca" },
1480 { "Czech", "ntp.karpo.cz",
1481 dmenuVarsCheck, dmenuSetVariables, NULL,
1482 "ntpdate_enable=YES,ntpdate_flags=ntp.karpo.cz" },
1483 { "Czech #2", "ntp.cgi.cz",
1484 dmenuVarsCheck, dmenuSetVariables, NULL,
1485 "ntpdate_enable=YES,ntpdate_flags=ntp.cgi.cz" },
1486 { "Denmark", "clock.netcetera.dk",
1487 dmenuVarsCheck, dmenuSetVariables, NULL,
1488 "ntpdate_enable=YES,ntpdate_flags=clock.netcetera.dk" },
1489 { "Denmark", "clock2.netcetera.dk",
1490 dmenuVarsCheck, dmenuSetVariables, NULL,
1491 "ntpdate_enable=YES,ntpdate_flags=clock2.netcetera.dk" },
1492 { "Spain", "slug.ctv.es",
1493 dmenuVarsCheck, dmenuSetVariables, NULL,
1494 "ntpdate_enable=YES,ntpdate_flags=slug.ctv.es" },
1495 { "Finland", "tick.keso.fi",
1496 dmenuVarsCheck, dmenuSetVariables, NULL,
1497 "ntpdate_enable=YES,ntpdate_flags=tick.keso.fi" },
1498 { "Finland #2", "tock.keso.fi",
1499 dmenuVarsCheck, dmenuSetVariables, NULL,
1500 "ntpdate_enable=YES,ntpdate_flags=tock.keso.fi" },
1501 { "France", "ntp.obspm.fr",
1502 dmenuVarsCheck, dmenuSetVariables, NULL,
1503 "ntpdate_enable=YES,ntpdate_flags=ntp.obspm.fr" },
1504 { "France #2", "ntp.univ-lyon1.fr",
1505 dmenuVarsCheck, dmenuSetVariables, NULL,
1506 "ntpdate_enable=YES,ntpdate_flags=ntp.univ-lyon1.fr" },
1507 { "France #3", "ntp.via.ecp.fr",
1508 dmenuVarsCheck, dmenuSetVariables, NULL,
1509 "ntpdate_enable=YES,ntpdate_flags=ntp.via.ecp.fr" },
1510 { "Croatia", "zg1.ntp.carnet.hr",
1511 dmenuVarsCheck, dmenuSetVariables, NULL,
1512 "ntpdate_enable=YES,ntpdate_flags=zg1.ntp.carnet.hr" },
1513 { "Croatia #2", "zg2.ntp.carnet.hr",
1514 dmenuVarsCheck, dmenuSetVariables, NULL,
1515 "ntpdate_enable=YES,ntpdate_flags=zg2.ntp.carnet.hr" },
1516 { "Croatia #3", "st.ntp.carnet.hr",
1517 dmenuVarsCheck, dmenuSetVariables, NULL,
1518 "ntpdate_enable=YES,ntpdate_flags=st.ntp.carnet.hr" },
1519 { "Croatia #4", "ri.ntp.carnet.hr",
1520 dmenuVarsCheck, dmenuSetVariables, NULL,
1521 "ntpdate_enable=YES,ntpdate_flags=ri.ntp.carnet.hr" },
1522 { "Croatia #5", "os.ntp.carnet.hr",
1523 dmenuVarsCheck, dmenuSetVariables, NULL,
1524 "ntpdate_enable=YES,ntpdate_flags=os.ntp.carnet.hr" },
1525 { "Hungary", "time.kfki.hu",
1526 dmenuVarsCheck, dmenuSetVariables, NULL,
1527 "ntpdate_enable=YES,ntpdate_flags=time.kfki.hu" },
1528 { "Indonesia", "ntp.kim.lipi.go.id",
1529 dmenuVarsCheck, dmenuSetVariables, NULL,
1530 "ntpdate_enable=YES,ntpdate_flags=ntp.kim.lipi.go.id" },
1531 { "Ireland", "ntp.maths.tcd.ie",
1532 dmenuVarsCheck, dmenuSetVariables, NULL,
1533 "ntpdate_enable=YES,ntpdate_flags=ntp.maths.tcd.ie" },
1534 { "Italy", "it.pool.ntp.org",
1535 dmenuVarsCheck, dmenuSetVariables, NULL,
1536 "ntpdate_enable=YES,ntpdate_flags=it.pool.ntp.org" },
1537 { "Japan", "ntp.jst.mfeed.ad.jp",
1538 dmenuVarsCheck, dmenuSetVariables, NULL,
1539 "ntpdate_enable=YES,ntpdate_flags=ntp.jst.mfeed.ad.jp" },
1540 { "Japan IPv6", "ntp1.v6.mfeed.ad.jp",
1541 dmenuVarsCheck, dmenuSetVariables, NULL,
1542 "ntpdate_enable=YES,ntpdate_flags=ntp1.v6.mfeed.ad.jp" },
1543 { "Korea", "time.nuri.net",
1544 dmenuVarsCheck, dmenuSetVariables, NULL,
1545 "ntpdate_enable=YES,ntpdate_flags=time.nuri.net" },
1546 { "Mexico", "mx.pool.ntp.org",
1547 dmenuVarsCheck, dmenuSetVariables, NULL,
1548 "ntpdate_enable=YES,ntpdate_flags=mx.pool.ntp.org" },
1549 { "Netherlands", "ntp0.nl.net",
1550 dmenuVarsCheck, dmenuSetVariables, NULL,
1551 "ntpdate_enable=YES,ntpdate_flags=ntp0.nl.net" },
1552 { "Netherlands #2", "ntp1.nl.net",
1553 dmenuVarsCheck, dmenuSetVariables, NULL,
1554 "ntpdate_enable=YES,ntpdate_flags=ntp1.nl.net" },
1555 { "Netherlands #3", "ntp2.nl.net",
1556 dmenuVarsCheck, dmenuSetVariables, NULL,
1557 "ntpdate_enable=YES,ntpdate_flags=ntp2.nl.net" },
1558 { "Norway", "fartein.ifi.uio.no",
1559 dmenuVarsCheck, dmenuSetVariables, NULL,
1560 "ntpdate_enable=YES,ntpdate_flags=fartein.ifi.uio.no" },
1561 { "Norway #2", "time.alcanet.no",
1562 dmenuVarsCheck, dmenuSetVariables, NULL,
1563 "ntpdate_enable=YES,ntpdate_flags=time.alcanet.no" },
1564 { "New Zealand", "ntp.massey.ac.nz",
1565 dmenuVarsCheck, dmenuSetVariables, NULL,
1566 "ntpdate_enable=YES,ntpdate_flags=ntp.massey.ac.nz" },
1567 { "New Zealand #2", "ntp.public.otago.ac.nz",
1568 dmenuVarsCheck, dmenuSetVariables, NULL,
1569 "ntpdate_enable=YES,ntpdate_flags=ntp.public.otago.ac.nz" },
1570 { "New Zealand #3", "tk1.ihug.co.nz",
1571 dmenuVarsCheck, dmenuSetVariables, NULL,
1572 "ntpdate_enable=YES,ntpdate_flags=tk1.ihug.co.nz" },
1573 { "New Zealand #4", "ntp.waikato.ac.nz",
1574 dmenuVarsCheck, dmenuSetVariables, NULL,
1575 "ntpdate_enable=YES,ntpdate_flags=ntp.waikato.ac.nz" },
1576 { "Poland", "info.cyf-kr.edu.pl",
1577 dmenuVarsCheck, dmenuSetVariables, NULL,
1578 "ntpdate_enable=YES,ntpdate_flags=info.cyf-kr.edu.pl" },
1579 { "Romania", "ticks.roedu.net",
1580 dmenuVarsCheck, dmenuSetVariables, NULL,
1581 "ntpdate_enable=YES,ntpdate_flags=ticks.roedu.net" },
1582 { "Russia", "ru.pool.ntp.org",
1583 dmenuVarsCheck, dmenuSetVariables, NULL,
1584 "ntpdate_enable=YES,ntpdate_flags=ru.pool.ntp.org" },
1585 { "Russia #2", "ntp.psn.ru",
1586 dmenuVarsCheck, dmenuSetVariables, NULL,
1587 "ntpdate_enable=YES,ntpdate_flags=ntp.psn.ru" },
1588 { "Sweden", "se.pool.ntp.org",
1589 dmenuVarsCheck, dmenuSetVariables, NULL,
1590 "ntpdate_enable=YES,ntpdate_flags=se.pool.ntp.org" },
1591 { "Sweden #2", "ntp.lth.se",
1592 dmenuVarsCheck, dmenuSetVariables, NULL,
1593 "ntpdate_enable=YES,ntpdate_flags=ntp.lth.se" },
1594 { "Sweden #3", "ntp1.sp.se",
1595 dmenuVarsCheck, dmenuSetVariables, NULL,
1596 "ntpdate_enable=YES,ntpdate_flags=ntp1.sp.se" },
1597 { "Sweden #4", "ntp2.sp.se",
1598 dmenuVarsCheck, dmenuSetVariables, NULL,
1599 "ntpdate_enable=YES,ntpdate_flags=ntp2.sp.se" },
1600 { "Sweden #5", "ntp.kth.se",
1601 dmenuVarsCheck, dmenuSetVariables, NULL,
1602 "ntpdate_enable=YES,ntpdate_flags=ntp.kth.se" },
1603 { "Singapore", "sg.pool.ntp.org",
1604 dmenuVarsCheck, dmenuSetVariables, NULL,
1605 "ntpdate_enable=YES,ntpdate_flags=sg.pool.ntp.org" },
1606 { "Slovenia", "si.pool.ntp.org",
1607 dmenuVarsCheck, dmenuSetVariables, NULL,
1608 "ntpdate_enable=YES,ntpdate_flags=si.pool.ntp.org" },
1609 { "Slovenia #2", "sizif.mf.uni-lj.si",
1610 dmenuVarsCheck, dmenuSetVariables, NULL,
1611 "ntpdate_enable=YES,ntpdate_flags=sizif.mf.uni-lj.si" },
1612 { "Slovenia #3", "ntp1.arnes.si",
1613 dmenuVarsCheck, dmenuSetVariables, NULL,
1614 "ntpdate_enable=YES,ntpdate_flags=ntp1.arnes.si" },
1615 { "Slovenia #4", "ntp2.arnes.si",
1616 dmenuVarsCheck, dmenuSetVariables, NULL,
1617 "ntpdate_enable=YES,ntpdate_flags=ntp2.arnes.si" },
1618 { "Slovenia #5", "time.ijs.si",
1619 dmenuVarsCheck, dmenuSetVariables, NULL,
1620 "ntpdate_enable=YES,ntpdate_flags=time.ijs.si" },
1621 { "Scotland", "ntp.cs.strath.ac.uk",
1622 dmenuVarsCheck, dmenuSetVariables, NULL,
1623 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.strath.ac.uk" },
1624 { "Taiwan", "time.stdtime.gov.tw",
1625 dmenuVarsCheck, dmenuSetVariables, NULL,
1626 "ntpdate_enable=YES,ntpdate_flags=time.stdtime.gov.tw" },
1627 { "Taiwan #2", "clock.stdtime.gov.tw",
1628 dmenuVarsCheck, dmenuSetVariables, NULL,
1629 "ntpdate_enable=YES,ntpdate_flags=clock.stdtime.gov.tw" },
1630 { "Taiwan #3", "tick.stdtime.gov.tw",
1631 dmenuVarsCheck, dmenuSetVariables, NULL,
1632 "ntpdate_enable=YES,ntpdate_flags=tick.stdtime.gov.tw" },
1633 { "Taiwan #4", "tock.stdtime.gov.tw",
1634 dmenuVarsCheck, dmenuSetVariables, NULL,
1635 "ntpdate_enable=YES,ntpdate_flags=tock.stdtime.gov.tw" },
1636 { "Taiwan #5", "watch.stdtime.gov.tw",
1637 dmenuVarsCheck, dmenuSetVariables, NULL,
1638 "ntpdate_enable=YES,ntpdate_flags=watch.stdtime.gov.tw" },
1639 { "United Kingdom", "uk.pool.ntp.org",
1640 dmenuVarsCheck, dmenuSetVariables, NULL,
1641 "ntpdate_enable=YES,ntpdate_flags=uk.pool.ntp.org" },
1642 { "United Kingdom #2", "ntp.exnet.com",
1643 dmenuVarsCheck, dmenuSetVariables, NULL,
1644 "ntpdate_enable=YES,ntpdate_flags=ntp.exnet.com" },
1645 { "United Kingdom #3", "ntp0.uk.uu.net",
1646 dmenuVarsCheck, dmenuSetVariables, NULL,
1647 "ntpdate_enable=YES,ntpdate_flags=ntp0.uk.uu.net" },
1648 { "United Kingdom #4", "ntp1.uk.uu.net",
1649 dmenuVarsCheck, dmenuSetVariables, NULL,
1650 "ntpdate_enable=YES,ntpdate_flags=ntp1.uk.uu.net" },
1651 { "United Kingdom #5", "ntp2.uk.uu.net",
1652 dmenuVarsCheck, dmenuSetVariables, NULL,
1653 "ntpdate_enable=YES,ntpdate_flags=ntp2.uk.uu.net" },
1654 { "United Kingdom #6", "ntp2a.mcc.ac.uk",
1655 dmenuVarsCheck, dmenuSetVariables, NULL,
1656 "ntpdate_enable=YES,ntpdate_flags=ntp2a.mcc.ac.uk" },
1657 { "United Kingdom #7", "ntp2b.mcc.ac.uk",
1658 dmenuVarsCheck, dmenuSetVariables, NULL,
1659 "ntpdate_enable=YES,ntpdate_flags=ntp2b.mcc.ac.uk" },
1660 { "United Kingdom #8", "ntp2c.mcc.ac.uk",
1661 dmenuVarsCheck, dmenuSetVariables, NULL,
1662 "ntpdate_enable=YES,ntpdate_flags=ntp2c.mcc.ac.uk" },
1663 { "United Kingdom #9", "ntp2d.mcc.ac.uk",
1664 dmenuVarsCheck, dmenuSetVariables, NULL,
1665 "ntpdate_enable=YES,ntpdate_flags=ntp2d.mcc.ac.uk" },
1666 { "U.S.", "us.pool.ntp.org",
1667 dmenuVarsCheck, dmenuSetVariables, NULL,
1668 "ntpdate_enable=YES,ntpdate_flags=us.pool.ntp.org" },
1669 { "U.S. AR", "sushi.lyon.edu",
1670 dmenuVarsCheck, dmenuSetVariables, NULL,
1671 "ntpdate_enable=YES,ntpdate_flags=sushi.compsci.lyon.edu" },
1672 { "U.S. AZ", "ntp.drydog.com",
1673 dmenuVarsCheck, dmenuSetVariables, NULL,
1674 "ntpdate_enable=YES,ntpdate_flags=ntp.drydog.com" },
1675 { "U.S. CA", "ntp.ucsd.edu",
1676 dmenuVarsCheck, dmenuSetVariables, NULL,
1677 "ntpdate_enable=YES,ntpdate_flags=ntp.ucsd.edu" },
1678 { "U.S. CA #2", "ntp1.mainecoon.com",
1679 dmenuVarsCheck, dmenuSetVariables, NULL,
1680 "ntpdate_enable=YES,ntpdate_flags=ntp1.mainecoon.com" },
1681 { "U.S. CA #3", "ntp2.mainecoon.com",
1682 dmenuVarsCheck, dmenuSetVariables, NULL,
1683 "ntpdate_enable=YES,ntpdate_flags=ntp2.mainecoon.com" },
1684 { "U.S. CA #4", "reloj.kjsl.com",
1685 dmenuVarsCheck, dmenuSetVariables, NULL,
1686 "ntpdate_enable=YES,ntpdate_flags=reloj.kjsl.com" },
1687 { "U.S. CA #5", "time.five-ten-sg.com",
1688 dmenuVarsCheck, dmenuSetVariables, NULL,
1689 "ntpdate_enable=YES,ntpdate_flags=time.five-ten-sg.com" },
1690 { "U.S. DE", "louie.udel.edu",
1691 dmenuVarsCheck, dmenuSetVariables, NULL,
1692 "ntpdate_enable=YES,ntpdate_flags=louie.udel.edu" },
1693 { "U.S. GA", "ntp.shorty.com",
1694 dmenuVarsCheck, dmenuSetVariables, NULL,
1695 "ntpdate_enable=YES,ntpdate_flags=ntp.shorty.com" },
1696 { "U.S. GA #2", "rolex.usg.edu",
1697 dmenuVarsCheck, dmenuSetVariables, NULL,
1698 "ntpdate_enable=YES,ntpdate_flags=rolex.usg.edu" },
1699 { "U.S. GA #3", "timex.usg.edu",
1700 dmenuVarsCheck, dmenuSetVariables, NULL,
1701 "ntpdate_enable=YES,ntpdate_flags=timex.usg.edu" },
1702 { "U.S. IL", "ntp-0.cso.uiuc.edu",
1703 dmenuVarsCheck, dmenuSetVariables, NULL,
1704 "ntpdate_enable=YES,ntpdate_flags=ntp-0.cso.uiuc.edu" },
1705 { "U.S. IL #2", "ntp-1.cso.uiuc.edu",
1706 dmenuVarsCheck, dmenuSetVariables, NULL,
1707 "ntpdate_enable=YES,ntpdate_flags=ntp-1.cso.uiuc.edu" },
1708 { "U.S. IL #3", "ntp-1.mcs.anl.gov",
1709 dmenuVarsCheck, dmenuSetVariables, NULL,
1710 "ntpdate_enable=YES,ntpdate_flags=ntp-1.mcs.anl.gov" },
1711 { "U.S. IL #4", "ntp-2.cso.uiuc.edu",
1712 dmenuVarsCheck, dmenuSetVariables, NULL,
1713 "ntpdate_enable=YES,ntpdate_flags=ntp-2.cso.uiuc.edu" },
1714 { "U.S. IL #5", "ntp-2.mcs.anl.gov",
1715 dmenuVarsCheck, dmenuSetVariables, NULL,
1716 "ntpdate_enable=YES,ntpdate_flags=ntp-2.mcs.anl.gov" },
1717 { "U.S. IN", "gilbreth.ecn.purdue.edu",
1718 dmenuVarsCheck, dmenuSetVariables, NULL,
1719 "ntpdate_enable=YES,ntpdate_flags=gilbreth.ecn.purdue.edu" },
1720 { "U.S. IN #2", "harbor.ecn.purdue.edu",
1721 dmenuVarsCheck, dmenuSetVariables, NULL,
1722 "ntpdate_enable=YES,ntpdate_flags=harbor.ecn.purdue.edu" },
1723 { "U.S. IN #3", "molecule.ecn.purdue.edu",
1724 dmenuVarsCheck, dmenuSetVariables, NULL,
1725 "ntpdate_enable=YES,ntpdate_flags=molecule.ecn.purdue.edu" },
1726 { "U.S. KS", "ntp1.kansas.net",
1727 dmenuVarsCheck, dmenuSetVariables, NULL,
1728 "ntpdate_enable=YES,ntpdate_flags=ntp1.kansas.net" },
1729 { "U.S. KS #2", "ntp2.kansas.net",
1730 dmenuVarsCheck, dmenuSetVariables, NULL,
1731 "ntpdate_enable=YES,ntpdate_flags=ntp2.kansas.net" },
1732 { "U.S. MA", "ntp.ourconcord.net",
1733 dmenuVarsCheck, dmenuSetVariables, NULL,
1734 "ntpdate_enable=YES,ntpdate_flags=ntp.ourconcord.net" },
1735 { "U.S. MA #2", "timeserver.cs.umb.edu",
1736 dmenuVarsCheck, dmenuSetVariables, NULL,
1737 "ntpdate_enable=YES,ntpdate_flags=timeserver.cs.umb.edu" },
1738 { "U.S. MN", "ns.nts.umn.edu",
1739 dmenuVarsCheck, dmenuSetVariables, NULL,
1740 "ntpdate_enable=YES,ntpdate_flags=ns.nts.umn.edu" },
1741 { "U.S. MN #2", "nss.nts.umn.edu",
1742 dmenuVarsCheck, dmenuSetVariables, NULL,
1743 "ntpdate_enable=YES,ntpdate_flags=nss.nts.umn.edu" },
1744 { "U.S. MO", "time-ext.missouri.edu",
1745 dmenuVarsCheck, dmenuSetVariables, NULL,
1746 "ntpdate_enable=YES,ntpdate_flags=time-ext.missouri.edu" },
1747 { "U.S. MT", "chronos1.umt.edu",
1748 dmenuVarsCheck, dmenuSetVariables, NULL,
1749 "ntpdate_enable=YES,ntpdate_flags=chronos1.umt.edu" },
1750 { "U.S. MT #2", "chronos2.umt.edu",
1751 dmenuVarsCheck, dmenuSetVariables, NULL,
1752 "ntpdate_enable=YES,ntpdate_flags=chronos2.umt.edu" },
1753 { "U.S. MT #3", "chronos3.umt.edu",
1754 dmenuVarsCheck, dmenuSetVariables, NULL,
1755 "ntpdate_enable=YES,ntpdate_flags=chronos3.umt.edu" },
1756 { "U.S. NC", "clock1.unc.edu",
1757 dmenuVarsCheck, dmenuSetVariables, NULL,
1758 "ntpdate_enable=YES,ntpdate_flags=clock1.unc.edu" },
1759 { "U.S. NV", "cuckoo.nevada.edu",
1760 dmenuVarsCheck, dmenuSetVariables, NULL,
1761 "ntpdate_enable=YES,ntpdate_flags=cuckoo.nevada.edu" },
1762 { "U.S. NV #2", "tick.cs.unlv.edu",
1763 dmenuVarsCheck, dmenuSetVariables, NULL,
1764 "ntpdate_enable=YES,ntpdate_flags=tick.cs.unlv.edu" },
1765 { "U.S. NV #3", "tock.cs.unlv.edu",
1766 dmenuVarsCheck, dmenuSetVariables, NULL,
1767 "ntpdate_enable=YES,ntpdate_flags=tock.cs.unlv.edu" },
1768 { "U.S. NY", "ntp0.cornell.edu",
1769 dmenuVarsCheck, dmenuSetVariables, NULL,
1770 "ntpdate_enable=YES,ntpdate_flags=ntp0.cornell.edu" },
1771 { "U.S. NY #2", "sundial.columbia.edu",
1772 dmenuVarsCheck, dmenuSetVariables, NULL,
1773 "ntpdate_enable=YES,ntpdate_flags=sundial.columbia.edu" },
1774 { "U.S. NY #3", "timex.cs.columbia.edu",
1775 dmenuVarsCheck, dmenuSetVariables, NULL,
1776 "ntpdate_enable=YES,ntpdate_flags=timex.cs.columbia.edu" },
1777 { "U.S. PA", "clock-1.cs.cmu.edu",
1778 dmenuVarsCheck, dmenuSetVariables, NULL,
1779 "ntpdate_enable=YES,ntpdate_flags=clock-1.cs.cmu.edu" },
1780 { "U.S. PA #2", "clock-2.cs.cmu.edu",
1781 dmenuVarsCheck, dmenuSetVariables, NULL,
1782 "ntpdate_enable=YES,ntpdate_flags=clock-2.cs.cmu.edu" },
1783 { "U.S. PA #3", "clock.psu.edu",
1784 dmenuVarsCheck, dmenuSetVariables, NULL,
1785 "ntpdate_enable=YES,ntpdate_flags=clock.psu.edu" },
1786 { "U.S. PA #4", "fuzz.psc.edu",
1787 dmenuVarsCheck, dmenuSetVariables, NULL,
1788 "ntpdate_enable=YES,ntpdate_flags=fuzz.psc.edu" },
1789 { "U.S. PA #5", "ntp-1.ece.cmu.edu",
1790 dmenuVarsCheck, dmenuSetVariables, NULL,
1791 "ntpdate_enable=YES,ntpdate_flags=ntp-1.ece.cmu.edu" },
1792 { "U.S. PA #6", "ntp-2.ece.cmu.edu",
1793 dmenuVarsCheck, dmenuSetVariables, NULL,
1794 "ntpdate_enable=YES,ntpdate_flags=ntp-2.ece.cmu.edu" },
1795 { "U.S. TX", "ntp.fnbhs.com",
1796 dmenuVarsCheck, dmenuSetVariables, NULL,
1797 "ntpdate_enable=YES,ntpdate_flags=ntp.fnbhs.com" },
1798 { "U.S. TX #2", "ntp.tmc.edu",
1799 dmenuVarsCheck, dmenuSetVariables, NULL,
1800 "ntpdate_enable=YES,ntpdate_flags=ntp.tmc.edu" },
1801 { "U.S. TX #3", "ntp5.tamu.edu",
1802 dmenuVarsCheck, dmenuSetVariables, NULL,
1803 "ntpdate_enable=YES,ntpdate_flags=ntp5.tamu.edu" },
1804 { "U.S. TX #4", "tick.greyware.com",
1805 dmenuVarsCheck, dmenuSetVariables, NULL,
1806 "ntpdate_enable=YES,ntpdate_flags=tick.greyware.com" },
1807 { "U.S. TX #5", "tock.greyware.com",
1808 dmenuVarsCheck, dmenuSetVariables, NULL,
1809 "ntpdate_enable=YES,ntpdate_flags=tock.greyware.com" },
1810 { "U.S. VA", "ntp-1.vt.edu",
1811 dmenuVarsCheck, dmenuSetVariables, NULL,
1812 "ntpdate_enable=YES,ntpdate_flags=ntp-1.vt.edu" },
1813 { "U.S. VA #2", "ntp-2.vt.edu",
1814 dmenuVarsCheck, dmenuSetVariables, NULL,
1815 "ntpdate_enable=YES,ntpdate_flags=ntp-2.vt.edu" },
1816 { "U.S. VA #3", "ntp.cmr.gov",
1817 dmenuVarsCheck, dmenuSetVariables, NULL,
1818 "ntpdate_enable=YES,ntpdate_flags=ntp.cmr.gov" },
1819 { "U.S. VT", "ntp0.state.vt.us",
1820 dmenuVarsCheck, dmenuSetVariables, NULL,
1821 "ntpdate_enable=YES,ntpdate_flags=ntp0.state.vt.us" },
1822 { "U.S. VT #2", "ntp1.state.vt.us",
1823 dmenuVarsCheck, dmenuSetVariables, NULL,
1824 "ntpdate_enable=YES,ntpdate_flags=ntp1.state.vt.us" },
1825 { "U.S. VT #3", "ntp2.state.vt.us",
1826 dmenuVarsCheck, dmenuSetVariables, NULL,
1827 "ntpdate_enable=YES,ntpdate_flags=ntp2.state.vt.us" },
1828 { "U.S. WA", "ntp.tcp-udp.net",
1829 dmenuVarsCheck, dmenuSetVariables, NULL,
1830 "ntpdate_enable=YES,ntpdate_flags=ntp.tcp-udp.net" },
1831 { "U.S. WI", "ntp1.cs.wisc.edu",
1832 dmenuVarsCheck, dmenuSetVariables, NULL,
1833 "ntpdate_enable=YES,ntpdate_flags=ntp1.cs.wisc.edu" },
1834 { "U.S. WI #2", "ntp3.cs.wisc.edu",
1835 dmenuVarsCheck, dmenuSetVariables, NULL,
1836 "ntpdate_enable=YES,ntpdate_flags=ntp3.cs.wisc.edu" },
1837 { "South Africa", "ntp.cs.unp.ac.za",
1838 dmenuVarsCheck, dmenuSetVariables, NULL,
1839 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.unp.ac.za" },
1844 DMenu MenuSyscons = {
1846 "System Console Configuration",
1847 "The default system console driver for FreeBSD (syscons) has a\n"
1848 "number of configuration options which may be set according to\n"
1849 "your preference.\n\n"
1850 "When you are done setting configuration options, select Cancel.",
1851 "Configure your system console settings",
1853 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1855 { "2 Keymap", "Choose an alternate keyboard map", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
1856 { "3 Repeat", "Set the rate at which keys repeat", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
1857 { "4 Saver", "Configure the screen saver", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
1859 { "2 Font", "Choose an alternate screen font", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
1860 { "3 Keymap", "Choose an alternate keyboard map", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
1861 { "4 Repeat", "Set the rate at which keys repeat", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
1862 { "5 Saver", "Configure the screen saver", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
1863 { "6 Screenmap", "Choose an alternate screenmap", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
1864 { "7 Ttys", "Choose console terminal type", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
1870 DMenu MenuSysconsKeymap = {
1871 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1872 "System Console Keymap",
1873 "The default system console driver for FreeBSD (syscons) defaults\n"
1874 "to a standard \"PC-98x1\" keyboard map. Users may wish to choose\n"
1875 "one of the other keymaps below.\n"
1876 "Note that sysinstall itself only uses the part of the keyboard map\n"
1877 "which is required to generate the ANSI character subset, but your\n"
1878 "choice of keymap will also be saved for later (fuller) use.",
1879 "Choose a keyboard map",
1881 { { "Japanese PC-98x1", "Japanese PC-98x1 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98" },
1882 { " Japanese PC-98x1 (ISO)", "Japanese PC-98x1 (ISO) keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98.iso" },
1886 DMenu MenuSysconsKeymap = {
1887 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1888 "System Console Keymap",
1889 "The default system console driver for FreeBSD (syscons) defaults\n"
1890 "to a standard \"American\" keyboard map. Users in other countries\n"
1891 "(or with different keyboard preferences) may wish to choose one of\n"
1892 "the other keymaps below.\n"
1893 "Note that sysinstall itself only uses the part of the keyboard map\n"
1894 "which is required to generate the ANSI character subset, but your\n"
1895 "choice of keymap will also be saved for later (fuller) use.",
1896 "Choose a keyboard map",
1898 { { "Belgian", "Belgian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=be.iso" },
1899 { " Brazil CP850", "Brazil CP850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.cp850" },
1900 { " Brazil ISO (accent)", "Brazil ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso.acc" },
1901 { " Brazil ISO", "Brazil ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso" },
1902 { " Bulgarian BDS", "Bulgarian BDS keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.bds.ctrlcaps" },
1903 { " Bulgarian Phonetic", "Bulgarian Phonetic keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.phonetic.ctrlcaps" },
1904 { "Central European ISO", "Central European ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ce.iso2" },
1905 { " Croatian ISO", "Croatian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hr.iso" },
1906 { " Czech ISO (accent)", "Czech ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=cs.latin2.qwertz" },
1907 { "Danish CP865", "Danish Code Page 865 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.cp865" },
1908 { " Danish ISO", "Danish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.iso" },
1909 { "Estonian ISO", "Estonian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso" },
1910 { " Estonian ISO 15", "Estonian ISO 8859-15 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso15" },
1911 { " Estonian CP850", "Estonian Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.cp850" },
1912 { "Finnish CP850","Finnish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.cp850" },
1913 { " Finnish ISO", "Finnish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.iso" },
1914 { " French ISO (accent)", "French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso.acc" },
1915 { " French ISO", "French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso" },
1916 { " French ISO/Macbook", "French ISO keymap on macbook", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.macbook.acc" },
1917 { "German CP850", "German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.cp850" },
1918 { " German ISO", "German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.iso" },
1919 { " Greek 101", "Greek ISO keymap (101 keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.us101.acc" },
1920 { " Greek 104", "Greek ISO keymap (104 keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=el.iso07" },
1921 { " Greek ELOT", "Greek ISO keymap (ELOT 1000)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=gr.elot.acc" },
1922 { "Hungarian 101", "Hungarian ISO keymap (101 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.101keys" },
1923 { " Hungarian 102", "Hungarian ISO keymap (102 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.102keys" },
1924 { "Icelandic (accent)", "Icelandic ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso.acc" },
1925 { " Icelandic", "Icelandic ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso" },
1926 { " Italian", "Italian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=it.iso" },
1927 { "Japanese 106", "Japanese 106 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.106" },
1928 { "Latin American (accent)", "Latin American ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=latinamerican.iso.acc" },
1929 { " Latin American", "Latin American ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=latinamerican" },
1930 { "Norway ISO", "Norwegian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=norwegian.iso" },
1931 { "Polish ISO", "Polish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pl_PL.ISO8859-2" },
1932 { " Portuguese (accent)", "Portuguese ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso.acc" },
1933 { " Portuguese", "Portuguese ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso" },
1934 { "Russia KOI8-R", "Russian KOI8-R keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ru.koi8-r" },
1935 { "Slovak", "Slovak ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=sk.iso2" },
1936 { "Slovenian", "Slovenian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=si.iso" },
1937 { " Spanish (accent)", "Spanish ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso.acc" },
1938 { " Spanish", "Spanish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso" },
1939 { " Swedish CP850", "Swedish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.cp850" },
1940 { " Swedish ISO", "Swedish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.iso" },
1941 { " Swiss French ISO (accent)", "Swiss French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso.acc" },
1942 { " Swiss French ISO", "Swiss French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso" },
1943 { " Swiss French CP850", "Swiss French Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.cp850" },
1944 { " Swiss German ISO (accent)", "Swiss German ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso.acc" },
1945 { " Swiss German ISO", "Swiss German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso" },
1946 { " Swiss German CP850", "Swiss German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.cp850" },
1947 { "UK CP850", "UK Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.cp850" },
1948 { " UK ISO", "UK ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.iso" },
1949 { " Ukrainian KOI8-U", "Ukrainian KOI8-U keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u" },
1950 { " Ukrainian KOI8-U+KOI8-R", "Ukrainian KOI8-U+KOI8-R keymap (alter)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u.shift.alt" },
1951 { " USA CapsLock->Ctrl", "US standard (Caps as L-Control)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.pc-ctrl" },
1952 { " USA Dvorak", "US Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorak" },
1953 { " USA Dvorak (left)", "US left handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakl" },
1954 { " USA Dvorak (right)", "US right handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakr" },
1955 { " USA Emacs", "US standard optimized for EMACS", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.emacs" },
1956 { " USA ISO", "US ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.iso" },
1957 { " USA UNIX", "US traditional UNIX-workstation", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.unix" },
1962 DMenu MenuSysconsKeyrate = {
1963 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1964 "System Console Keyboard Repeat Rate",
1965 "This menu allows you to set the speed at which keys repeat\n"
1967 "Choose a keyboard repeat rate",
1969 { { "Slow", "Slow keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=slow" },
1970 { "Normal", "\"Normal\" keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=normal" },
1971 { "Fast", "Fast keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=fast" },
1972 { "Default", "Use default keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=NO" },
1976 DMenu MenuSysconsSaver = {
1977 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1978 "System Console Screen Saver",
1979 "By default, the console driver will not attempt to do anything\n"
1980 "special with your screen when it's idle. If you expect to leave your\n"
1981 "monitor switched on and idle for long periods of time then you should\n"
1982 "probably enable one of these screen savers to prevent burn-in.",
1983 "Choose a nifty-looking screen saver",
1985 { { "1 Blank", "Simply blank the screen",
1986 dmenuVarCheck, configSaver, NULL, "saver=blank" },
1987 { "2 Daemon", "\"BSD Daemon\" animated screen saver (text)",
1988 dmenuVarCheck, configSaver, NULL, "saver=daemon" },
1989 { "3 Fade", "Fade out effect screen saver",
1990 dmenuVarCheck, configSaver, NULL, "saver=fade" },
1991 { "4 Fire", "Flames effect screen saver",
1992 dmenuVarCheck, configSaver, NULL, "saver=fire" },
1993 { "5 Green", "\"Green\" power saving mode (if supported by monitor)",
1994 dmenuVarCheck, configSaver, NULL, "saver=green" },
1995 { "6 Logo", "\"BSD Daemon\" animated screen saver (graphics)",
1996 dmenuVarCheck, configSaver, NULL, "saver=logo" },
1997 { "7 Rain", "Rain drops screen saver",
1998 dmenuVarCheck, configSaver, NULL, "saver=rain" },
1999 { "8 Snake", "Draw a FreeBSD \"snake\" on your screen",
2000 dmenuVarCheck, configSaver, NULL, "saver=snake" },
2001 { "9 Star", "A \"twinkling stars\" effect",
2002 dmenuVarCheck, configSaver, NULL, "saver=star" },
2003 { "Warp", "A \"stars warping\" effect",
2004 dmenuVarCheck, configSaver, NULL, "saver=warp" },
2005 { "Dragon", "Dragon screensaver (graphics)",
2006 dmenuVarCheck, configSaver, NULL, "saver=dragon" },
2007 { "Timeout", "Set the screen saver timeout interval",
2008 NULL, configSaverTimeout, NULL, NULL, ' ', ' ', ' ' },
2013 DMenu MenuSysconsScrnmap = {
2014 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2015 "System Console Screenmap",
2016 "Unless you load a specific font, most PC hardware defaults to\n"
2017 "displaying characters in the IBM 437 character set. However,\n"
2018 "in the Unix world, this character set is very rarely used. Most\n"
2019 "Western European countries, for example, prefer ISO 8859-1.\n"
2020 "American users won't notice the difference since the bottom half\n"
2021 "of all these character sets is ANSI anyway.\n"
2022 "If your hardware is capable of downloading a new display font,\n"
2023 "you should probably choose that option. However, for hardware\n"
2024 "where this is not possible (e.g. monochrome adapters), a screen\n"
2025 "map will give you the best approximation that your hardware can\n"
2027 "Choose a screen map",
2029 { { "1 None", "No screenmap, don't touch font", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=NO" },
2030 { "2 ISO 8859-1 to IBM437", "W-Europe ISO 8859-1 to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=iso-8859-1_to_cp437" },
2031 { "3 ISO 8859-7 to IBM437", "Greek ISO 8859-7 to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=iso-8859-7_to_cp437" },
2032 { "4 US-ASCII to IBM437", "US-ASCII to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=us-ascii_to_cp437" },
2033 { "5 KOI8-R to IBM866", "Russian KOI8-R to IBM 866 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-r2cp866" },
2034 { "6 KOI8-U to IBM866u", "Ukrainian KOI8-U to IBM 866u screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-u2cp866u" },
2038 DMenu MenuSysconsTtys = {
2039 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2040 "System Console Terminal Type",
2041 "For various console encodings, a corresponding terminal type\n"
2042 "must be chosen in /etc/ttys.\n\n"
2043 "WARNING: For compatibility reasons, only entries starting with\n"
2044 "ttyv and terminal types starting with cons[0-9] can be changed\n"
2046 "Choose a terminal type",
2048 { { "1 None", "Don't touch anything", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=NO" },
2049 { "2 IBM437 (VGA default)", "cons25", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25" },
2050 { "3 ISO 8859-1", "cons25l1", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l1" },
2051 { "4 ISO 8859-2", "cons25l2", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l2" },
2052 { "5 ISO 8859-7", "cons25l7", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25l7" },
2053 { "6 KOI8-R", "cons25r", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25r" },
2054 { "7 KOI8-U", "cons25u", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25u" },
2055 { "8 US-ASCII", "cons25w", dmenuVarCheck, dmenuSetVariable, NULL, VAR_CONSTERM "=cons25w" },
2059 DMenu MenuSysconsFont = {
2060 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2061 "System Console Font",
2062 "Most PC hardware defaults to displaying characters in the\n"
2063 "IBM 437 character set. However, in the Unix world, this\n"
2064 "character set is very rarely used. Most Western European\n"
2065 "countries, for example, prefer ISO 8859-1.\n"
2066 "American users won't notice the difference since the bottom half\n"
2067 "of all these charactersets is ANSI anyway. However, they might\n"
2068 "want to load a font anyway to use the 30- or 50-line displays.\n"
2069 "If your hardware is capable of downloading a new display font,\n"
2070 "you can select the appropriate font below.",
2073 { { "1 None", "Use hardware default font", dmenuVarCheck, dmenuSetVariables, NULL,
2074 "font8x8=NO,font8x14=NO,font8x16=NO" },
2075 { "2 IBM 437", "English and others, VGA default", dmenuVarCheck, dmenuSetVariables, NULL,
2076 "font8x8=cp437-8x8,font8x14=cp437-8x14,font8x16=cp437-8x16" },
2077 { "3 IBM 850", "Western Europe, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2078 "font8x8=cp850-8x8,font8x14=cp850-8x14,font8x16=cp850-8x16" },
2079 { "4 IBM 865", "Norwegian, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2080 "font8x8=cp865-8x8,font8x14=cp865-8x14,font8x16=cp865-8x16" },
2081 { "5 IBM 866", "Russian, IBM encoding (use with KOI8-R screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
2082 "font8x8=cp866-8x8,font8x14=cp866-8x14,font8x16=cp866b-8x16,mousechar_start=3" },
2083 { "6 IBM 866u", "Ukrainian, IBM encoding (use with KOI8-U screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
2084 "font8x8=cp866u-8x8,font8x14=cp866u-8x14,font8x16=cp866u-8x16,mousechar_start=3" },
2085 { "7 IBM 1251", "Cyrillic, MS Windows encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2086 "font8x8=cp1251-8x8,font8x14=cp1251-8x14,font8x16=cp1251-8x16,mousechar_start=3" },
2087 { "8 ISO 8859-1", "Western Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2088 "font8x8=iso-8x8,font8x14=iso-8x14,font8x16=iso-8x16" },
2089 { "9 ISO 8859-2", "Eastern Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2090 "font8x8=iso02-8x8,font8x14=iso02-8x14,font8x16=iso02-8x16" },
2091 { "a ISO 8859-4", "Baltic, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2092 "font8x8=iso04-8x8,font8x14=iso04-8x14,font8x16=iso04-8x16" },
2093 { "b ISO 8859-7", "Greek, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2094 "font8x8=iso07-8x8,font8x14=iso07-8x14,font8x16=iso07-8x16" },
2095 { "c ISO 8859-8", "Hebrew, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2096 "font8x8=iso08-8x8,font8x14=iso08-8x14,font8x16=iso08-8x16" },
2097 { "d ISO 8859-15", "Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
2098 "font8x8=iso15-8x8,font8x14=iso15-8x14,font8x16=iso15-8x16" },
2099 { "e SWISS", "English, better resolution", dmenuVarCheck, dmenuSetVariables, NULL,
2100 "font8x8=swiss-8x8,font8x14=NO,font8x16=swiss-8x16" },
2104 #endif /* WITH_SYSCONS */
2106 DMenu MenuUsermgmt = {
2108 "User and group management",
2109 "The submenus here allow to manipulate user groups and\n"
2110 "login accounts.\n",
2111 "Configure your user groups and users",
2113 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
2114 { "User", "Add a new user to the system.", NULL, userAddUser },
2115 { "Group", "Add a new user group to the system.", NULL, userAddGroup },
2119 DMenu MenuSecurity = {
2120 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
2121 "System Security Options Menu",
2122 "This menu allows you to configure aspects of the operating system security\n"
2123 "policy. Please read the system documentation carefully before modifying\n"
2124 "these settings, as they may cause service disruption if used improperly.\n"
2126 "Most settings will take affect only following a system reboot.",
2127 "Configure system security options",
2129 { { "X Exit", "Exit this menu (returning to previous)",
2130 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
2131 { " Securelevel", "Configure securelevels for the system",
2132 NULL, configSecurelevel },
2134 { " LOMAC", "Use Low Watermark Mandatory Access Control at boot",
2135 dmenuVarCheck, dmenuToggleVariable, NULL, "lomac_enable=YES" },
2137 { " NFS port", "Require that the NFS clients use reserved ports",
2138 dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_reserved_port_only=YES" },
2142 DMenu MenuSecurelevel = {
2143 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
2144 "Securelevel Configuration Menu",
2145 "This menu allows you to select the securelevel your system runs with.\n"
2146 "When operating at a securelevel, certain root privileges are disabled,\n"
2147 "which may increase resistance to exploits and protect system integrity.\n"
2148 "In secure mode system flags may not be overriden by the root user,\n"
2149 "access to direct kernel memory is limited, and kernel modules may not\n"
2150 "be changed. In highly secure mode, mounted file systems may not be\n"
2151 "modified on-disk, tampering with the system clock is prohibited. In\n"
2152 "network secure mode configuration changes to firewalling are prohibited.\n",
2153 "Select a securelevel to operate at - F1 for help",
2155 { { "X Exit", "Exit this menu (returning to previous)",
2156 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
2157 { "Disabled", "Disable securelevels", NULL, configSecurelevelDisabled, },
2158 { "Secure", "Secure mode", NULL, configSecurelevelSecure },
2159 { "Highly Secure", "Highly secure mode", NULL, configSecurelevelHighlySecure },
2160 { "Network Secure", "Network secure mode", NULL, configSecurelevelNetworkSecure },
2166 "Please choose a fixit option",
2167 "There are three ways of going into \"fixit\" mode:\n"
2168 "- you can use the live filesystem CDROM/DVD, in which case there will be\n"
2169 " full access to the complete set of FreeBSD commands and utilities,\n"
2170 "- you can use the more limited (but perhaps customized) fixit floppy,\n"
2171 "- or you can start an Emergency Holographic Shell now, which is\n"
2172 " limited to the subset of commands that is already available right now.",
2173 "Press F1 for more detailed repair instructions",
2175 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
2176 { "2 CDROM/DVD", "Use the live filesystem CDROM/DVD", NULL, installFixitCDROM },
2177 { "3 USB", "Use the live filesystem from a USB drive", NULL, installFixitUSB },
2178 { "4 Floppy", "Use a floppy generated from the fixit image", NULL, installFixitFloppy },
2179 { "5 Shell", "Start an Emergency Holographic Shell", NULL, installFixitHoloShell },