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
33 * $FreeBSD: src/release/sysinstall/menus.c,v 1.252.2.67 2003/05/15 02:05:31 murray Exp $
34 * $DragonFly: src/release/sysinstall/Attic/menus.c,v 1.4 2003/12/01 09:02:10 asmodai Exp $
37 #include "sysinstall.h"
39 /* Miscellaneous work routines for menus */
41 setSrc(dialogMenuItem *self)
44 SrcDists = DIST_SRC_ALL;
45 CRYPTODists |= (DIST_CRYPTO_SCRYPTO | DIST_CRYPTO_SSECURE |
46 DIST_CRYPTO_SKERBEROS5);
47 return DITEM_SUCCESS | DITEM_REDRAW;
51 clearSrc(dialogMenuItem *self)
55 CRYPTODists &= ~(DIST_CRYPTO_SCRYPTO | DIST_CRYPTO_SSECURE |
56 DIST_CRYPTO_SKERBEROS5);
57 return DITEM_SUCCESS | DITEM_REDRAW;
61 setX11Misc(dialogMenuItem *self)
63 XF86Dists |= DIST_XF86_MISC_ALL;
65 return DITEM_SUCCESS | DITEM_REDRAW;
69 clearX11Misc(dialogMenuItem *self)
71 XF86Dists &= ~DIST_XF86_MISC_ALL;
72 if (!XF86ServerDists && !XF86FontDists)
74 return DITEM_SUCCESS | DITEM_REDRAW;
78 setX11Servers(dialogMenuItem *self)
80 XF86Dists |= DIST_XF86_SERVER;
81 XF86ServerDists = DIST_XF86_SERVER_ALL;
82 return DITEM_SUCCESS | DITEM_REDRAW;
86 clearX11Servers(dialogMenuItem *self)
88 XF86Dists &= ~DIST_XF86_SERVER;
90 return DITEM_SUCCESS | DITEM_REDRAW;
94 setX11Fonts(dialogMenuItem *self)
96 XF86Dists |= DIST_XF86_FONTS;
97 XF86FontDists = DIST_XF86_FONTS_ALL;
98 return DITEM_SUCCESS | DITEM_REDRAW;
102 clearX11Fonts(dialogMenuItem *self)
104 XF86Dists &= ~DIST_XF86_FONTS;
106 return DITEM_SUCCESS | DITEM_REDRAW;
109 #define _IS_SET(dist, set) (((dist) & (set)) == (set))
111 #define IS_DEVELOPER(dist, extra) (_IS_SET(dist, _DIST_DEVELOPER | extra) || \
112 _IS_SET(dist, _DIST_DEVELOPER | extra))
114 #define IS_USER(dist, extra) (_IS_SET(dist, _DIST_USER | extra) || \
115 _IS_SET(dist, _DIST_USER | extra))
118 checkDistDeveloper(dialogMenuItem *self)
120 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_ALL);
124 checkDistXDeveloper(dialogMenuItem *self)
126 return IS_DEVELOPER(Dists, DIST_XF86) && _IS_SET(SrcDists, DIST_SRC_ALL);
130 checkDistKernDeveloper(dialogMenuItem *self)
132 return IS_DEVELOPER(Dists, 0) && _IS_SET(SrcDists, DIST_SRC_SYS);
136 checkDistXKernDeveloper(dialogMenuItem *self)
138 return IS_DEVELOPER(Dists, DIST_XF86) && _IS_SET(SrcDists, DIST_SRC_SYS);
142 checkDistUser(dialogMenuItem *self)
144 return IS_USER(Dists, 0);
148 checkDistXUser(dialogMenuItem *self)
150 return IS_USER(Dists, DIST_XF86);
154 checkDistMinimum(dialogMenuItem *self)
156 return Dists == (DIST_BIN | DIST_CRYPTO);
160 checkDistEverything(dialogMenuItem *self)
162 return Dists == DIST_ALL && CRYPTODists == DIST_CRYPTO_ALL && \
163 _IS_SET(SrcDists, DIST_SRC_ALL) && \
164 _IS_SET(XF86Dists, DIST_XF86_ALL) && \
165 _IS_SET(XF86ServerDists, DIST_XF86_SERVER_ALL) && \
166 _IS_SET(XF86FontDists, DIST_XF86_FONTS_ALL);
170 srcFlagCheck(dialogMenuItem *item)
176 x11FlagCheck(dialogMenuItem *item)
178 return Dists & DIST_XF86;
182 checkTrue(dialogMenuItem *item)
187 /* All the system menus go here.
189 * Hardcoded things like version number strings will disappear from
190 * these menus just as soon as I add the code for doing inline variable
196 "Glossary of functions",
197 "This menu contains an alphabetized index of the top level functions in\n"
198 "this program (sysinstall). Invoke an option by pressing [SPACE] or\n"
199 "[ENTER]. To exit, use [TAB] to move to the Cancel button.",
200 "Use PageUp or PageDown to move through this menu faster!",
202 { { " Anon FTP", "Configure anonymous FTP logins.", dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
203 { " Commit", "Commit any pending actions (dangerous!)", NULL, installCustomCommit },
204 { " Console settings", "Customize system console behavior.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
205 { " Configure", "The system configuration menu.", NULL, dmenuSubmenu, NULL, &MenuConfigure },
206 { " Defaults, Load", "Load default settings.", NULL, dispatch_load_floppy },
207 { " Device, Mouse", "The mouse configuration menu.", NULL, dmenuSubmenu, NULL, &MenuMouse },
208 { " Disklabel", "The disk Label editor", NULL, diskLabelEditor },
209 { " Dists, All", "Root of the distribution tree.", NULL, dmenuSubmenu, NULL, &MenuDistributions },
210 { " Dists, Basic", "Basic FreeBSD distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSubDistributions },
211 { " Dists, Developer", "Select developer's distribution.", checkDistDeveloper, distSetDeveloper },
212 { " Dists, Src", "Src distribution menu.", NULL, dmenuSubmenu, NULL, &MenuSrcDistributions },
213 { " Dists, X Developer", "Select X developer's distribution.", checkDistXDeveloper, distSetXDeveloper },
214 { " Dists, Kern Developer", "Select kernel developer's distribution.", checkDistKernDeveloper, distSetKernDeveloper },
215 { " Dists, User", "Select average user distribution.", checkDistUser, distSetUser },
216 { " Dists, X User", "Select average X user distribution.", checkDistXUser, distSetXUser },
217 { " Distributions, Adding", "Installing additional distribution sets", NULL, distExtractAll },
218 { " Distributions, XFree86","XFree86 distribution menu.", NULL, distSetXF86 },
219 { " Documentation", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
220 { " Doc, README", "The distribution README file.", NULL, dmenuDisplayFile, NULL, "README" },
221 { " Doc, Errata", "The distribution errata.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
222 { " Doc, Hardware", "The distribution hardware guide.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
223 { " Doc, Install", "The distribution installation guide.", NULL, dmenuDisplayFile, NULL, "INSTALL" },
224 { " Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
225 { " Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
226 { " Doc, HTML", "The HTML documentation menu.", NULL, docBrowser },
227 { " Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
228 { " Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell },
230 { " Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor },
232 { " Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit },
233 { " FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP },
234 { " Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
235 { " HTML Docs", "The HTML documentation menu", NULL, docBrowser },
236 { " inetd Configuration", "Configure inetd and simple internet services.", dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
237 { " Install, Standard", "A standard system installation.", NULL, installStandard },
238 { " Install, Express", "An express system installation.", NULL, installExpress },
239 { " Install, Custom", "The custom installation menu", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
240 { " Label", "The disk Label editor", NULL, diskLabelEditor },
241 { " Media", "Top level media selection menu.", NULL, dmenuSubmenu, NULL, &MenuMedia },
242 { " Media, Tape", "Select tape installation media.", NULL, mediaSetTape },
243 { " Media, NFS", "Select NFS installation media.", NULL, mediaSetNFS },
244 { " Media, Floppy", "Select floppy installation media.", NULL, mediaSetFloppy },
245 { " Media, CDROM/DVD", "Select CDROM/DVD installation media.", NULL, mediaSetCDROM },
246 { " Media, DOS", "Select DOS installation media.", NULL, mediaSetDOS },
247 { " Media, UFS", "Select UFS installation media.", NULL, mediaSetUFS },
248 { " Media, FTP", "Select FTP installation media.", NULL, mediaSetFTP },
249 { " Media, FTP Passive", "Select passive FTP installation media.", NULL, mediaSetFTPPassive },
250 { " Media, HTTP", "Select FTP via HTTP proxy installation media.", NULL, mediaSetHTTP },
251 { " Network Interfaces", "Configure network interfaces", NULL, tcpMenuSelect },
252 { " Networking Services", "The network services menu.", NULL, dmenuSubmenu, NULL, &MenuNetworking },
253 { " NFS, client", "Set NFS client flag.", dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
254 { " NFS, server", "Set NFS server flag.", dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
255 { " NTP Menu", "The NTP configuration menu.", NULL, dmenuSubmenu, NULL, &MenuNTP },
256 { " Options", "The options editor.", NULL, optionsEditor },
257 { " Packages", "The packages collection", NULL, configPackages },
258 { " Partition", "The disk Slice (PC-style partition) Editor", NULL, diskPartitionEditor },
259 { " PCNFSD", "Run authentication server for PC-NFS.", dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
260 { " Root Password", "Set the system manager's password.", NULL, dmenuSystemCommand, NULL, "passwd root" },
261 { " Router", "Select routing daemon (default: routed)", NULL, configRouter, NULL, "router_enable" },
262 { " Security", "Select a default system security profile.", NULL, dmenuSubmenu, NULL, &MenuSecurityProfile },
263 { " Syscons", "The system console configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSyscons },
264 { " Syscons, Font", "The console screen font.", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
265 { " Syscons, Keymap", "The console keymap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
266 { " Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
267 { " Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
268 { " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
269 { " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
270 { " TTYs", "Configure system ttys.", NULL, configEtcTtys, NULL, "ttys" },
271 { " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
272 { " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
273 { " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
274 { " XFree86, Fonts", "XFree86 Font selection menu.", NULL, dmenuSubmenu, NULL, &MenuXF86SelectFonts },
275 { " XFree86, Server", "XFree86 Server selection menu.", NULL, dmenuSubmenu, NULL, &MenuXF86SelectServer },
276 #if defined(__i386__) && defined(PC98)
277 { " XFree86, PC98 Server", "XFree86 PC98 Server selection menu.", NULL, dmenuSubmenu, NULL, &MenuXF86SelectPC98Server },
282 /* The initial installation menu */
283 DMenu MenuInitial = {
285 "sysinstall Main Menu", /* title */
286 "Welcome to the FreeBSD installation and configuration tool. Please\n" /* prompt */
287 "select one of the options below by using the arrow keys or typing the\n"
288 "first character of the option name you're interested in. Invoke an\n"
289 "option with [SPACE] or [ENTER]. To exit, use [TAB] to move to Exit.",
290 "Press F1 for Installation Guide", /* help line */
291 "INSTALL", /* help file */
293 { "X Exit Install", NULL, NULL, dmenuExit },
294 { " Usage", "Quick start - How to use this menu system", NULL, dmenuDisplayFile, NULL, "usage" },
295 { "Standard", "Begin a standard installation (recommended)", NULL, installStandard },
296 { "Express", "Begin a quick installation (for the impatient)", NULL, installExpress },
297 { " Custom", "Begin a custom installation (for experts)", NULL, dmenuSubmenu, NULL, &MenuInstallCustom },
298 { "Configure", "Do post-install configuration of FreeBSD", NULL, dmenuSubmenu, NULL, &MenuConfigure },
299 { "Doc", "Installation instructions, README, etc.", NULL, dmenuSubmenu, NULL, &MenuDocumentation },
300 { "Keymap", "Select keyboard type", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
301 { "Options", "View/Set various installation options", NULL, optionsEditor },
302 { "Fixit", "Repair mode with CDROM/DVD/floppy or start shell", NULL, dmenuSubmenu, NULL, &MenuFixit },
303 { "Upgrade", "Upgrade an existing system", NULL, installUpgrade },
304 { "Load Config","Load default install configuration", NULL, dispatch_load_floppy },
305 { "Index", "Glossary of functions", NULL, dmenuSubmenu, NULL, &MenuIndex },
309 /* The main documentation menu */
310 DMenu MenuDocumentation = {
312 "FreeBSD Documentation Menu",
313 "If you are at all unsure about the configuration of your hardware\n"
314 "or are looking to build a system specifically for FreeBSD, read the\n"
315 "Hardware guide! New users should also read the Install document for\n"
316 "a step-by-step tutorial on installing FreeBSD. For general information,\n"
317 "consult the README file.",
318 "Confused? Press F1 for help.",
320 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
321 { "1 README", "A general description of FreeBSD. Read this!", NULL, dmenuDisplayFile, NULL, "README" },
322 { "2 Errata", "Late-breaking, post-release news.", NULL, dmenuDisplayFile, NULL, "ERRATA" },
323 { "3 Hardware", "The FreeBSD survival guide for PC hardware.", NULL, dmenuDisplayFile, NULL, "HARDWARE" },
324 { "4 Install", "A step-by-step guide to installing FreeBSD.", NULL, dmenuDisplayFile, NULL, "INSTALL" },
325 { "5 Copyright", "The FreeBSD Copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
326 { "6 Release" ,"The release notes for this version of FreeBSD.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
327 { "7 Shortcuts", "Creating shortcuts to sysinstall.", NULL, dmenuDisplayFile, NULL, "shortcuts" },
328 { "8 HTML Docs", "Go to the HTML documentation menu (post-install).", NULL, docBrowser },
332 DMenu MenuMouseType = {
333 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
334 "Select a protocol type for your mouse",
335 "If your mouse is attached to the PS/2 mouse port or the bus mouse port,\n"
336 "you should always choose \"Auto\", regardless of the model and the brand\n"
337 "of the mouse. All other protocol types are for serial mice and should\n"
338 "not be used with the PS/2 port mouse or the bus mouse. If you have\n"
339 "a serial mouse and are not sure about its protocol, you should also try\n"
340 "\"Auto\". It may not work for the serial mouse if the mouse does not\n"
341 "support the PnP standard. But, it won't hurt. Many 2-button serial mice\n"
342 "are compatible with \"Microsoft\" or \"MouseMan\". 3-button serial mice\n"
343 "may be compatible with \"MouseSystems\" or \"MouseMan\". If the serial\n"
344 "mouse has a wheel, it may be compatible with \"IntelliMouse\".",
347 { { "1 Auto", "Bus mouse, PS/2 style mouse or PnP serial mouse",
348 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=auto" },
349 { "2 GlidePoint", "ALPS GlidePoint pad (serial)",
350 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=glidepoint" },
351 { "3 Hitachi","Hitachi tablet (serial)",
352 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmhittab" },
353 { "4 IntelliMouse", "Microsoft IntelliMouse (serial)",
354 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=intellimouse" },
355 { "5 Logitech", "Logitech protocol (old models) (serial)",
356 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=logitech" },
357 { "6 Microsoft", "Microsoft protocol (serial)",
358 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=microsoft" },
359 { "7 MM Series","MM Series protocol (serial)",
360 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mmseries" },
361 { "8 MouseMan", "Logitech MouseMan/TrackMan models (serial)",
362 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mouseman" },
363 { "9 MouseSystems", "MouseSystems protocol (serial)",
364 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=mousesystems" },
365 { "A ThinkingMouse","Kensington ThinkingMouse (serial)",
366 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_TYPE "=thinkingmouse" },
370 DMenu MenuMousePort = {
371 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
372 "Select your mouse port from the following menu",
373 "The built-in pointing device of laptop/notebook computers is usually\n"
374 "a PS/2 style device.",
377 { { "1 PS/2", "PS/2 style mouse (/dev/psm0)",
378 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/psm0" },
379 { "2 COM1", "Serial mouse on COM1 (/dev/cuaa0)",
380 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa0" },
381 { "3 COM2", "Serial mouse on COM2 (/dev/cuaa1)",
382 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa1" },
383 { "4 COM3", "Serial mouse on COM3 (/dev/cuaa2)",
384 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa2" },
385 { "5 COM4", "Serial mouse on COM4 (/dev/cuaa3)",
386 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/cuaa3" },
387 { "6 BusMouse", "Logitech, ATI or MS bus mouse (/dev/mse0)",
388 dmenuVarCheck, dmenuSetVariable, NULL, VAR_MOUSED_PORT "=/dev/mse0" },
394 "Please configure your mouse",
395 "You can cut and paste text in the text console by running the mouse\n"
396 "daemon. Specify a port and a protocol type of your mouse and enable\n"
397 "the mouse daemon. If you don't want this feature, select 6 to disable\n"
399 "Once you've enabled the mouse daemon, you can specify \"/dev/sysmouse\"\n"
400 "as your mouse device and \"SysMouse\" or \"MouseSystems\" as mouse\n"
401 "protocol when running the X configuration utility (see Configuration\n"
405 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
406 { "2 Enable", "Test and run the mouse daemon", NULL, mousedTest, NULL, NULL },
407 { "3 Type", "Select mouse protocol type", NULL, dmenuSubmenu, NULL, &MenuMouseType },
408 { "4 Port", "Select mouse port", NULL, dmenuSubmenu, NULL, &MenuMousePort },
409 { "5 Flags", "Set additional flags", dmenuVarCheck, setMouseFlags,
410 NULL, VAR_MOUSED_FLAGS "=" },
411 { "6 Disable", "Disable the mouse daemon", NULL, mousedDisable, NULL, NULL },
415 DMenu MenuMediaCDROM = {
416 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
417 "Choose a CD/DVD type",
418 "FreeBSD can be installed directly from a CD/DVD containing a valid\n"
419 "FreeBSD distribution. If you are seeing this menu it is because\n"
420 "more than one CD/DVD drive was found on your system. Please select one\n"
421 "of the following CD/DVD drives as your installation drive.",
422 "Press F1 to read the installation guide",
427 DMenu MenuMediaFloppy = {
428 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
429 "Choose a Floppy drive",
430 "You have more than one floppy drive. Please choose which drive\n"
431 "you would like to use.",
437 DMenu MenuMediaDOS = {
438 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
439 "Choose a DOS partition",
440 "FreeBSD can be installed directly from a DOS partition\n"
441 "assuming, of course, that you have copied the relevant\n"
442 "distributions into your DOS partition before starting this\n"
443 "installation. If this is not the case then you should reboot\n"
444 "DOS at this time and copy the distributions you wish to install\n"
445 "into a \"FREEBSD\" subdirectory on one of your DOS partitions.\n"
446 "Otherwise, please select the DOS partition containing the FreeBSD\n"
447 "distribution files.",
448 "Press F1 to read the installation guide",
453 DMenu MenuMediaFTP = {
454 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
455 "Please select a FreeBSD FTP distribution site",
456 "Please select the site closest to you or \"other\" if you'd like to\n"
457 "specify a different choice. Also note that not every site listed here\n"
458 "carries more than the base distribution kits. Only the Primary site is\n"
459 "guaranteed to carry the full range of possible distributions.",
460 "Select a site that's close!",
462 { { "Germany", "chlamydia.fs.ei.tum.de", NULL, dmenuSetVariable, NULL,
463 VAR_FTP_PATH "=ftp://chlamydia.fs.ei.tum.de" },
464 { "Ireland", "ftp.esat.net", NULL, dmenuSetVariable, NULL,
465 VAR_FTP_PATH "=ftp://ftp.esat.net" },
466 { "Japan", "ftp.allbsd.org", NULL, dmenuSetVariable, NULL,
467 VAR_FTP_PATH "=ftp://ftp.allbsd.org" },
468 { "URL", "Specify some other ftp site by URL", NULL, dmenuSetVariable, NULL,
469 VAR_FTP_PATH "=other" },
473 DMenu MenuMediaTape = {
474 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
475 "Choose a tape drive type",
476 "FreeBSD can be installed from tape drive, though this installation\n"
477 "method requires a certain amount of temporary storage in addition\n"
478 "to the space required by the distribution itself (tape drives make\n"
479 "poor random-access devices, so we extract _everything_ on the tape\n"
480 "in one pass). If you have sufficient space for this, then you should\n"
481 "select one of the following tape devices detected on your system.",
482 "Press F1 to read the installation guide",
487 DMenu MenuNetworkDevice = {
488 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
489 "Network interface information required",
490 "If you are using PPP over a serial device, as opposed to a direct\n"
491 "ethernet connection, then you may first need to dial your Internet\n"
492 "Service Provider using the ppp utility we provide for that purpose.\n"
493 "If you're using SLIP over a serial device then the expectation is\n"
494 "that you have a HARDWIRED connection.\n\n"
495 "You can also install over a parallel port using a special \"laplink\"\n"
496 "cable to another machine running a fairly recent (2.0R or later)\n"
497 "version of FreeBSD.",
498 "Press F1 to read network configuration manual",
503 /* Prototype KLD load menu */
507 "Load a KLD from a floppy\n",
513 /* The media selection menu */
515 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
516 "Choose Installation Media",
517 "FreeBSD can be installed from a variety of different installation\n"
518 "media, ranging from floppies to an Internet FTP server. If you're\n"
519 "installing FreeBSD from a supported CD/DVD drive then this is generally\n"
520 "the best media to use if you have no overriding reason for using other\n"
522 "Press F1 for more information on the various media types",
524 { { "1 CD/DVD", "Install from a FreeBSD CD/DVD", NULL, mediaSetCDROM },
525 { "2 FTP", "Install from an FTP server", NULL, mediaSetFTPActive },
526 { "3 FTP Passive", "Install from an FTP server through a firewall", NULL, mediaSetFTPPassive },
527 { "4 HTTP", "Install from an FTP server through a http proxy", NULL, mediaSetHTTP },
528 { "5 DOS", "Install from a DOS partition", NULL, mediaSetDOS },
529 { "6 NFS", "Install over NFS", NULL, mediaSetNFS },
530 { "7 File System", "Install from an existing filesystem", NULL, mediaSetUFS },
531 { "8 Floppy", "Install from a floppy disk set", NULL, mediaSetFloppy },
532 { "9 Tape", "Install from SCSI or QIC tape", NULL, mediaSetTape },
533 { "X Options", "Go to the Options screen", NULL, optionsEditor },
537 /* The distributions menu */
538 DMenu MenuDistributions = {
539 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
540 "Choose Distributions",
541 "As a convenience, we provide several \"canned\" distribution sets.\n"
542 "These select what we consider to be the most reasonable defaults for the\n"
543 "type of system in question. If you would prefer to pick and choose the\n"
544 "list of distributions yourself, simply select \"Custom\". You can also\n"
545 "pick a canned distribution set and then fine-tune it with the Custom item.\n\n"
546 "Choose an item by pressing [SPACE] or [ENTER]. When finished, choose the\n"
547 "Exit item or move to the OK button with [TAB].",
548 "Press F1 for more information on these options.",
550 { { "X Exit", "Exit this menu (returning to previous)",
551 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
552 { "All", "All system sources, binaries and X Window System)",
553 checkDistEverything, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
554 { "Reset", "Reset selected distribution list to nothing",
555 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
556 { "4 Developer", "Full sources, binaries and doc but no games",
557 checkDistDeveloper, distSetDeveloper },
558 { "5 X-Developer", "Same as above + X Window System",
559 checkDistXDeveloper, distSetXDeveloper },
560 { "6 Kern-Developer", "Full binaries and doc, kernel sources only",
561 checkDistKernDeveloper, distSetKernDeveloper },
562 { "7 X-Kern-Developer", "Same as above + X Window System",
563 checkDistXKernDeveloper, distSetXKernDeveloper },
564 { "8 User", "Average user - binaries and doc only",
565 checkDistUser, distSetUser },
566 { "9 X-User", "Same as above + X Window System",
567 checkDistXUser, distSetXUser },
568 { "A Minimal", "The smallest configuration possible",
569 checkDistMinimum, distSetMinimum },
570 { "B Custom", "Specify your own distribution set",
571 NULL, dmenuSubmenu, NULL, &MenuSubDistributions, '>', '>', '>' },
575 DMenu MenuSubDistributions = {
576 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
577 "Select the distributions you wish to install.",
578 "Please check off the distributions you wish to install. At the\n"
579 "very minimum, this should be \"bin\".",
582 { { "X Exit", "Exit this menu (returning to previous)",
583 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
584 { "All", "All system sources, binaries and X Window System",
585 NULL, distSetEverything, NULL, NULL, ' ', ' ', ' ' },
586 { "Reset", "Reset all of the below",
587 NULL, distReset, NULL, NULL, ' ', ' ', ' ' },
588 { " bin", "Binary base distribution (required)",
589 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_BIN },
591 { " compat1x", "FreeBSD 1.x binary compatibility",
592 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT1X },
593 { " compat20", "FreeBSD 2.0 binary compatibility",
594 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT20 },
595 { " compat21", "FreeBSD 2.1 binary compatibility",
596 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT21 },
597 { " compat22", "FreeBSD 2.2.x and 3.0 a.out binary compatibility",
598 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT22 },
600 { " compat3x", "FreeBSD 3.x binary compatibility",
601 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT3X },
604 { " compat4x", "FreeBSD 4.x binary compatibility",
605 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_COMPAT4X },
608 { " crypto", "Basic encryption services",
609 dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_CRYPTO, },
610 { " krb5", "Kerberos5 authentication services",
611 dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_KERBEROS5 },
612 { " dict", "Spelling checker dictionary files",
613 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DICT },
614 { " doc", "Miscellaneous FreeBSD online docs",
615 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_DOC },
616 { " games", "Games (non-commercial)",
617 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_GAMES },
618 { " info", "GNU info files",
619 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_INFO },
620 { " man", "System manual pages - recommended",
621 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_MANPAGES },
622 { " catman", "Preformatted system manual pages",
623 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_CATPAGES },
624 { " proflibs", "Profiled versions of the libraries",
625 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PROFLIBS },
626 { " src", "Sources for everything",
627 srcFlagCheck, distSetSrc },
628 { " ports", "The FreeBSD Ports collection",
629 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_PORTS },
630 { " local", "Local additions collection",
631 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_LOCAL},
632 { " XFree86", "The XFree86 distribution",
634 dmenuFlagCheck, dmenuSetFlag, NULL, &Dists, '[', 'X', ']', DIST_XF86 },
636 x11FlagCheck, distSetXF86 },
641 DMenu MenuSrcDistributions = {
642 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
643 "Select the sub-components of src you wish to install.",
644 "Please check off those portions of the FreeBSD source tree\n"
645 "you wish to install.",
648 { { "X Exit", "Exit this menu (returning to previous)",
649 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
650 { "All", "Select all of the below",
651 NULL, setSrc, NULL, NULL, ' ', ' ', ' ' },
652 { "Reset", "Reset all of the below",
653 NULL, clearSrc, NULL, NULL, ' ', ' ', ' ' },
654 { " base", "top-level files in /usr/src",
655 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BASE },
656 { " contrib", "/usr/src/contrib (contributed software)",
657 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_CONTRIB },
658 { " gnu", "/usr/src/gnu (software from the GNU Project)",
659 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GNU },
660 { " etc", "/usr/src/etc (miscellaneous system files)",
661 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_ETC },
662 { " games", "/usr/src/games (the obvious!)",
663 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_GAMES },
664 { " include", "/usr/src/include (header files)",
665 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_INCLUDE },
666 { " lib", "/usr/src/lib (system libraries)",
667 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIB },
668 { " libexec", "/usr/src/libexec (system programs)",
669 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_LIBEXEC },
670 { " release", "/usr/src/release (release-generation tools)",
671 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_RELEASE },
672 { " bin", "/usr/src/bin (system binaries)",
673 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_BIN },
674 { " sbin", "/usr/src/sbin (system binaries)",
675 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SBIN },
676 { " scrypto", "/usr/src/crypto (contrib encryption sources)",
677 dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_SCRYPTO },
678 { " share", "/usr/src/share (documents and shared files)",
679 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SHARE },
680 { " skrb5", "/usr/src/kerberos5 (sources for Kerberos5)",
681 dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_SKERBEROS5 },
682 { " ssecure", "/usr/src/secure (BSD encryption sources)",
683 dmenuFlagCheck, dmenuSetFlag, NULL, &CRYPTODists, '[', 'X', ']', DIST_CRYPTO_SSECURE },
684 { " sys", "/usr/src/sys (FreeBSD kernel)",
685 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_SYS },
686 { " tools", "/usr/src/tools (miscellaneous tools)",
687 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_TOOLS },
688 { " ubin", "/usr/src/usr.bin (user binaries)",
689 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_UBIN },
690 { " usbin", "/usr/src/usr.sbin (aux system binaries)",
691 dmenuFlagCheck, dmenuSetFlag, NULL, &SrcDists, '[', 'X', ']', DIST_SRC_USBIN },
695 DMenu MenuXF86Config = {
696 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
697 "Please select the XFree86 configuration tool you want to use.",
698 "The first option, xf86cfg, is fully graphical.\n"
699 "The second option provides a menu-based interface similar to\n"
700 "what you are currently using. "
701 "The third option, xf86config, is\n"
702 "a more simplistic shell-script based tool and less friendly to\n"
703 "new users, but it may work in situations where the other options\n"
707 { { "X Exit", "Exit this menu (returning to previous)",
709 { "2 xf86cfg", "Fully graphical XFree86 configuration tool.",
710 NULL, dmenuSetVariable, NULL, VAR_XF86_CONFIG "=xf86cfg" },
711 { "3 xf86cfg -textmode", "ncurses-based XFree86 configuration tool.",
712 NULL, dmenuSetVariable, NULL, VAR_XF86_CONFIG "=xf86cfg -textmode" },
713 { "4 xf86config", "Shell-script based XFree86 configuration tool.",
714 NULL, dmenuSetVariable, NULL, VAR_XF86_CONFIG "=xf86config" },
715 { "D XDesktop", "X already set up, just do desktop configuration.",
716 NULL, dmenuSubmenu, NULL, &MenuXDesktops },
720 DMenu MenuXDesktops = {
721 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
722 "Please select the default X desktop to use.",
723 "By default, XFree86 comes with a fairly vanilla desktop which\n"
724 "is based around the twm(1) window manager and does not offer\n"
725 "much in the way of features. It does have the advantage of\n"
726 "being a standard part of X so you don't need to load anything\n"
727 "extra in order to use it. If, however, you have access to a\n"
728 "reasonably full packages collection on your installation media,\n"
729 "you can choose any one of the following desktops as alternatives.",
732 { { "X Exit", "Exit this menu (returning to previous)",
734 { "2 KDE", "The K Desktop Environment.",
735 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=kde" },
736 { "3 GNOME 2", "The GNOME 2 Desktop Environment",
737 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=gnome2" },
738 { "4 Afterstep", "The Afterstep window manager",
739 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=afterstep" },
740 { "5 Windowmaker", "The Windowmaker window manager",
741 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=windowmaker" },
742 { "6 fvwm", "The fvwm window manager",
743 NULL, dmenuSetVariable, NULL, VAR_DESKSTYLE "=fvwm2" },
747 DMenu MenuXF86Select = {
749 "XFree86 Distribution",
750 "Please select the components you need from the XFree86\n"
751 "distribution sets.",
754 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
755 { "Basic", "Basic component menu (required)", NULL, dmenuSubmenu, NULL, &MenuXF86SelectCore },
756 { "Server", "X server menu", NULL, dmenuSubmenu, NULL, &MenuXF86SelectServer },
757 { "Fonts", "Font set menu", NULL, dmenuSubmenu, NULL, &MenuXF86SelectFonts },
761 DMenu MenuXF86SelectCore = {
762 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
763 "XFree86 base distribution types",
764 "Please check off the basic XFree86 components you wish to install.\n"
765 "Bin, lib, and set are recommended for a minimum installaion.",
768 { { "X Exit", "Exit this menu (returning to previous)",
769 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
770 { "All", "Select all below",
771 NULL, setX11Misc, NULL, NULL, ' ', ' ', ' ' },
772 { "Reset", "Reset all below",
773 NULL, clearX11Misc, NULL, NULL, ' ', ' ', ' ' },
774 { " bin", "Client applications and shared libs",
775 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_BIN },
776 { " lib", "Data files needed at runtime",
777 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_LIB },
778 { " cfg", "Configuration files",
779 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_CFG },
780 { " set", "XFree86 Setup Utility",
781 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_SET },
782 { " man", "Manual pages",
783 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_MAN },
784 { " doc", "READMEs and release notes",
785 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_DOC },
786 { " html", "HTML documentation files",
787 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_HTML },
788 { " lkit", "Server link kit for all other machines",
789 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_LKIT },
790 { " prog", "Programmer's header and library files",
791 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_PROG },
792 #if defined(__i386__) && defined(PC98)
793 { " 9set", "XFree86 Setup Utility for PC98 machines",
794 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_9SET },
795 { " lk98", "Server link kit for PC98 machines",
796 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86Dists, '[', 'X', ']', DIST_XF86_LKIT98 },
801 DMenu MenuXF86SelectFonts = {
802 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
803 "Font distribution selection.",
804 "Please check off the individual font distributions you wish to\n\
805 install. At the minimum, you should install the standard\n\
806 75 DPI and misc fonts if you're also installing a server\n\
807 (these are selected by default).",
810 { { "X Exit", "Exit this menu (returning to previous)",
811 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
812 { "All", "All fonts",
813 NULL, setX11Fonts, NULL, NULL, ' ', ' ', ' ' },
814 { "Reset", "Reset font selections",
815 NULL, clearX11Fonts, NULL, NULL, ' ', ' ', ' ' },
816 { " fnts", "Standard 75 DPI and miscellaneous fonts",
817 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_MISC },
818 { " f100", "100 DPI fonts",
819 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_100 },
820 { " fcyr", "Cyrillic Fonts",
821 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_CYR },
822 { " fscl", "Speedo and Type scalable fonts",
823 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_SCALE },
824 { " non", "Japanese, Chinese and other non-english fonts",
825 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_NON },
826 { " server", "Font server",
827 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86FontDists, '[', 'X', ']', DIST_XF86_FONTS_SERVER },
831 DMenu MenuXF86SelectServer = {
832 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
833 "X Server selection.",
834 "Please check off the types of X servers you wish to install.\n"
835 "If you are unsure as to which server will work for your graphics card,\n"
836 "it is recommended that try the SVGA or VGA16 servers or, for PC98\n"
837 "machines, the 9EGC or 9840 servers.",
840 { { "X Exit", "Exit this menu (returning to previous)",
841 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
842 { "All", "Select all of the above",
843 NULL, setX11Servers, NULL, NULL, ' ', ' ', ' ' },
844 { "Reset", "Reset all of the above",
845 NULL, clearX11Servers, NULL, NULL, ' ', ' ', ' ' },
846 { " SVGA", "Standard VGA or Super VGA card",
847 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_SVGA },
848 { " VGA16", "Standard 16 color VGA card",
849 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_VGA16 },
850 { " Mono", "Standard Monochrome card",
851 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_MONO },
852 { " 3DL", "8, 16 and 24 bit color 3D Labs boards",
853 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_3DL },
854 { " 8514", "8-bit (256 color) IBM 8514 or compatible card",
855 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_8514 },
856 { " AGX", "8-bit AGX card",
857 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_AGX },
858 { " I128", "8, 16 and 24-bit #9 Imagine I128 card",
859 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_I128 },
860 { " Ma8", "8-bit ATI Mach8 card",
861 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_MACH8 },
862 { " Ma32", "8 and 16-bit (65K color) ATI Mach32 card",
863 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_MACH32 },
864 { " Ma64", "8 and 16-bit (65K color) ATI Mach64 card",
865 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_MACH64 },
866 { " P9K", "8, 16, and 24-bit color Weitek P9000 based boards",
867 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_P9000 },
868 { " S3", "8, 16 and 24-bit color S3 based boards",
869 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_S3 },
870 { " S3V", "8, 16 and 24-bit color S3 Virge based boards",
871 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_S3V },
872 { " W32", "8-bit ET4000/W32, /W32i and /W32p cards",
873 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_W32 },
874 #if defined(__i386__) && defined(PC98)
875 { " PC98", "Select an X server for a NEC PC98 [Submenu]",
876 NULL, dmenuSubmenu, NULL, &MenuXF86SelectPC98Server, '>', ' ', '>', 0 },
878 { " TGA", "TGA cards (alpha architecture only)",
879 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_TGA },
884 #if defined(__i386__) && defined(PC98)
885 DMenu MenuXF86SelectPC98Server = {
886 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
887 "PC98 X Server selection.",
888 "Please check off the types of NEC PC98 X servers you wish to install.\n\
889 If you are unsure as to which server will work for your graphics card,\n\
890 it is recommended that try the SVGA or VGA16 servers (the VGA16 and\n\
891 Mono servers are particularly well-suited to most LCD displays).",
894 { { " 9480", "PC98 8-bit (256 color) PEGC-480 card",
895 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9480 },
896 { " 9EGC", "PC98 4-bit (16 color) EGC card",
897 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9EGC },
898 { " 9GA9", "PC98 GA-968V4/PCI (S3 968) card",
899 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9GA9 },
900 { " 9GAN", "PC98 GANB-WAP (cirrus) card",
901 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9GAN },
902 { " 9LPW", "PC98 PowerWindowLB (S3) card",
903 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9LPW },
904 { " 9MGA", "PC98 MGA (Matrox) card",
905 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9MGA },
906 { " 9NKV", "PC98 NKV-NEC (cirrus) card",
907 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9NKV },
908 { " 9NS3", "PC98 NEC (S3) card",
909 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9NS3 },
910 { " 9SPW", "PC98 SKB-PowerWindow (S3) card",
911 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9SPW },
912 { " 9SVG", "PC98 generic SVGA card",
913 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9SVG },
914 { " 9TGU", "PC98 Cyber9320 and TGUI9680 cards",
915 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9TGU },
916 { " 9WEP", "PC98 WAB-EP (cirrus) card",
917 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9WEP },
918 { " 9WS", "PC98 WABS (cirrus) card",
919 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9WS },
920 { " 9WSN", "PC98 WSN-A2F (cirrus) card",
921 dmenuFlagCheck, dmenuSetFlag, NULL, &XF86ServerDists, '[', 'X', ']', DIST_XF86_SERVER_9WSN },
926 DMenu MenuDiskDevices = {
927 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
929 "Please select the drive, or drives, on which you wish to perform\n"
930 "this operation. If you are attempting to install a boot partition\n"
931 "on a drive other than the first one or have multiple operating\n"
932 "systems on your machine, you will have the option to install a boot\n"
933 "manager later. To select a drive, use the arrow keys to move to it\n"
934 "and press [SPACE] or [ENTER]. To de-select it, press it again.\n\n"
935 "Use [TAB] to get to the buttons and leave this menu.",
936 "Press F1 for important information regarding disk geometry!",
941 DMenu MenuHTMLDoc = {
943 "Select HTML Documentation pointer",
944 "Please select the body of documentation you're interested in, the main\n"
945 "ones right now being the FAQ and the Handbook. You can also choose \"other\"\n"
946 "to enter an arbitrary URL for browsing.",
947 "Press F1 for more help on what you see here.",
949 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
950 { "2 Handbook", "The FreeBSD Handbook.", NULL, docShowDocument },
951 { "3 FAQ", "The Frequently Asked Questions guide.", NULL, docShowDocument },
952 { "4 Home", "The Home Pages for the FreeBSD Project (requires net)", NULL, docShowDocument },
953 { "5 Other", "Enter a URL.", NULL, docShowDocument },
957 /* The main installation menu */
958 DMenu MenuInstallCustom = {
960 "Choose Custom Installation Options",
961 "This is the custom installation menu. You may use this menu to specify\n"
962 "details on the type of distribution you wish to have, where you wish\n"
963 "to install it from and how you wish to allocate disk storage to FreeBSD.",
964 "Press F1 to read the installation guide",
966 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
967 { "2 Options", "View/Set various installation options", NULL, optionsEditor },
969 { "3 Label", "Label disk partitions", NULL, diskLabelEditor },
970 { "4 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
971 { "5 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
972 { "6 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
974 { "3 Partition", "Allocate disk space for FreeBSD", NULL, diskPartitionEditor },
975 { "4 Label", "Label allocated disk partitions", NULL, diskLabelEditor },
976 { "5 Distributions", "Select distribution(s) to extract", NULL, dmenuSubmenu, NULL, &MenuDistributions },
977 { "6 Media", "Choose the installation media type", NULL, dmenuSubmenu, NULL, &MenuMedia },
978 { "7 Commit", "Perform any pending Partition/Label/Extract actions", NULL, installCustomCommit },
984 DMenu MenuMBRType = {
985 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
986 "overwrite me", /* will be disk specific label */
987 "FreeBSD comes with a boot selector that allows you to easily\n"
988 "select between FreeBSD and any other operating systems on your machine\n"
989 "at boot time. If you have more than one drive and want to boot\n"
990 "from the second one, the boot selector will also make it possible\n"
991 "to do so (limitations in the PC BIOS usually prevent this otherwise).\n"
992 "If you do not want a boot selector, or wish to replace an existing\n"
993 "one, select \"standard\". If you would prefer your Master Boot\n"
994 "Record to remain untouched then select \"None\".\n\n"
995 " NOTE: PC-DOS users will almost certainly require \"None\"!",
996 "Press F1 to read about drive setup",
998 { { "BootMgr", "Install the FreeBSD Boot Manager",
999 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr },
1001 { "Standard", "Install a standard MBR (no boot manager)",
1002 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 1 },
1004 { "None", "Leave the Master Boot Record untouched",
1005 dmenuRadioCheck, dmenuSetValue, NULL, &BootMgr, '(', '*', ')', 2 },
1009 /* Final configuration menu */
1010 DMenu MenuConfigure = {
1012 "FreeBSD Configuration Menu", /* title */
1013 "If you've already installed FreeBSD, you may use this menu to customize\n"
1014 "it somewhat to suit your particular configuration. Most importantly,\n"
1015 "you can use the Packages utility to load extra \"3rd party\"\n"
1016 "software not provided in the base distributions.",
1017 "Press F1 for more information on these options",
1019 { { "X Exit", "Exit this menu (returning to previous)",
1021 { " Distributions", "Install additional distribution sets",
1022 NULL, distExtractAll },
1023 { " Packages", "Install pre-packaged software for FreeBSD",
1024 NULL, configPackages },
1025 { " Root Password", "Set the system manager's password",
1026 NULL, dmenuSystemCommand, NULL, "passwd root" },
1028 { " Fdisk", "The disk Slice (PC-style partition) Editor",
1029 NULL, diskPartitionEditor },
1031 { " Label", "The disk Label editor",
1032 NULL, diskLabelEditor },
1033 { " User Management", "Add user and group information",
1034 NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
1035 { " Console", "Customize system console behavior",
1036 NULL, dmenuSubmenu, NULL, &MenuSyscons },
1037 { " Time Zone", "Set which time zone you're in",
1038 NULL, dmenuSystemCommand, NULL, "tzsetup" },
1039 { " Media", "Change the installation media type",
1040 NULL, dmenuSubmenu, NULL, &MenuMedia },
1041 { " Mouse", "Configure your mouse",
1042 NULL, dmenuSubmenu, NULL, &MenuMouse, NULL },
1043 { " Networking", "Configure additional network services",
1044 NULL, dmenuSubmenu, NULL, &MenuNetworking },
1045 { " Security", "Select default system security profile",
1046 NULL, dmenuSubmenu, NULL, &MenuSecurityProfile },
1047 { " Startup", "Configure system startup options",
1048 NULL, dmenuSubmenu, NULL, &MenuStartup },
1049 { " TTYs", "Configure system ttys.",
1050 NULL, configEtcTtys, NULL, "ttys" },
1051 { " Options", "View/Set various installation options",
1052 NULL, optionsEditor },
1053 { " XFree86", "Configure XFree86 Server",
1054 NULL, configXSetup },
1055 { " Desktop", "Configure XFree86 Desktop",
1056 NULL, configXDesktop },
1057 { " HTML Docs", "Go to the HTML documentation menu (post-install)",
1059 { " Load KLD", "Load a KLD from a floppy",
1064 DMenu MenuStartup = {
1065 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1066 "Startup Services Menu",
1067 "This menu allows you to configure various aspects of your system's\n"
1068 "startup configuration. Use [SPACE] or [ENTER] to select items, and\n"
1069 "[TAB] to move to the buttons. Select Exit to leave this menu.",
1072 { { "X Exit", "Exit this menu (returning to previous)",
1073 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1074 { " APM", "Auto-power management services (typically laptops)",
1075 dmenuVarCheck, dmenuToggleVariable, NULL, "apm_enable=YES" },
1077 { " pccard", "Enable PCCARD (AKA PCMCIA) services (also laptops)",
1078 dmenuVarCheck, dmenuToggleVariable, NULL, "pccard_enable=YES" },
1079 { " pccard mem", "Set PCCARD memory address (if enabled)",
1080 dmenuVarCheck, dmenuISetVariable, NULL, "pccard_mem" },
1081 { " pccard ifconfig", "List of PCCARD ethernet devices to configure",
1082 dmenuVarCheck, dmenuISetVariable, NULL, "pccard_ifconfig" },
1084 { " usbd", "Enable USB daemon (detect USB attach / detach)",
1085 dmenuVarCheck, dmenuToggleVariable, NULL, "usbd_enable=YES" },
1086 { " usbd flags", "Set default flags to usbd (if enabled)",
1087 dmenuVarCheck, dmenuISetVariable, NULL, "usbd_flags" },
1088 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1089 { " startup dirs", "Set the list of dirs to look for startup scripts",
1090 dmenuVarCheck, dmenuISetVariable, NULL, "local_startup" },
1091 { " named", "Run a local name server on this host",
1092 dmenuVarCheck, dmenuToggleVariable, NULL, "named_enable=YES" },
1093 { " named flags", "Set default flags to named (if enabled)",
1094 dmenuVarCheck, dmenuISetVariable, NULL, "named_flags" },
1095 { " nis client", "This host wishes to be an NIS client.",
1096 dmenuVarCheck, dmenuToggleVariable, NULL, "nis_client_enable=YES" },
1097 { " nis domainname", "Set NIS domainname (if enabled)",
1098 dmenuVarCheck, dmenuISetVariable, NULL, "nisdomainname" },
1099 { " nis server", "This host wishes to be an NIS server.",
1100 dmenuVarCheck, dmenuToggleVariable, NULL, "nis_server_enable=YES" },
1101 { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' },
1102 { " accounting", "This host wishes to run process accounting.",
1103 dmenuVarCheck, dmenuToggleVariable, NULL, "accounting_enable=YES" },
1104 { " lpd", "This host has a printer and wants to run lpd.",
1105 dmenuVarCheck, dmenuToggleVariable, NULL, "lpd_enable=YES" },
1107 { " linux", "This host wants to be able to run linux binaries.",
1108 dmenuVarCheck, configLinux, NULL, VAR_LINUX_ENABLE "=YES" },
1109 { " SVR4", "This host wants to be able to run SVR4 binaries.",
1110 dmenuVarCheck, dmenuToggleVariable, NULL, "svr4_enable=YES" },
1111 { " SCO", "This host wants to be able to run IBCS2 binaries.",
1112 dmenuVarCheck, dmenuToggleVariable, NULL, "ibcs2_enable=YES" },
1114 { " OSF/1", "This host wants to be able to run DEC OSF/1 binaries.",
1115 dmenuVarCheck, dmenuToggleVariable, NULL, "osf1_enable=YES" },
1117 { " quotas", "This host wishes to check quotas on startup.",
1118 dmenuVarCheck, dmenuToggleVariable, NULL, "check_quotas=YES" },
1122 DMenu MenuNetworking = {
1123 DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
1124 "Network Services Menu",
1125 "You may have already configured one network device (and the other\n"
1126 "various hostname/gateway/name server parameters) in the process\n"
1127 "of installing FreeBSD. This menu allows you to configure other\n"
1128 "aspects of your system's network configuration.",
1131 { { "X Exit", "Exit this menu (returning to previous)",
1132 checkTrue, dmenuExit, NULL, NULL, '<', '<', '<' },
1133 { " Interfaces", "Configure additional network interfaces",
1134 NULL, tcpMenuSelect },
1135 { " AMD", "This machine wants to run the auto-mounter service",
1136 dmenuVarCheck, dmenuToggleVariable, NULL, "amd_enable=YES" },
1137 { " AMD Flags", "Set flags to AMD service (if enabled)",
1138 dmenuVarCheck, dmenuISetVariable, NULL, "amd_flags" },
1139 { " Anon FTP", "This machine wishes to allow anonymous FTP.",
1140 dmenuVarCheck, configAnonFTP, NULL, "anon_ftp" },
1141 { " Gateway", "This machine will route packets between interfaces",
1142 dmenuVarCheck, dmenuToggleVariable, NULL, "gateway_enable=YES" },
1143 { " inetd", "This machine wants to run the inet daemon",
1144 dmenuVarCheck, configInetd, NULL, "inetd_enable=YES" },
1145 { " NFS client", "This machine will be an NFS client",
1146 dmenuVarCheck, dmenuToggleVariable, NULL, "nfs_client_enable=YES" },
1147 { " NFS server", "This machine will be an NFS server",
1148 dmenuVarCheck, configNFSServer, NULL, "nfs_server_enable=YES" },
1149 { " Ntpdate", "Select a clock-synchronization server",
1150 dmenuVarCheck, dmenuSubmenu, NULL, &MenuNTP, '[', 'X', ']', "ntpdate_enable=YES" },
1151 { " PCNFSD", "Run authentication server for clients with PC-NFS.",
1152 dmenuVarCheck, configPCNFSD, NULL, "pcnfsd" },
1153 { " portmap", "This machine wants to run the portmapper daemon",
1154 dmenuVarCheck, dmenuToggleVariable, NULL, "portmap_enable=YES" },
1155 { " Routed", "Select routing daemon (default: routed)",
1156 dmenuVarCheck, configRouter, NULL, "router_enable=YES" },
1157 { " Rwhod", "This machine wants to run the rwho daemon",
1158 dmenuVarCheck, dmenuToggleVariable, NULL, "rwhod_enable=YES" },
1159 { " Sendmail", "This machine wants to run the sendmail daemon",
1160 NULL, dmenuSubmenu, NULL, &MenuSendmail },
1161 { " Sshd", "This machine wants to run the ssh daemon",
1162 dmenuVarCheck, dmenuToggleVariable, NULL, "sshd_enable=YES" },
1163 { " TCP Extensions", "Allow RFC1323 and RFC1644 TCP extensions?",
1164 dmenuVarCheck, dmenuToggleVariable, NULL, "tcp_extensions=YES" },
1168 DMenu MenuSendmail = {
1169 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1170 "Sendmail Invocation Selection",
1171 "There are three options for invoking sendmail at startup.\n"
1172 "Please select Yes if you want to use sendmail as your mail transfer\n"
1173 "agent. Selecting No disables sendmail's network socket for incoming\n"
1174 "email, but still enables sendmail for local and outbound mail.\n"
1175 "None disables sendmail completely at startup and disables inbound,\n"
1176 "outbound, and local mail. See /etc/mail/README for more\n"
1181 { " Yes", "Start sendmail",
1182 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=YES" },
1183 { " No", "Start sendmail, but don't listen from network",
1184 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NO" },
1185 { " None", "Don't start any sendmail processes",
1186 dmenuVarCheck, dmenuSetVariable, NULL, "sendmail_enable=NONE" },
1191 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1192 "NTPDATE Server Selection",
1193 "There are a number of time synchronization servers available\n"
1194 "for public use around the Internet. Please select one reasonably\n"
1195 "close to you to have your system time synchronized accordingly.",
1196 "These are the primary open-access NTP servers",
1198 { { "None", "No NTP server",
1199 dmenuVarsCheck, dmenuSetVariables, NULL,
1200 "ntpdate_enable=NO,ntpdate_flags=none" },
1201 { "Other", "Select a site not on this list",
1202 dmenuVarsCheck, configNTP, NULL, NULL },
1203 { "Argentina", "tick.nap.com.ar",
1204 dmenuVarsCheck, dmenuSetVariables, NULL,
1205 "ntpdate_enable=YES,ntpdate_flags=tick.nap.com.ar" },
1206 { "Argentina #2", "time.sinectis.com.ar",
1207 dmenuVarsCheck, dmenuSetVariables, NULL,
1208 "ntpdate_enable=YES,ntpdate_flags=time.sinectis.com.ar" },
1209 { "Argentina #3", "tock.nap.com.ar",
1210 dmenuVarsCheck, dmenuSetVariables, NULL,
1211 "ntpdate_enable=YES,ntpdate_flags=tock.nap.com.ar" },
1212 { "Australia", "augean.eleceng.adelaide.edu.au",
1213 dmenuVarsCheck, dmenuSetVariables, NULL,
1214 "ntpdate_enable=YES,ntpdate_flags=augean.eleceng.adelaide.edu.au" },
1215 { "Australia #2", "ntp.adelaide.edu.au",
1216 dmenuVarsCheck, dmenuSetVariables, NULL,
1217 "ntpdate_enable=YES,ntpdate_flags=ntp.adelaide.edu.au" },
1218 { "Australia #3", "ntp.saard.net",
1219 dmenuVarsCheck, dmenuSetVariables, NULL,
1220 "ntpdate_enable=YES,ntpdate_flags=ntp.saard.net" },
1221 { "Australia #4", "time.deakin.edu.au",
1222 dmenuVarsCheck, dmenuSetVariables, NULL,
1223 "ntpdate_enable=YES,ntpdate_flags=time.deakin.edu.au" },
1224 { "Australia #5", "time.esec.com.au",
1225 dmenuVarsCheck, dmenuSetVariables, NULL,
1226 "ntpdate_enable=YES,ntpdate_flags=time.esec.com.au" },
1227 { "Belgium", "ntp1.belbone.be",
1228 dmenuVarsCheck, dmenuSetVariables, NULL,
1229 "ntpdate_enable=YES,ntpdate_flags=ntp1.belbone.be" },
1230 { "Belgium #2", "ntp2.belbone.be",
1231 dmenuVarsCheck, dmenuSetVariables, NULL,
1232 "ntpdate_enable=YES,ntpdate_flags=ntp2.belbone.be" },
1233 { "Brazil", "ntp.cais.rnp.br",
1234 dmenuVarsCheck, dmenuSetVariables, NULL,
1235 "ntpdate_enable=YES,ntpdate_flags=ntp.cais.rnp.br" },
1236 { "Brazil #2", "ntp.pop-df.rnp.br",
1237 dmenuVarsCheck, dmenuSetVariables, NULL,
1238 "ntpdate_enable=YES,ntpdate_flags=ntp.pop-df.rnp.br" },
1239 { "Brazil #3", "ntp.ufes.br",
1240 dmenuVarsCheck, dmenuSetVariables, NULL,
1241 "ntpdate_enable=YES,ntpdate_flags=ntp.ufes.br" },
1242 { "Brazil #4", "ntp1.pucpr.br",
1243 dmenuVarsCheck, dmenuSetVariables, NULL,
1244 "ntpdate_enable=YES,ntpdate_flags=ntp1.pucpr.br" },
1245 { "Canada", "ntp.cpsc.ucalgary.ca",
1246 dmenuVarsCheck, dmenuSetVariables, NULL,
1247 "ntpdate_enable=YES,ntpdate_flags=ntp.cpsc.ucalgary.ca" },
1248 { "Canada #2", "ntp1.cmc.ec.gc.ca",
1249 dmenuVarsCheck, dmenuSetVariables, NULL,
1250 "ntpdate_enable=YES,ntpdate_flags=ntp1.cmc.ec.gc.ca" },
1251 { "Canada #3", "ntp2.cmc.ec.gc.ca",
1252 dmenuVarsCheck, dmenuSetVariables, NULL,
1253 "ntpdate_enable=YES,ntpdate_flags=ntp2.cmc.ec.gc.ca" },
1254 { "Canada #4", "tick.utoronto.ca",
1255 dmenuVarsCheck, dmenuSetVariables, NULL,
1256 "ntpdate_enable=YES,ntpdate_flags=tick.utoronto.ca" },
1257 { "Canada #5", "time.chu.nrc.ca",
1258 dmenuVarsCheck, dmenuSetVariables, NULL,
1259 "ntpdate_enable=YES,ntpdate_flags=time.chu.nrc.ca" },
1260 { "Canada #6", "time.nrc.ca",
1261 dmenuVarsCheck, dmenuSetVariables, NULL,
1262 "ntpdate_enable=YES,ntpdate_flags=time.nrc.ca" },
1263 { "Canada #7", "timelord.uregina.ca",
1264 dmenuVarsCheck, dmenuSetVariables, NULL,
1265 "ntpdate_enable=YES,ntpdate_flags=timelord.uregina.ca" },
1266 { "Canada #8", "tock.utoronto.ca",
1267 dmenuVarsCheck, dmenuSetVariables, NULL,
1268 "ntpdate_enable=YES,ntpdate_flags=tock.utoronto.ca" },
1269 { "Czech", "ntp.karpo.cz",
1270 dmenuVarsCheck, dmenuSetVariables, NULL,
1271 "ntpdate_enable=YES,ntpdate_flags=ntp.karpo.cz" },
1272 { "Denmark", "clock.netcetera.dk",
1273 dmenuVarsCheck, dmenuSetVariables, NULL,
1274 "ntpdate_enable=YES,ntpdate_flags=clock.netcetera.dk" },
1275 { "Denmark", "clock2.netcetera.dk",
1276 dmenuVarsCheck, dmenuSetVariables, NULL,
1277 "ntpdate_enable=YES,ntpdate_flags=clock2.netcetera.dk" },
1278 { "Spain", "slug.ctv.es",
1279 dmenuVarsCheck, dmenuSetVariables, NULL,
1280 "ntpdate_enable=YES,ntpdate_flags=slug.ctv.es" },
1281 { "Finland", "tick.keso.fi",
1282 dmenuVarsCheck, dmenuSetVariables, NULL,
1283 "ntpdate_enable=YES,ntpdate_flags=tick.keso.fi" },
1284 { "Finland #2", "tock.keso.fi",
1285 dmenuVarsCheck, dmenuSetVariables, NULL,
1286 "ntpdate_enable=YES,ntpdate_flags=tock.keso.fi" },
1287 { "France", "ntp.obspm.fr",
1288 dmenuVarsCheck, dmenuSetVariables, NULL,
1289 "ntpdate_enable=YES,ntpdate_flags=ntp.obspm.fr" },
1290 { "France #2", "ntp.univ-lyon1.fr",
1291 dmenuVarsCheck, dmenuSetVariables, NULL,
1292 "ntpdate_enable=YES,ntpdate_flags=ntp.univ-lyon1.fr" },
1293 { "France #3", "ntp.via.ecp.fr",
1294 dmenuVarsCheck, dmenuSetVariables, NULL,
1295 "ntpdate_enable=YES,ntpdate_flags=ntp.via.ecp.fr" },
1296 { "Croatia", "zg1.ntp.carnet.hr",
1297 dmenuVarsCheck, dmenuSetVariables, NULL,
1298 "ntpdate_enable=YES,ntpdate_flags=zg1.ntp.carnet.hr" },
1299 { "Croatia #2", "zg2.ntp.carnet.hr",
1300 dmenuVarsCheck, dmenuSetVariables, NULL,
1301 "ntpdate_enable=YES,ntpdate_flags=zg2.ntp.carnet.hr" },
1302 { "Croatia #3", "st.ntp.carnet.hr",
1303 dmenuVarsCheck, dmenuSetVariables, NULL,
1304 "ntpdate_enable=YES,ntpdate_flags=st.ntp.carnet.hr" },
1305 { "Croatia #4", "ri.ntp.carnet.hr",
1306 dmenuVarsCheck, dmenuSetVariables, NULL,
1307 "ntpdate_enable=YES,ntpdate_flags=ri.ntp.carnet.hr" },
1308 { "Croatia #5", "os.ntp.carnet.hr",
1309 dmenuVarsCheck, dmenuSetVariables, NULL,
1310 "ntpdate_enable=YES,ntpdate_flags=os.ntp.carnet.hr" },
1311 { "Hungary", "time.kfki.hu",
1312 dmenuVarsCheck, dmenuSetVariables, NULL,
1313 "ntpdate_enable=YES,ntpdate_flags=time.kfki.hu" },
1314 { "Indonesia", "ntp.incaf.net",
1315 dmenuVarsCheck, dmenuSetVariables, NULL,
1316 "ntpdate_enable=YES,ntpdate_flags=ntp.incaf.net" },
1317 { "Ireland", "ntp.maths.tcd.ie",
1318 dmenuVarsCheck, dmenuSetVariables, NULL,
1319 "ntpdate_enable=YES,ntpdate_flags=ntp.maths.tcd.ie" },
1320 { "Italy", "ntps.net4u.it",
1321 dmenuVarsCheck, dmenuSetVariables, NULL,
1322 "ntpdate_enable=YES,ntpdate_flags=" },
1323 { "Japan", "ntp.cyber-fleet.net",
1324 dmenuVarsCheck, dmenuSetVariables, NULL,
1325 "ntpdate_enable=YES,ntpdate_flags=ntp.cyber-fleet.net" },
1326 { "Korea", "time.nuri.net",
1327 dmenuVarsCheck, dmenuSetVariables, NULL,
1328 "ntpdate_enable=YES,ntpdate_flags=time.nuri.net" },
1329 { "Mexico", "ntp2a.audiotel.com.mx",
1330 dmenuVarsCheck, dmenuSetVariables, NULL,
1331 "ntpdate_enable=YES,ntpdate_flags=ntp2a.audiotel.com.mx" },
1332 { "Mexico #2", "ntp2b.audiotel.com.mx",
1333 dmenuVarsCheck, dmenuSetVariables, NULL,
1334 "ntpdate_enable=YES,ntpdate_flags=ntp2b.audiotel.com.mx" },
1335 { "Mexico #3", "ntp2c.audiotel.com.mx",
1336 dmenuVarsCheck, dmenuSetVariables, NULL,
1337 "ntpdate_enable=YES,ntpdate_flags=ntp2c.audiotel.com.mx" },
1338 { "Nigeria", "ntp.supernet300.com",
1339 dmenuVarsCheck, dmenuSetVariables, NULL,
1340 "ntpdate_enable=YES,ntpdate_flags=ntp.supernet300.com" },
1341 { "Netherlands", "ntp1.theinternetone.net",
1342 dmenuVarsCheck, dmenuSetVariables, NULL,
1343 "ntpdate_enable=YES,ntpdate_flags=ntp1.theinternetone.net" },
1344 { "Netherlands #2", "ntp2.theinternetone.net",
1345 dmenuVarsCheck, dmenuSetVariables, NULL,
1346 "ntpdate_enable=YES,ntpdate_flags=ntp2.theinternetone.net" },
1347 { "Netherlands #3", "ntp3.theinternetone.net",
1348 dmenuVarsCheck, dmenuSetVariables, NULL,
1349 "ntpdate_enable=YES,ntpdate_flags=ntp3.theinternetone.net" },
1350 { "Norway", "fartein.ifi.uio.no",
1351 dmenuVarsCheck, dmenuSetVariables, NULL,
1352 "ntpdate_enable=YES,ntpdate_flags=fartein.ifi.uio.no" },
1353 { "Norway #2", "time.alcanet.no",
1354 dmenuVarsCheck, dmenuSetVariables, NULL,
1355 "ntpdate_enable=YES,ntpdate_flags=time.alcanet.no" },
1356 { "New Zealand", "ntp.massey.ac.nz",
1357 dmenuVarsCheck, dmenuSetVariables, NULL,
1358 "ntpdate_enable=YES,ntpdate_flags=ntp.massey.ac.nz" },
1359 { "New Zealand #2", "ntp.public.otago.ac.nz",
1360 dmenuVarsCheck, dmenuSetVariables, NULL,
1361 "ntpdate_enable=YES,ntpdate_flags=ntp.public.otago.ac.nz" },
1362 { "New Zealand #3", "tk1.ihug.co.nz",
1363 dmenuVarsCheck, dmenuSetVariables, NULL,
1364 "ntpdate_enable=YES,ntpdate_flags=tk1.ihug.co.nz" },
1365 { "New Zealand #4", "ntp.waikato.ac.nz",
1366 dmenuVarsCheck, dmenuSetVariables, NULL,
1367 "ntpdate_enable=YES,ntpdate_flags=ntp.waikato.ac.nz" },
1368 { "Poland", "info.cyf-kr.edu.pl",
1369 dmenuVarsCheck, dmenuSetVariables, NULL,
1370 "ntpdate_enable=YES,ntpdate_flags=info.cyf-kr.edu.pl" },
1371 { "Portugal", "bug.fe.up.pt",
1372 dmenuVarsCheck, dmenuSetVariables, NULL,
1373 "ntpdate_enable=YES,ntpdate_flags=bug.fe.up.pt" },
1374 { "Romania", "ntp.ip.ro",
1375 dmenuVarsCheck, dmenuSetVariables, NULL,
1376 "ntpdate_enable=YES,ntpdate_flags=ntp.ip.ro" },
1377 { "Russia", "ntp.psn.ru",
1378 dmenuVarsCheck, dmenuSetVariables, NULL,
1379 "ntpdate_enable=YES,ntpdate_flags=ntp.psn.ru" },
1380 { "Russia #2", "sign.chg.ru",
1381 dmenuVarsCheck, dmenuSetVariables, NULL,
1382 "ntpdate_enable=YES,ntpdate_flags=sign.chg.ru" },
1383 { "Sweden", "ntp.lth.se",
1384 dmenuVarsCheck, dmenuSetVariables, NULL,
1385 "ntpdate_enable=YES,ntpdate_flags=ntp.lth.se" },
1386 { "Singapore", "ntp.shim.org",
1387 dmenuVarsCheck, dmenuSetVariables, NULL,
1388 "ntpdate_enable=YES,ntpdate_flags=ntp.shim.org" },
1389 { "Slovenia", "calvus.rzs-hm.si",
1390 dmenuVarsCheck, dmenuSetVariables, NULL,
1391 "ntpdate_enable=YES,ntpdate_flags=calvus.rzs-hm.si" },
1392 { "Slovenia #2", "sizif.mf.uni-lj.si",
1393 dmenuVarsCheck, dmenuSetVariables, NULL,
1394 "ntpdate_enable=YES,ntpdate_flags=sizif.mf.uni-lj.si" },
1395 { "Slovenia #3", "ntp1.arnes.si",
1396 dmenuVarsCheck, dmenuSetVariables, NULL,
1397 "ntpdate_enable=YES,ntpdate_flags=ntp1.arnes.si" },
1398 { "Slovenia #4", "ntp2.arnes.si",
1399 dmenuVarsCheck, dmenuSetVariables, NULL,
1400 "ntpdate_enable=YES,ntpdate_flags=ntp2.arnes.si" },
1401 { "Slovenia #5", "time.ijs.si",
1402 dmenuVarsCheck, dmenuSetVariables, NULL,
1403 "ntpdate_enable=YES,ntpdate_flags=time.ijs.si" },
1404 { "Scotland", "ntp.cs.strath.ac.uk",
1405 dmenuVarsCheck, dmenuSetVariables, NULL,
1406 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.strath.ac.uk" },
1407 { "United Kingdom", "ntp.exnet.com",
1408 dmenuVarsCheck, dmenuSetVariables, NULL,
1409 "ntpdate_enable=YES,ntpdate_flags=ntp.exnet.com" },
1410 { "United Kingdom #2", "ntp0.uk.uu.net",
1411 dmenuVarsCheck, dmenuSetVariables, NULL,
1412 "ntpdate_enable=YES,ntpdate_flags=ntp0.uk.uu.net" },
1413 { "United Kingdom #3", "ntp1.uk.uu.net",
1414 dmenuVarsCheck, dmenuSetVariables, NULL,
1415 "ntpdate_enable=YES,ntpdate_flags=ntp1.uk.uu.net" },
1416 { "United Kingdom #4", "ntp2.uk.uu.net",
1417 dmenuVarsCheck, dmenuSetVariables, NULL,
1418 "ntpdate_enable=YES,ntpdate_flags=ntp2.uk.uu.net" },
1419 { "United Kingdom #5", "ntp2a.mcc.ac.uk",
1420 dmenuVarsCheck, dmenuSetVariables, NULL,
1421 "ntpdate_enable=YES,ntpdate_flags=ntp2a.mcc.ac.uk" },
1422 { "United Kingdom #6", "ntp2b.mcc.ac.uk",
1423 dmenuVarsCheck, dmenuSetVariables, NULL,
1424 "ntpdate_enable=YES,ntpdate_flags=ntp2b.mcc.ac.uk" },
1425 { "United Kingdom #7", "ntp2c.mcc.ac.uk",
1426 dmenuVarsCheck, dmenuSetVariables, NULL,
1427 "ntpdate_enable=YES,ntpdate_flags=ntp2c.mcc.ac.uk" },
1428 { "United Kingdom #8", "ntp2d.mcc.ac.uk",
1429 dmenuVarsCheck, dmenuSetVariables, NULL,
1430 "ntpdate_enable=YES,ntpdate_flags=ntp2d.mcc.ac.uk" },
1431 { "United Kingdom #9", "tick.tanac.net",
1432 dmenuVarsCheck, dmenuSetVariables, NULL,
1433 "ntpdate_enable=YES,ntpdate_flags=tick.tanac.net" },
1434 { "U.S. AR", "sushi.compsci.lyon.edu",
1435 dmenuVarsCheck, dmenuSetVariables, NULL,
1436 "ntpdate_enable=YES,ntpdate_flags=sushi.compsci.lyon.edu" },
1437 { "U.S. AZ", "ntp.drydog.com",
1438 dmenuVarsCheck, dmenuSetVariables, NULL,
1439 "ntpdate_enable=YES,ntpdate_flags=ntp.drydog.com" },
1440 { "U.S. CA", "ntp.ucsd.edu",
1441 dmenuVarsCheck, dmenuSetVariables, NULL,
1442 "ntpdate_enable=YES,ntpdate_flags=ntp.ucsd.edu" },
1443 { "U.S. CA #2", "ntp1.mainecoon.com",
1444 dmenuVarsCheck, dmenuSetVariables, NULL,
1445 "ntpdate_enable=YES,ntpdate_flags=ntp1.mainecoon.com" },
1446 { "U.S. CA #3", "ntp2.mainecoon.com",
1447 dmenuVarsCheck, dmenuSetVariables, NULL,
1448 "ntpdate_enable=YES,ntpdate_flags=ntp2.mainecoon.com" },
1449 { "U.S. CA #4", "reloj.kjsl.com",
1450 dmenuVarsCheck, dmenuSetVariables, NULL,
1451 "ntpdate_enable=YES,ntpdate_flags=reloj.kjsl.com" },
1452 { "U.S. CA #5", "time.five-ten-sg.com",
1453 dmenuVarsCheck, dmenuSetVariables, NULL,
1454 "ntpdate_enable=YES,ntpdate_flags=time.five-ten-sg.com" },
1455 { "U.S. DE", "louie.udel.edu",
1456 dmenuVarsCheck, dmenuSetVariables, NULL,
1457 "ntpdate_enable=YES,ntpdate_flags=louie.udel.edu" },
1458 { "U.S. GA", "ntp.shorty.com",
1459 dmenuVarsCheck, dmenuSetVariables, NULL,
1460 "ntpdate_enable=YES,ntpdate_flags=ntp.shorty.com" },
1461 { "U.S. GA #2", "rolex.usg.edu",
1462 dmenuVarsCheck, dmenuSetVariables, NULL,
1463 "ntpdate_enable=YES,ntpdate_flags=rolex.usg.edu" },
1464 { "U.S. GA #3", "timex.usg.edu",
1465 dmenuVarsCheck, dmenuSetVariables, NULL,
1466 "ntpdate_enable=YES,ntpdate_flags=timex.usg.edu" },
1467 { "U.S. IL", "ntp-0.cso.uiuc.edu",
1468 dmenuVarsCheck, dmenuSetVariables, NULL,
1469 "ntpdate_enable=YES,ntpdate_flags=ntp-0.cso.uiuc.edu" },
1470 { "U.S. IL #2", "ntp-1.cso.uiuc.edu",
1471 dmenuVarsCheck, dmenuSetVariables, NULL,
1472 "ntpdate_enable=YES,ntpdate_flags=ntp-1.cso.uiuc.edu" },
1473 { "U.S. IL #3", "ntp-1.mcs.anl.gov",
1474 dmenuVarsCheck, dmenuSetVariables, NULL,
1475 "ntpdate_enable=YES,ntpdate_flags=ntp-1.mcs.anl.gov" },
1476 { "U.S. IL #4", "ntp-2.cso.uiuc.edu",
1477 dmenuVarsCheck, dmenuSetVariables, NULL,
1478 "ntpdate_enable=YES,ntpdate_flags=ntp-2.cso.uiuc.edu" },
1479 { "U.S. IL #5", "ntp-2.mcs.anl.gov",
1480 dmenuVarsCheck, dmenuSetVariables, NULL,
1481 "ntpdate_enable=YES,ntpdate_flags=ntp-2.mcs.anl.gov" },
1482 { "U.S. IN", "gilbreth.ecn.purdue.edu",
1483 dmenuVarsCheck, dmenuSetVariables, NULL,
1484 "ntpdate_enable=YES,ntpdate_flags=gilbreth.ecn.purdue.edu" },
1485 { "U.S. IN #2", "harbor.ecn.purdue.edu",
1486 dmenuVarsCheck, dmenuSetVariables, NULL,
1487 "ntpdate_enable=YES,ntpdate_flags=harbor.ecn.purdue.edu" },
1488 { "U.S. IN #3", "molecule.ecn.purdue.edu",
1489 dmenuVarsCheck, dmenuSetVariables, NULL,
1490 "ntpdate_enable=YES,ntpdate_flags=molecule.ecn.purdue.edu" },
1491 { "U.S. KS", "ntp1.kansas.net",
1492 dmenuVarsCheck, dmenuSetVariables, NULL,
1493 "ntpdate_enable=YES,ntpdate_flags=ntp1.kansas.net" },
1494 { "U.S. KS #2", "ntp2.kansas.net",
1495 dmenuVarsCheck, dmenuSetVariables, NULL,
1496 "ntpdate_enable=YES,ntpdate_flags=ntp2.kansas.net" },
1497 { "U.S. MA", "ntp.ourconcord.net",
1498 dmenuVarsCheck, dmenuSetVariables, NULL,
1499 "ntpdate_enable=YES,ntpdate_flags=ntp.ourconcord.net" },
1500 { "U.S. MA #2", "timeserver.cs.umb.edu",
1501 dmenuVarsCheck, dmenuSetVariables, NULL,
1502 "ntpdate_enable=YES,ntpdate_flags=timeserver.cs.umb.edu" },
1503 { "U.S. MN", "ns.nts.umn.edu",
1504 dmenuVarsCheck, dmenuSetVariables, NULL,
1505 "ntpdate_enable=YES,ntpdate_flags=ns.nts.umn.edu" },
1506 { "U.S. MN #2", "nss.nts.umn.edu",
1507 dmenuVarsCheck, dmenuSetVariables, NULL,
1508 "ntpdate_enable=YES,ntpdate_flags=nss.nts.umn.edu" },
1509 { "U.S. MO", "time-ext.missouri.edu",
1510 dmenuVarsCheck, dmenuSetVariables, NULL,
1511 "ntpdate_enable=YES,ntpdate_flags=time-ext.missouri.edu" },
1512 { "U.S. MT", "chronos1.umt.edu",
1513 dmenuVarsCheck, dmenuSetVariables, NULL,
1514 "ntpdate_enable=YES,ntpdate_flags=chronos1.umt.edu" },
1515 { "U.S. MT #2", "chronos2.umt.edu",
1516 dmenuVarsCheck, dmenuSetVariables, NULL,
1517 "ntpdate_enable=YES,ntpdate_flags=chronos2.umt.edu" },
1518 { "U.S. MT #3", "chronos3.umt.edu",
1519 dmenuVarsCheck, dmenuSetVariables, NULL,
1520 "ntpdate_enable=YES,ntpdate_flags=chronos3.umt.edu" },
1521 { "U.S. NC", "clock1.unc.edu",
1522 dmenuVarsCheck, dmenuSetVariables, NULL,
1523 "ntpdate_enable=YES,ntpdate_flags=clock1.unc.edu" },
1524 { "U.S. NV", "cuckoo.nevada.edu",
1525 dmenuVarsCheck, dmenuSetVariables, NULL,
1526 "ntpdate_enable=YES,ntpdate_flags=cuckoo.nevada.edu" },
1527 { "U.S. NV #2", "tick.cs.unlv.edu",
1528 dmenuVarsCheck, dmenuSetVariables, NULL,
1529 "ntpdate_enable=YES,ntpdate_flags=tick.cs.unlv.edu" },
1530 { "U.S. NV #3", "tock.cs.unlv.edu",
1531 dmenuVarsCheck, dmenuSetVariables, NULL,
1532 "ntpdate_enable=YES,ntpdate_flags=tock.cs.unlv.edu" },
1533 { "U.S. NY", "clock.linuxshell.net",
1534 dmenuVarsCheck, dmenuSetVariables, NULL,
1535 "ntpdate_enable=YES,ntpdate_flags=clock.linuxshell.net" },
1536 { "U.S. NY #2", "ntp.ctr.columbia.edu",
1537 dmenuVarsCheck, dmenuSetVariables, NULL,
1538 "ntpdate_enable=YES,ntpdate_flags=ntp.ctr.columbia.edu" },
1539 { "U.S. NY #3", "ntp0.cornell.edu",
1540 dmenuVarsCheck, dmenuSetVariables, NULL,
1541 "ntpdate_enable=YES,ntpdate_flags=ntp0.cornell.edu" },
1542 { "U.S. NY #4", "ntp1.mpis.net",
1543 dmenuVarsCheck, dmenuSetVariables, NULL,
1544 "ntpdate_enable=YES,ntpdate_flags=ntp1.mpis.net" },
1545 { "U.S. NY #5", "ntp2.mpis.net",
1546 dmenuVarsCheck, dmenuSetVariables, NULL,
1547 "ntpdate_enable=YES,ntpdate_flags=ntp2.mpis.net" },
1548 { "U.S. NY #6", "sundial.columbia.edu",
1549 dmenuVarsCheck, dmenuSetVariables, NULL,
1550 "ntpdate_enable=YES,ntpdate_flags=sundial.columbia.edu" },
1551 { "U.S. NY #7", "timex.cs.columbia.edu",
1552 dmenuVarsCheck, dmenuSetVariables, NULL,
1553 "ntpdate_enable=YES,ntpdate_flags=timex.cs.columbia.edu" },
1554 { "U.S. OK", "constellation.ecn.uoknor.edu",
1555 dmenuVarsCheck, dmenuSetVariables, NULL,
1556 "ntpdate_enable=YES,ntpdate_flags=constellation.ecn.uoknor.edu" },
1557 { "U.S. PA", "clock-1.cs.cmu.edu",
1558 dmenuVarsCheck, dmenuSetVariables, NULL,
1559 "ntpdate_enable=YES,ntpdate_flags=clock-1.cs.cmu.edu" },
1560 { "U.S. PA #2", "clock-2.cs.cmu.edu",
1561 dmenuVarsCheck, dmenuSetVariables, NULL,
1562 "ntpdate_enable=YES,ntpdate_flags=clock-2.cs.cmu.edu" },
1563 { "U.S. PA #3", "clock.psu.edu",
1564 dmenuVarsCheck, dmenuSetVariables, NULL,
1565 "ntpdate_enable=YES,ntpdate_flags=clock.psu.edu" },
1566 { "U.S. PA #4", "fuzz.psc.edu",
1567 dmenuVarsCheck, dmenuSetVariables, NULL,
1568 "ntpdate_enable=YES,ntpdate_flags=fuzz.psc.edu" },
1569 { "U.S. PA #5", "ntp-1.ece.cmu.edu",
1570 dmenuVarsCheck, dmenuSetVariables, NULL,
1571 "ntpdate_enable=YES,ntpdate_flags=ntp-1.ece.cmu.edu" },
1572 { "U.S. PA #6", "ntp-2.ece.cmu.edu",
1573 dmenuVarsCheck, dmenuSetVariables, NULL,
1574 "ntpdate_enable=YES,ntpdate_flags=ntp-2.ece.cmu.edu" },
1575 { "U.S. TX", "ntp.cox.smu.edu",
1576 dmenuVarsCheck, dmenuSetVariables, NULL,
1577 "ntpdate_enable=YES,ntpdate_flags=ntp.cox.smu.edu" },
1578 { "U.S. TX #2", "ntp.fnbhs.com",
1579 dmenuVarsCheck, dmenuSetVariables, NULL,
1580 "ntpdate_enable=YES,ntpdate_flags=ntp.fnbhs.com" },
1581 { "U.S. TX #3", "ntp.tmc.edu",
1582 dmenuVarsCheck, dmenuSetVariables, NULL,
1583 "ntpdate_enable=YES,ntpdate_flags=ntp.tmc.edu" },
1584 { "U.S. TX #4", "ntp5.tamu.edu",
1585 dmenuVarsCheck, dmenuSetVariables, NULL,
1586 "ntpdate_enable=YES,ntpdate_flags=ntp5.tamu.edu" },
1587 { "U.S. TX #5", "tick.greyware.com",
1588 dmenuVarsCheck, dmenuSetVariables, NULL,
1589 "ntpdate_enable=YES,ntpdate_flags=tick.greyware.com" },
1590 { "U.S. TX #6", "tock.greyware.com",
1591 dmenuVarsCheck, dmenuSetVariables, NULL,
1592 "ntpdate_enable=YES,ntpdate_flags=tock.greyware.com" },
1593 { "U.S. VA", "ntp-1.vt.edu",
1594 dmenuVarsCheck, dmenuSetVariables, NULL,
1595 "ntpdate_enable=YES,ntpdate_flags=ntp-1.vt.edu" },
1596 { "U.S. VA #2", "ntp-2.vt.edu",
1597 dmenuVarsCheck, dmenuSetVariables, NULL,
1598 "ntpdate_enable=YES,ntpdate_flags=ntp-2.vt.edu" },
1599 { "U.S. VA #3", "ntp.cmr.gov",
1600 dmenuVarsCheck, dmenuSetVariables, NULL,
1601 "ntpdate_enable=YES,ntpdate_flags=ntp.cmr.gov" },
1602 { "U.S. VT", "ntp0.state.vt.us",
1603 dmenuVarsCheck, dmenuSetVariables, NULL,
1604 "ntpdate_enable=YES,ntpdate_flags=ntp0.state.vt.us" },
1605 { "U.S. VT #2", "ntp1.state.vt.us",
1606 dmenuVarsCheck, dmenuSetVariables, NULL,
1607 "ntpdate_enable=YES,ntpdate_flags=ntp1.state.vt.us" },
1608 { "U.S. VT #3", "ntp2.state.vt.us",
1609 dmenuVarsCheck, dmenuSetVariables, NULL,
1610 "ntpdate_enable=YES,ntpdate_flags=ntp2.state.vt.us" },
1611 { "U.S. WA", "clock.tricity.wsu.edu",
1612 dmenuVarsCheck, dmenuSetVariables, NULL,
1613 "ntpdate_enable=YES,ntpdate_flags=clock.tricity.wsu.edu" },
1614 { "U.S. WA #2", "ntp.tcp-udp.net",
1615 dmenuVarsCheck, dmenuSetVariables, NULL,
1616 "ntpdate_enable=YES,ntpdate_flags=ntp.tcp-udp.net" },
1617 { "U.S. WI", "ntp1.cs.wisc.edu",
1618 dmenuVarsCheck, dmenuSetVariables, NULL,
1619 "ntpdate_enable=YES,ntpdate_flags=ntp1.cs.wisc.edu" },
1620 { "U.S. WI #2", "ntp3.cs.wisc.edu",
1621 dmenuVarsCheck, dmenuSetVariables, NULL,
1622 "ntpdate_enable=YES,ntpdate_flags=ntp3.cs.wisc.edu" },
1623 { "Venezuela", "ntp.linux.org.ve",
1624 dmenuVarsCheck, dmenuSetVariables, NULL,
1625 "ntpdate_enable=YES,ntpdate_flags=ntp.linux.org.ve" },
1626 { "South Africa", "ntp.cs.unp.ac.za",
1627 dmenuVarsCheck, dmenuSetVariables, NULL,
1628 "ntpdate_enable=YES,ntpdate_flags=ntp.cs.unp.ac.za" },
1632 DMenu MenuSyscons = {
1634 "System Console Configuration",
1635 "The default system console driver for FreeBSD (syscons) has a\n"
1636 "number of configuration options which may be set according to\n"
1637 "your preference.\n\n"
1638 "When you are done setting configuration options, select Cancel.",
1639 "Configure your system console settings",
1641 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1642 { "2 Font", "Choose an alternate screen font", NULL, dmenuSubmenu, NULL, &MenuSysconsFont },
1643 { "3 Keymap", "Choose an alternate keyboard map", NULL, dmenuSubmenu, NULL, &MenuSysconsKeymap },
1644 { "4 Repeat", "Set the rate at which keys repeat", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
1645 { "5 Saver", "Configure the screen saver", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
1646 { "6 Screenmap", "Choose an alternate screenmap", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
1651 DMenu MenuSysconsKeymap = {
1652 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1653 "System Console Keymap",
1654 "The default system console driver for FreeBSD (syscons) defaults\n"
1655 "to a standard \"PC-98x1\" keyboard map. Users may wish to choose\n"
1656 "one of the other keymaps below.\n"
1657 "Note that sysinstall itself only uses the part of the keyboard map\n"
1658 "which is required to generate the ANSI character subset, but your\n"
1659 "choice of keymap will also be saved for later (fuller) use.",
1660 "Choose a keyboard map",
1662 { { "Japanese PC-98x1", "Japanese PC-98x1 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98" },
1663 { " Japanese PC-98x1 (ISO)", "Japanese PC-98x1 (ISO) keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.pc98.iso" },
1667 DMenu MenuSysconsKeymap = {
1668 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1669 "System Console Keymap",
1670 "The default system console driver for FreeBSD (syscons) defaults\n"
1671 "to a standard \"American\" keyboard map. Users in other countries\n"
1672 "(or with different keyboard preferences) may wish to choose one of\n"
1673 "the other keymaps below.\n"
1674 "Note that sysinstall itself only uses the part of the keyboard map\n"
1675 "which is required to generate the ANSI character subset, but your\n"
1676 "choice of keymap will also be saved for later (fuller) use.",
1677 "Choose a keyboard map",
1679 { { "Belgian", "Belgian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=be.iso" },
1680 { " Brazil CP850", "Brazil CP850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.cp850" },
1681 { " Brazil ISO (accent)", "Brazil ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso.acc" },
1682 { " Brazil ISO", "Brazil ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=br275.iso" },
1683 { " Bulgarian BDS", "Bulgarian BDS keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.bds.ctrlcaps" },
1684 { " Bulgarian Phonetic", "Bulgarian Phonetic keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=bg.phonetic.ctrlcaps" },
1685 { " Croatian ISO", "Croatian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hr.iso" },
1686 { " Czech ISO (accent)", "Czech ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=cs.latin2.qwertz" },
1687 { "Danish CP865", "Danish Code Page 865 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.cp865" },
1688 { " Danish ISO", "Danish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=danish.iso" },
1689 { "Estonian ISO", "Estonian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso" },
1690 { " Estonian ISO 15", "Estonian ISO 8859-15 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.iso15" },
1691 { " Estonian CP850", "Estonian Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=estonian.cp850" },
1692 { "Finnish CP850","Finnish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.cp850" },
1693 { " Finnish ISO", "Finnish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=finnish.iso" },
1694 { " French ISO (accent)", "French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso.acc" },
1695 { " French ISO", "French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=fr.iso" },
1696 { "German CP850", "German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.cp850" },
1697 { " German ISO", "German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=german.iso" },
1698 { "Hungarian 101", "Hungarian ISO keymap (101 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.101keys" },
1699 { " Hungarian 102", "Hungarian ISO keymap (102 key)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=hu.iso2.102keys" },
1700 { "Icelandic (accent)", "Icelandic ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso.acc" },
1701 { " Icelandic", "Icelandic ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=icelandic.iso" },
1702 { " Italian", "Italian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=it.iso" },
1703 { "Japanese 106", "Japanese 106 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=jp.106" },
1704 { "Latin American", "Latin American ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=lat-amer" },
1705 { "Norway ISO", "Norwegian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=norwegian.iso" },
1706 { "Polish ISO", "Polish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pl_PL.ISO8859-2" },
1707 { " Portuguese (accent)", "Portuguese ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso.acc" },
1708 { " Portuguese", "Portuguese ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=pt.iso" },
1709 { "Russia KOI8-R", "Russian KOI8-R keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ru.koi8-r" },
1710 { "Slovenian", "Slovenian ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=si.iso" },
1711 { " Spanish (accent)", "Spanish ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso.acc" },
1712 { " Spanish", "Spanish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=spanish.iso" },
1713 { " Swedish CP850", "Swedish Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.cp850" },
1714 { " Swedish ISO", "Swedish ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swedish.iso" },
1715 { " Swiss French ISO (accent)", "Swiss French ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso.acc" },
1716 { " Swiss French ISO", "Swiss French ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.iso" },
1717 { " Swiss French CP850", "Swiss French Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissfrench.cp850" },
1718 { " Swiss German ISO (accent)", "Swiss German ISO keymap (accent keys)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso.acc" },
1719 { " Swiss German ISO", "Swiss German ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.iso" },
1720 { " Swiss German CP850", "Swiss German Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=swissgerman.cp850" },
1721 { "UK CP850", "UK Code Page 850 keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.cp850" },
1722 { " UK ISO", "UK ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=uk.iso" },
1723 { " Ukrainian KOI8-U", "Ukrainian KOI8-U keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u" },
1724 { " Ukrainian KOI8-U+KOI8-R", "Ukrainian KOI8-U+KOI8-R keymap (alter)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=ua.koi8-u.shift.alt" },
1725 { " USA CapsLock->Ctrl", "US standard (Caps as L-Control)", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.pc-ctrl" },
1726 { " USA Dvorak", "US Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorak" },
1727 { " USA Dvorak (left)", "US left handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakl" },
1728 { " USA Dvorak (right)", "US right handed Dvorak keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.dvorakr" },
1729 { " USA Emacs", "US standard optimized for EMACS", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.emacs" },
1730 { " USA ISO", "US ISO keymap", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.iso" },
1731 { " USA UNIX", "US traditional UNIX-workstation", dmenuVarCheck, dmenuSetKmapVariable, NULL, "keymap=us.unix" },
1736 DMenu MenuSysconsKeyrate = {
1737 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1738 "System Console Keyboard Repeat Rate",
1739 "This menu allows you to set the speed at which keys repeat\n"
1741 "Choose a keyboard repeat rate",
1743 { { "Slow", "Slow keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=slow" },
1744 { "Normal", "\"Normal\" keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=normal" },
1745 { "Fast", "Fast keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=fast" },
1746 { "Default", "Use default keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=NO" },
1750 DMenu MenuSysconsSaver = {
1751 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1752 "System Console Screen Saver",
1753 "By default, the console driver will not attempt to do anything\n"
1754 "special with your screen when it's idle. If you expect to leave your\n"
1755 "monitor switched on and idle for long periods of time then you should\n"
1756 "probably enable one of these screen savers to prevent phosphor burn-in.",
1757 "Choose a nifty-looking screen saver",
1759 { { "1 Blank", "Simply blank the screen",
1760 dmenuVarCheck, configSaver, NULL, "saver=blank" },
1761 { "2 Daemon", "\"BSD Daemon\" animated screen saver (text)",
1762 dmenuVarCheck, configSaver, NULL, "saver=daemon" },
1763 { "3 Fade", "Fade out effect screen saver",
1764 dmenuVarCheck, configSaver, NULL, "saver=fade" },
1765 { "4 Fire", "Flames effect screen saver",
1766 dmenuVarCheck, configSaver, NULL, "saver=fire" },
1767 { "5 Green", "\"Green\" power saving mode (if supported by monitor)",
1768 dmenuVarCheck, configSaver, NULL, "saver=green" },
1769 { "6 Logo", "\"BSD Daemon\" animated screen saver (graphics)",
1770 dmenuVarCheck, configSaver, NULL, "saver=logo" },
1771 { "7 Rain", "Rain drops screen saver",
1772 dmenuVarCheck, configSaver, NULL, "saver=rain" },
1773 { "8 Snake", "Draw a FreeBSD \"snake\" on your screen",
1774 dmenuVarCheck, configSaver, NULL, "saver=snake" },
1775 { "9 Star", "A \"twinkling stars\" effect",
1776 dmenuVarCheck, configSaver, NULL, "saver=star" },
1777 { "Warp", "A \"stars warping\" effect",
1778 dmenuVarCheck, configSaver, NULL, "saver=warp" },
1779 { "Dragon", "Dragon screensaver (graphics)",
1780 dmenuVarCheck, configSaver, NULL, "saver=dragon" },
1781 { "Timeout", "Set the screen saver timeout interval",
1782 NULL, configSaverTimeout, NULL, NULL, ' ', ' ', ' ' },
1786 DMenu MenuSysconsScrnmap = {
1787 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1788 "System Console Screenmap",
1789 "Unless you load a specific font, most PC hardware defaults to\n"
1790 "displaying characters in the IBM 437 character set. However,\n"
1791 "in the Unix world, this character set is very rarely used. Most\n"
1792 "Western European countries, for example, prefer ISO 8859-1.\n"
1793 "American users won't notice the difference since the bottom half\n"
1794 "of all these character sets is ANSI anyway.\n"
1795 "If your hardware is capable of downloading a new display font,\n"
1796 "you should probably choose that option. However, for hardware\n"
1797 "where this is not possible (e.g. monochrome adapters), a screen\n"
1798 "map will give you the best approximation that your hardware can\n"
1800 "Choose a screen map",
1802 { { "None", "No screenmap, use default font", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=NO" },
1803 { "KOI8-R to IBM866", "Russian KOI8-R to IBM 866 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-r2cp866" },
1804 { "KOI8-U to IBM866u", "Ukrainian KOI8-U to IBM 866u screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=koi8-u2cp866u" },
1805 { "ISO 8859-1 to IBM437", "W-Europe ISO 8859-1 to IBM 437 screenmap", dmenuVarCheck, dmenuSetVariable, NULL, "scrnmap=iso-8859-1_to_cp437" },
1809 DMenu MenuSysconsFont = {
1810 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1811 "System Console Font",
1812 "Most PC hardware defaults to displaying characters in the\n"
1813 "IBM 437 character set. However, in the Unix world, this\n"
1814 "character set is very rarely used. Most Western European\n"
1815 "countries, for example, prefer ISO 8859-1.\n"
1816 "American users won't notice the difference since the bottom half\n"
1817 "of all these charactersets is ANSI anyway. However, they might\n"
1818 "want to load a font anyway to use the 30- or 50-line displays.\n"
1819 "If your hardware is capable of downloading a new display font,\n"
1820 "you can select the appropriate font below.",
1823 { { "1 None", "Use hardware default font", dmenuVarCheck, dmenuSetVariables, NULL,
1824 "font8x8=NO,font8x14=NO,font8x16=NO" },
1825 { "2 IBM 437", "English and others, VGA default", dmenuVarCheck, dmenuSetVariables, NULL,
1826 "font8x8=cp437-8x8,font8x14=cp437-8x14,font8x16=cp437-8x16" },
1827 { "3 IBM 850", "Western Europe, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1828 "font8x8=cp850-8x8,font8x14=cp850-8x14,font8x16=cp850-8x16" },
1829 { "4 IBM 865", "Norwegian, IBM encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1830 "font8x8=cp865-8x8,font8x14=cp865-8x14,font8x16=cp865-8x16" },
1831 { "5 IBM 866", "Russian, IBM encoding (use with KOI8-R screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
1832 "font8x8=cp866-8x8,font8x14=cp866-8x14,font8x16=cp866b-8x16,mousechar_start=3" },
1833 { "6 IBM 866u", "Ukrainian, IBM encoding (use with KOI8-U screenmap)", dmenuVarCheck, dmenuSetVariables, NULL,
1834 "font8x8=cp866u-8x8,font8x14=cp866u-8x14,font8x16=cp866u-8x16,mousechar_start=3" },
1835 { "7 IBM 1251", "Cyrillic, MS Windows encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1836 "font8x8=cp1251-8x8,font8x14=cp1251-8x14,font8x16=cp1251-8x16,mousechar_start=3" },
1837 { "8 ISO 8859-1", "Western Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1838 "font8x8=iso-8x8,font8x14=iso-8x14,font8x16=iso-8x16" },
1839 { "9 ISO 8859-2", "Eastern Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1840 "font8x8=iso02-8x8,font8x14=iso02-8x14,font8x16=iso02-8x16" },
1841 { "a ISO 8859-4", "Baltic, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1842 "font8x8=iso04-8x8,font8x14=iso04-8x14,font8x16=iso04-8x16" },
1843 { "b ISO 8859-7", "Greek, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1844 "font8x8=iso07-8x8,font8x14=iso07-8x14,font8x16=iso07-8x16" },
1845 { "c ISO 8859-8", "Hebrew, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1846 "font8x8=iso08-8x8,font8x14=iso08-8x14,font8x16=iso08-8x16" },
1847 { "d ISO 8859-15", "Europe, ISO encoding", dmenuVarCheck, dmenuSetVariables, NULL,
1848 "font8x8=iso15-8x8,font8x14=iso15-8x14,font8x16=iso15-8x16" },
1849 { "e SWISS", "English, better resolution", dmenuVarCheck, dmenuSetVariables, NULL,
1850 "font8x8=swiss-8x8,font8x14=NO,font8x16=swiss-8x16" },
1854 DMenu MenuUsermgmt = {
1856 "User and group management",
1857 "The submenus here allow to manipulate user groups and\n"
1858 "login accounts.\n",
1859 "Configure your user groups and users",
1861 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1862 { "User", "Add a new user to the system.", NULL, userAddUser },
1863 { "Group", "Add a new user group to the system.", NULL, userAddGroup },
1867 DMenu MenuSecurityProfile = {
1868 DMENU_NORMAL_TYPE | DMENU_SELECTION_RETURNS,
1869 "Default system security profile",
1870 "Each item in this list will set what it considers to\n"
1871 "be \"appropriate\" values in that category for various\n"
1872 "security-related knobs in /etc/rc.conf.",
1873 "Select a canned security profile - F1 for help",
1874 "security", /* help file */
1875 { { "X Exit", "Exit this menu (returning to previous)", NULL, configSecurityModerate },
1876 { "Medium", "Moderate security settings [DEFAULT].", NULL, configSecurityModerate },
1877 { "Extreme", "Very restrictive security settings.", NULL, configSecurityExtreme },
1883 "Please choose a fixit option",
1884 "There are three ways of going into \"fixit\" mode:\n"
1885 "- you can use the live filesystem CDROM/DVD, in which case there will be\n"
1886 " full access to the complete set of FreeBSD commands and utilities,\n"
1887 "- you can use the more limited (but perhaps customized) fixit floppy,\n"
1888 "- or you can start an Emergency Holographic Shell now, which is\n"
1889 " limited to the subset of commands that is already available right now.",
1890 "Press F1 for more detailed repair instructions",
1892 { { "X Exit", "Exit this menu (returning to previous)", NULL, dmenuExit },
1893 { "2 CDROM/DVD", "Use the \"live\" filesystem CDROM/DVD", NULL, installFixitCDROM },
1894 { "3 Floppy", "Use a floppy generated from the fixit image", NULL, installFixitFloppy },
1895 { "4 Shell", "Start an Emergency Holographic Shell", NULL, installFixitHoloShell },