Deleted Added
full compact
menus.c (8208) menus.c (8262)
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
1/*
2 * The new sysinstall program.
3 *
4 * This is probably the last program in the `sysinstall' line - the next
5 * generation being essentially a complete rewrite.
6 *
7 * $Id: menus.c,v 1.3 1995/04/29 19:33:03 jkh Exp $
7 * $Id: menus.c,v 1.4 1995/05/01 21:56:25 jkh Exp $
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

68 "Press F1 for usage instructions", /* help line */
69 "usage.hlp", /* help file */
70 { { "Usage", "Quick start - How to use this menu system.", /* U */
71 DMENU_DISPLAY_FILE, (void *)"usage.hlp", 0 },
72 { "Doc", "More detailed documentation on FreeBSD.", /* D */
73 DMENU_SUBMENU, (void *)&MenuDocumentation, 0 },
74 { "Lang", "Select natural language options.", /* L */
75 DMENU_SUBMENU, (void *)&MenuLanguage, 0 },
8 *
9 * Copyright (c) 1995
10 * Jordan Hubbard. All rights reserved.
11 *
12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions
14 * are met:
15 * 1. Redistributions of source code must retain the above copyright

--- 52 unchanged lines hidden (view full) ---

68 "Press F1 for usage instructions", /* help line */
69 "usage.hlp", /* help file */
70 { { "Usage", "Quick start - How to use this menu system.", /* U */
71 DMENU_DISPLAY_FILE, (void *)"usage.hlp", 0 },
72 { "Doc", "More detailed documentation on FreeBSD.", /* D */
73 DMENU_SUBMENU, (void *)&MenuDocumentation, 0 },
74 { "Lang", "Select natural language options.", /* L */
75 DMENU_SUBMENU, (void *)&MenuLanguage, 0 },
76 { "Express", "Express installation (don't ask)", /* E */
77 DMENU_CALL, (void *)installExpress, 0 },
78 { "Custom", "Custom installation (please ask)", /* C */
76 { "Install", "Begin installation", /* I */
79 DMENU_CALL, (void *)installCustom, 0 },
77 DMENU_CALL, (void *)installCustom, 0 },
80 { "Maint", "Go into maintainance mode (`fix it').", /* M */
81 DMENU_CALL, (void *)installMaint, 0 },
82 { "Bootmsg", "Read the boot messages again.", /* B */
83 DMENU_SYSTEM_COMMAND_BOX, (void *)"dmesg", 0 },
84 { NULL } },
85};
86
87/* The main documentation menu */
88DMenu MenuDocumentation = {
89 DMENU_NORMAL_TYPE,

--- 47 unchanged lines hidden (view full) ---

137 { "Italian", "Italian language and character set (ISO-8859-1)", /* I */
138 DMENU_SET_VARIABLE, (void *)"LANG=it_IT.ISO8859-1", 0 },
139 { "Japanese", "Japanese language and character set (JIS?)", /* J */
140 DMENU_SET_VARIABLE, (void *)"LANG=ja_JP.EUC", 0 },
141 { "Russian", "Russian language and character set (cp866-8x14)", /* R */
142 DMENU_SET_VARIABLE, (void *)"LANG=ru_SU.KOI8-R", 0 },
143 { "Spanish", "Spanish language and character set (ISO-8859-1)", /* S */
144 DMENU_SET_VARIABLE, (void *)"LANG=es_ES.ISO8859-1", 0 },
78 { "Bootmsg", "Read the boot messages again.", /* B */
79 DMENU_SYSTEM_COMMAND_BOX, (void *)"dmesg", 0 },
80 { NULL } },
81};
82
83/* The main documentation menu */
84DMenu MenuDocumentation = {
85 DMENU_NORMAL_TYPE,

--- 47 unchanged lines hidden (view full) ---

133 { "Italian", "Italian language and character set (ISO-8859-1)", /* I */
134 DMENU_SET_VARIABLE, (void *)"LANG=it_IT.ISO8859-1", 0 },
135 { "Japanese", "Japanese language and character set (JIS?)", /* J */
136 DMENU_SET_VARIABLE, (void *)"LANG=ja_JP.EUC", 0 },
137 { "Russian", "Russian language and character set (cp866-8x14)", /* R */
138 DMENU_SET_VARIABLE, (void *)"LANG=ru_SU.KOI8-R", 0 },
139 { "Spanish", "Spanish language and character set (ISO-8859-1)", /* S */
140 DMENU_SET_VARIABLE, (void *)"LANG=es_ES.ISO8859-1", 0 },
141 { "Swedish", "Swedish language and character set (ISO-8859-1)", /* S */
142 DMENU_SET_VARIABLE, (void *)"LANG=sv_SV.ISO8859-1", 0 },
145 { NULL } },
146};
147
148/* The media selection menu */
149DMenu MenuMedia = {
150 DMENU_NORMAL_TYPE,
151 "Choose Installation Media",
152 "FreeBSD can be installed from a variety of different installation\n\

--- 89 unchanged lines hidden (view full) ---

242
243DMenu MenuDiskDevices = {
244 DMENU_MULTIPLE_TYPE,
245 "Select Drive(s)",
246 "Please select the drive, or drives, on which you wish to install\n\
247FreeBSD. You need to select at least one drive containing some free\n\
248space, though FreeBSD can be installed across several drives if you do\n\
249not have the required space on a single drive. If you wish to boot\n\
143 { NULL } },
144};
145
146/* The media selection menu */
147DMenu MenuMedia = {
148 DMENU_NORMAL_TYPE,
149 "Choose Installation Media",
150 "FreeBSD can be installed from a variety of different installation\n\

--- 89 unchanged lines hidden (view full) ---

240
241DMenu MenuDiskDevices = {
242 DMENU_MULTIPLE_TYPE,
243 "Select Drive(s)",
244 "Please select the drive, or drives, on which you wish to install\n\
245FreeBSD. You need to select at least one drive containing some free\n\
246space, though FreeBSD can be installed across several drives if you do\n\
247not have the required space on a single drive. If you wish to boot\n\
250off a drive that's not a `zero drive', you will have the option to install\n\
251a boot manager later.",
252 "drives.hlp",
248off a drive that's not a `zero drive', or have multiple operating\n\
249systems on your machine, you will have the option to install a boot\n\
250manager later.",
253 "Press F1 for more information on what you see here.",
251 "Press F1 for more information on what you see here.",
252 "drives.hlp",
254 { { NULL } },
255};
256
257/* The main installation menu */
258DMenu MenuInstall = {
259 DMENU_NORMAL_TYPE,
260 "Choose Installation Options", /* title */
261 "Before installation can continue, you need to specify a few items\n\

--- 17 unchanged lines hidden ---
253 { { NULL } },
254};
255
256/* The main installation menu */
257DMenu MenuInstall = {
258 DMENU_NORMAL_TYPE,
259 "Choose Installation Options", /* title */
260 "Before installation can continue, you need to specify a few items\n\

--- 17 unchanged lines hidden ---