diff options
| author | dsl <dsl@NetBSD.org> | 2003-05-16 20:08:01 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2003-05-16 20:08:01 +0000 |
| commit | adaf65b7b46cd138c62d3d2bcb95eda5fdfbef89 (patch) | |
| tree | 5bcee0fb36b7ed143cc97322b1d36cfc919fa944 | |
| parent | 826d79a6f74e942e0dfd4197f09269471f7ff657 (diff) | |
Language dependent menus are no longer pertinent
| -rw-r--r-- | distrib/utils/sysinst/arch/i386/menus.md.en | 283 | ||||
| -rw-r--r-- | distrib/utils/sysinst/arch/i386/menus.md.fr | 283 | ||||
| -rw-r--r-- | distrib/utils/sysinst/arch/i386/menus.md.pl | 283 |
3 files changed, 0 insertions, 849 deletions
diff --git a/distrib/utils/sysinst/arch/i386/menus.md.en b/distrib/utils/sysinst/arch/i386/menus.md.en deleted file mode 100644 index 9faacfaa7f8..00000000000 --- a/distrib/utils/sysinst/arch/i386/menus.md.en +++ /dev/null @@ -1,283 +0,0 @@ -/* $NetBSD: menus.md.en,v 1.45 2003/05/16 19:48:29 dsl Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. i386 version, machine dependent. */ - -menu getboottype, title MSG_Bootblocks_selection; - option MSG_Use_normal_bootblocks, exit, action - {boottype = "normal";}; - option MSG_Use_serial_9600_bootblocks, exit, action - {boottype = "serial9600";}; - option MSG_Use_serial_38400_bootblocks, exit, action - {boottype = "serial38400";}; - option MSG_Use_serial_57600_bootblocks, exit, action - {boottype = "serial57600";}; - option MSG_Use_serial_115200_bootblocks, exit, action - {boottype = "serial115200";}; - -menu fullpart, title MSG_Select_your_choice; - option MSG_Use_only_part_of_the_disk, exit, action {usefull = 0;}; - option MSG_Use_the_entire_disk, exit, action {usefull = 1;}; - -menu wdtype, title MSG_Select_type; - display action { msg_display (MSG_wdtype, diskdev); }; - option "IDE", exit; - option "ESDI", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - option "ST506", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - - -menu dlgeom, title MSG_Choose_an_option; - display action { msg_display (MSG_dlgeom, diskdev, dlcyl, dlhead, - dlsec, disk->dd_cyl, disk->dd_head, - disk->dd_sec); - }; - option MSG_Use_real_geometry, exit, action { - dlcyl = disk->dd_cyl; - dlhead = disk->dd_head; - dlsec = disk->dd_sec; - }; - option MSG_Use_disklabel_geometry, exit, action { - disk->dd_cyl = dlcyl; - disk->dd_head = dlhead; - disk->dd_sec = dlsec; - }; - -menu editparttable, title MSG_Choose_your_partition, exit; - display action { msg_display (MSG_editparttable); - disp_cur_part(&mbr.mbr_parts[0], activepart, -1); - }; - option MSG_Edit_partition_0, sub menu editpart, - action { editpart = 0; }; - option MSG_Edit_partition_1, sub menu editpart, - action { editpart = 1; }; - option MSG_Edit_partition_2, sub menu editpart, - action { editpart = 2; }; - option MSG_Edit_partition_3, sub menu editpart, - action { editpart = 3; }; - option MSG_Reselect_size_specification, - action { reask_sizemult(bcylsize); }; - -menu editpart, title MSG_Select_to_change; - display action { msg_display (MSG_editpart, editpart); - disp_cur_part(&mbr.mbr_parts[0], editpart, -1); - msg_display_add(MSG_newline); - }; - option MSG_Kind, sub menu chooseid; - option MSG_Start_and_size, action { edit_ptn_bounds(); }; - option MSG_Set_active, action { activepart = editpart; }; - option MSG_Partition_OK, exit; - -menu chooseid, title MSG_Partition_Kind; - option MSG_NetBSD, exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_NETBSD; - }; - option MSG_DOS_LT_32_Meg, exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16S; - }; - option MSG_DOS_GT_32_Meg, exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16B; - }; - option MSG_unused, exit, action - { - part[editpart].mbrp_typ = 0; - }; - option MSG_dont_change, exit; - -menu cyl1024; - display action { - msg_display(MSG_cyl1024); - }; - option MSG_Reedit_both_MBR_and_label, exit, action - { - /* XXX UGH */ - extern int c1024_resp; - - c1024_resp = 1; - }; - option MSG_Reedit_the_label, exit, action - { - extern int c1024_resp; - - c1024_resp = 2; - }; - option MSG_Use_it_anyway, exit, action - { - extern int c1024_resp; - - c1024_resp = 3; - }; - -menu editfsparts, y=13, exit; - display action { - ask_sizemult(dlcylsize); - msg_display(MSG_fspart, multname); - disp_cur_fspart(-1, 1); - }; - option MSG_Change_a, action { editpart = A;}, sub menu edfspart; - option MSG_Change_b, action { editpart = B;}, sub menu edfspart; - option MSG_NetBSD_partition_cant_change, action {}; - option MSG_Whole_disk_cant_change, action {}; - option MSG_Change_e, action { editpart = E;}, sub menu edfspart; - option MSG_Change_f, action { editpart = F;}, sub menu edfspart; - option MSG_Change_g, action { editpart = G;}, sub menu edfspart; - option MSG_Change_h, action { editpart = H;}, sub menu edfspart; - option MSG_Change_i, action { editpart = I;}, sub menu edfspart; - option MSG_Change_j, action { editpart = J;}, sub menu edfspart; - option MSG_Change_k, action { editpart = K;}, sub menu edfspart; - option MSG_Change_l, action { editpart = L;}, sub menu edfspart; - option MSG_Change_m, action { editpart = M;}, sub menu edfspart; - option MSG_Change_n, action { editpart = N;}, sub menu edfspart; - option MSG_Change_o, action { editpart = O;}, sub menu edfspart; - option MSG_Change_p, action { editpart = P;}, sub menu edfspart; - option MSG_Set_new_allocation_size, action { reask_sizemult(dlcylsize); }; - - -menu md_distcustom, x=26, y=5, exit, title MSG_Selection_toggles_inclusion; - display action { show_cur_distsets (); }; - option MSG_Kernel_GENERIC, action { toggle_getit (0); }; - option MSG_Kernel_GENERIC_TINY, action { toggle_getit (1); }; - option MSG_Kernel_GENERIC_LAPTOP, action { toggle_getit (2); }; - option MSG_Kernel_GENERIC_DIAGNOSTIC, action { toggle_getit (3); }; - option MSG_Kernel_GENERIC_PS2TINY, action { toggle_getit (4); }; - option MSG_Base, action { toggle_getit (5); }; - option MSG_System_etc, action { toggle_getit (6); }; - option MSG_Compiler_Tools, action { toggle_getit (7); }; - option MSG_Games, action { toggle_getit (8); }; - option MSG_Online_Manual_Pages, action { toggle_getit (9); }; - option MSG_Miscellaneous, action { toggle_getit (10); }; - option MSG_Text_Processing_Tools, action { toggle_getit (11); }; - option MSG_X11_base_and_clients, action { toggle_getit (12); }; - option MSG_X11_fonts, action { toggle_getit (13); }; - option MSG_X11_servers, action { toggle_getit (14); }; - option MSG_X_contrib_clients, action { toggle_getit (15); }; - option MSG_X11_programming, action { toggle_getit (16); }; - option MSG_X11_Misc, action { toggle_getit (17); }; - -menu biosonematch; - option MSG_This_is_the_correct_geometry, exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option MSG_Set_the_geometry_by_hand, exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu biosmultmatch; - option MSG_Use_one_of_these_disks, exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - int sel; - char res[80]; - - do { - strcpy(res, "0"); - msg_prompt(MSG_pickdisk, res, res, 80); - sel = atoi(res); - } while (sel < 0 || sel >= nativedisk->ni_nmatches); - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option MSG_Set_the_geometry_by_hand, exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu configbootsel, y=16, title MSG_Change_a_bootmenu_item, exit; - display action { disp_bootsel(); }; - option MSG_Edit_menu_entry_0, - action { edit_bootsel_entry(0); }; - option MSG_Edit_menu_entry_1, - action { edit_bootsel_entry(1); }; - option MSG_Edit_menu_entry_2, - action { edit_bootsel_entry(2); }; - option MSG_Edit_menu_entry_3, - action { edit_bootsel_entry(3); }; - option MSG_Set_timeout_value, - action { edit_bootsel_timeout(); }; - option MSG_Set_default_option, sub menu defaultbootsel; - -menu defaultbootsel, title MSG_Pick_a_default_partition_or_disk_to_boot; - option MSG_First_active_partition, exit, - action { mbs->mbrb_defkey = SCAN_ENTER; }; - option MSG_Partition_0, exit, - action { edit_bootsel_default_ptn(0); }; - option MSG_Partition_1, exit, - action { edit_bootsel_default_ptn(1); }; - option MSG_Partition_2, exit, - action { edit_bootsel_default_ptn(2); }; - option MSG_Partition_3, exit, - action { edit_bootsel_default_ptn(3); }; - option MSG_Harddisk_0, exit, - action { edit_bootsel_default_disk(0); }; - option MSG_Harddisk_1, exit, - action { edit_bootsel_default_disk(1); }; - option MSG_Harddisk_2, exit, - action { edit_bootsel_default_disk(2); }; - option MSG_Harddisk_3, exit, - action { edit_bootsel_default_disk(3); }; - option MSG_Harddisk_4, exit, - action { edit_bootsel_default_disk(4); }; - option MSG_Harddisk_5, exit, - action { edit_bootsel_default_disk(5); }; diff --git a/distrib/utils/sysinst/arch/i386/menus.md.fr b/distrib/utils/sysinst/arch/i386/menus.md.fr deleted file mode 100644 index 74114f4d641..00000000000 --- a/distrib/utils/sysinst/arch/i386/menus.md.fr +++ /dev/null @@ -1,283 +0,0 @@ -/* $NetBSD: menus.md.fr,v 1.37 2003/05/07 19:02:58 dsl Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. i386 version, machine dependent. */ - -menu getboottype, title "Sélection de Bootblocks"; - option "Utilisez normal le bootblocks", exit, action - {boottype = "normal";}; - option "Utilisez serial (9600) le bootblocks", exit, action - {boottype = "serial9600";}; - option "Utilisez serial (38400) le bootblocks", exit, action - {boottype = "serial38400";}; - option "Utilisez serial (57600) le bootblocks", exit, action - {boottype = "serial57600";}; - option "Utilisez serial (115200) le bootblocks", exit, action - {boottype = "serial115200";}; - -menu fullpart, y=15, title "Faite votre choix"; - option "Utilisation d'une partie du disque", exit, action {usefull = 0;}; - option "Utilisation de tout le disque", exit, action {usefull = 1;}; - -menu wdtype, title "Choix du type de disque"; - display action { msg_display (MSG_wdtype, diskdev); }; - option "IDE", exit; - option "ESDI", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - option "ST506", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - - -menu dlgeom, title "Choisissez une option"; - display action { msg_display (MSG_dlgeom, diskdev, dlcyl, dlhead, - dlsec, disk->dd_cyl, disk->dd_head, - disk->dd_sec); - }; - option "Utilisation de la géométrie réelle", exit, action { - dlcyl = disk->dd_cyl; - dlhead = disk->dd_head; - dlsec = disk->dd_sec; - }; - option "Utilisation de la géométrie du disklabel", exit, action { - disk->dd_cyl = dlcyl; - disk->dd_head = dlhead; - disk->dd_sec = dlsec; - }; - -menu editparttable, title "Choisissez votre partition", exit; - display action { msg_display (MSG_editparttable); - disp_cur_part(&mbr.mbr_parts[0], activepart, -1); - }; - option "Edition de la partition 0", sub menu editpart, - action { editpart = 0; }; - option "Edition de la partition 1", sub menu editpart, - action { editpart = 1; }; - option "Edition de la partition 2", sub menu editpart, - action { editpart = 2; }; - option "Edition de la partition 3", sub menu editpart, - action { editpart = 3; }; - option "Changer d'untité", - action { reask_sizemult(bcylsize); }; - -menu editpart, title "Changement"; - display action { msg_display (MSG_editpart, editpart); - disp_cur_part(&mbr.mbr_parts[0], editpart, -1); - msg_display_add(MSG_newline); - }; - option "du type de FS", sub menu chooseid; - option "du Début et de la taille", action { edit_ptn_bounds(); }; - option "Rendre la partition active", action { activepart = editpart; }; - option "Partition OK", exit; - -menu chooseid, title "Type de Partition?"; - option "NetBSD", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_NETBSD; - }; - option "DOS < 32 Meg", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16S; - }; - option "DOS > 32 Meg", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16B; - }; - option "inutilis'e", exit, action - { - part[editpart].mbrp_typ = 0; - }; - option "ne pas modifier", exit; - -menu cyl1024; - display action { - msg_display(MSG_cyl1024); - }; - option "Rééditer le secteur de boot et le label", exit, action - { - /* XXX UGH */ - extern int c1024_resp; - - c1024_resp = 1; - }; - option "Rééditer le label", exit, action - { - extern int c1024_resp; - - c1024_resp = 2; - }; - option "L'utiliser tout de même", exit, action - { - extern int c1024_resp; - - c1024_resp = 3; - }; - -menu editfsparts, y=13, exit; - display action { - ask_sizemult(dlcylsize); - msg_display(MSG_fspart, multname); - disp_cur_fspart(-1, 1); - }; - option "Changer a", action { editpart = A;}, sub menu edfspart; - option "Changer b", action { editpart = B;}, sub menu edfspart; - option "Partition de NetBSD - Changement impossible", action {}; - option "Totalité du disque - Changement impossible", action {}; - option "Changer e", action { editpart = E;}, sub menu edfspart; - option "Changer f", action { editpart = F;}, sub menu edfspart; - option "Changer g", action { editpart = G;}, sub menu edfspart; - option "Changer h", action { editpart = H;}, sub menu edfspart; - option "Changer i", action { editpart = I;}, sub menu edfspart; - option "Changer j", action { editpart = J;}, sub menu edfspart; - option "Changer k", action { editpart = K;}, sub menu edfspart; - option "Changer l", action { editpart = L;}, sub menu edfspart; - option "Changer m", action { editpart = M;}, sub menu edfspart; - option "Changer n", action { editpart = N;}, sub menu edfspart; - option "Changer o", action { editpart = O;}, sub menu edfspart; - option "Changer p", action { editpart = P;}, sub menu edfspart; - option "Changer d'unité", action { reask_sizemult(dlcylsize); }; - - -menu md_distcustom, x=26, y=5, exit, title "Sélection des composants"; - display action { show_cur_distsets (); }; - option "Kernel (GENERIC)", action { toggle_getit (0); }; - option "Kernel (GENERIC_TINY)", action { toggle_getit (1); }; - option "Kernel (GENERIC_LAPTOP)", action { toggle_getit (2); }; - option "Kernel (GENERIC_DIAGNOSTIC)", action { toggle_getit (3); }; - option "Kernel (GENERIC_PS2TINY)", action { toggle_getit (4); }; - option "Base", action { toggle_getit (5); }; - option "System (/etc)", action { toggle_getit (6); }; - option "Outils de développement", action { toggle_getit (7); }; - option "Jeux", action { toggle_getit (8); }; - option "Pages de manuel", action { toggle_getit (9); }; - option "Divers", action { toggle_getit (10); }; - option "Outils de manipulation de textes", action { toggle_getit (11); }; - option "X11 base et clients", action { toggle_getit (12); }; - option "X11 polices", action { toggle_getit (13); }; - option "X11 serveurs", action { toggle_getit (14); }; - option "X11 clients contribués", action { toggle_getit (15); }; - option "X11 développement", action { toggle_getit (16); }; - option "X11 Misc.", action { toggle_getit (17); }; - -menu biosonematch; - option "C'est le bon géométrie", exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option "Entrer la géométrie", exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu biosmultmatch; - option "Utiliser l'un de ces disques", exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - int sel; - char res[80]; - - do { - strcpy(res, "0"); - msg_prompt(MSG_pickdisk, res, res, 80); - sel = atoi(res); - } while (sel < 0 || sel >= nativedisk->ni_nmatches); - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option "Entrer la géométrie", exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu configbootsel, title "Changer une entree du menu", exit; - display action { disp_bootsel(); }; - option "Changer l'entrée 0 du menu", - action { edit_bootsel_entry(0); }; - option "Changer l'entrée 1 du menu", - action { edit_bootsel_entry(1); }; - option "Changer l'entrée 2 du menu", - action { edit_bootsel_entry(2); }; - option "Changer l'entrée 3 du menu", - action { edit_bootsel_entry(3); }; - option "Changer le temps d'attente", - action { edit_bootsel_timeout(); }; - option "Changer le choix par defaut", sub menu defaultbootsel; - -menu defaultbootsel, title "Choisissez un disque ou partition"; - option "Première partition active", exit, - action { mbs->mbrb_defkey = SCAN_ENTER; }; - option "Partition 0", exit, - action { edit_bootsel_default_ptn(0); }; - option "Partition 1", exit, - action { edit_bootsel_default_ptn(1); }; - option "Partition 2", exit, - action { edit_bootsel_default_ptn(2); }; - option "Partition 3", exit, - action { edit_bootsel_default_ptn(3); }; - option "Disque dur 0", exit, - action { edit_bootsel_default_disk(0); }; - option "Disque dur 1", exit, - action { edit_bootsel_default_disk(1); }; - option "Disque dur 2", exit, - action { edit_bootsel_default_disk(2); }; - option "Disque dur 3", exit, - action { edit_bootsel_default_disk(3); }; - option "Disque dur 4", exit, - action { edit_bootsel_default_disk(4); }; - option "Disque dur 5", exit, - action { edit_bootsel_default_disk(5); }; diff --git a/distrib/utils/sysinst/arch/i386/menus.md.pl b/distrib/utils/sysinst/arch/i386/menus.md.pl deleted file mode 100644 index 31fa549df42..00000000000 --- a/distrib/utils/sysinst/arch/i386/menus.md.pl +++ /dev/null @@ -1,283 +0,0 @@ -/* $NetBSD: menus.md.pl,v 1.8 2003/05/07 19:02:58 dsl Exp $ */ - -/* - * Copyright 1997 Piermont Information Systems Inc. - * All rights reserved. - * - * Written by Philip A. Nelson for Piermont Information Systems Inc. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed for the NetBSD Project by - * Piermont Information Systems Inc. - * 4. The name of Piermont Information Systems Inc. may not be used to endorse - * or promote products derived from this software without specific prior - * written permission. - * - * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS'' - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - * - */ - -/* Menu definitions for sysinst. i386 version, machine dependent. */ - -menu getboottype, title "Wybor bootblokow"; - option "Uzyj normalnych bootblokow", exit, action - {boottype = "normal";}; - option "Uzyj bootblokow na zewn. konsole (9600)", exit, action - {boottype = "serial9600";}; - option "Uzyj bootblokow na zewn. konsole (38400)", exit, action - {boottype = "serial38400";}; - option "Uzyj bootblokow na zewn. konsole (57600)", exit, action - {boottype = "serial57600";}; - option "Uzyj bootblokow na zewn. konsole (115200)", exit, action - {boottype = "serial115200";}; - -menu fullpart, title "Wybierz"; - option "Uzyj tylko czesci dysku", exit, action {usefull = 0;}; - option "Uzyj calego dysku", exit, action {usefull = 1;}; - -menu wdtype, title "Wybierz typ"; - display action { msg_display (MSG_wdtype, diskdev); }; - option "IDE", exit; - option "ESDI", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - option "ST506", exit, action - { msg_display (MSG_sectforward); - process_menu (MENU_yesno); - if (yesno) - doessf = "sf:"; - }; - - -menu dlgeom, title "Wybierz opcje"; - display action { msg_display (MSG_dlgeom, diskdev, dlcyl, dlhead, - dlsec, disk->dd_cyl, disk->dd_head, - disk->dd_sec); - }; - option "Uzyj prawdziwej geometrii", exit, action { - dlcyl = disk->dd_cyl; - dlhead = disk->dd_head; - dlsec = disk->dd_sec; - }; - option "Uzyj geometrii disklabel", exit, action { - disk->dd_cyl = dlcyl; - disk->dd_head = dlhead; - disk->dd_sec = dlsec; - }; - -menu editparttable, title "Wybierz swoje partycje", exit; - display action { msg_display (MSG_editparttable); - disp_cur_part(&mbr.mbr_parts[0], activepart, -1); - }; - option "Edytuj partycje 0", sub menu editpart, - action { editpart = 0; }; - option "Edytuj partycje 1", sub menu editpart, - action { editpart = 1; }; - option "Edytuj partycje 2", sub menu editpart, - action { editpart = 2; }; - option "Edytuj partycje 3", sub menu editpart, - action { editpart = 3; }; - option "Zmien specyfikator rozmiaru", - action { reask_sizemult(bcylsize); }; - -menu editpart, title "Wybierz aby zmienic"; - display action { msg_display (MSG_editpart, editpart); - disp_cur_part(&mbr.mbr_parts[0], editpart, -1); - msg_display_add(MSG_newline); - }; - option "Rodzaj", sub menu chooseid; - option "Poczatek i rozmiar", action { edit_ptn_bounds(); }; - option "Ustaw aktywna", action { activepart = editpart; }; - option "Partycje OK", exit; - -menu chooseid, title "Rodzaj partycji?"; - option "NetBSD", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_NETBSD; - }; - option "DOS < 32 Meg", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16S; - }; - option "DOS > 32 Meg", exit, action - { - part[editpart].mbrp_typ = MBR_PTYPE_FAT16B; - }; - option "nie uzywana", exit, action - { - part[editpart].mbrp_typ = 0; - }; - option "nie zmienia", exit; - -menu cyl1024; - display action { - msg_display(MSG_cyl1024); - }; - option "Zmien MBR i disklabel", exit, action - { - /* XXX UGH */ - extern int c1024_resp; - - c1024_resp = 1; - }; - option "Zmien disklabel", exit, action - { - extern int c1024_resp; - - c1024_resp = 2; - }; - option "Uzyj, mimo to", exit, action - { - extern int c1024_resp; - - c1024_resp = 3; - }; - -menu editfsparts, y=13, exit; - display action { - ask_sizemult(dlcylsize); - msg_display(MSG_fspart, multname); - disp_cur_fspart(-1, 1); - }; - option "Zmien a", action { editpart = A;}, sub menu edfspart; - option "Zmien b", action { editpart = B;}, sub menu edfspart; - option "partycja NetBSD - nie mozna zmienic", action {}; - option "Caly dysk - nie mozna zmienic", action {}; - option "Zmien e", action { editpart = E;}, sub menu edfspart; - option "Zmien f", action { editpart = F;}, sub menu edfspart; - option "Zmien g", action { editpart = G;}, sub menu edfspart; - option "Zmien h", action { editpart = H;}, sub menu edfspart; - option "Zmien i", action { editpart = I;}, sub menu edfspart; - option "Zmien j", action { editpart = J;}, sub menu edfspart; - option "Zmien k", action { editpart = K;}, sub menu edfspart; - option "Zmien l", action { editpart = L;}, sub menu edfspart; - option "Zmien m", action { editpart = M;}, sub menu edfspart; - option "Zmien n", action { editpart = N;}, sub menu edfspart; - option "Zmien o", action { editpart = O;}, sub menu edfspart; - option "Zmien p", action { editpart = P;}, sub menu edfspart; - option "Ustaw nowy przydzial rozmiarow", action { reask_sizemult(dlcylsize); }; - - -menu md_distcustom, x=26, y=5, exit, title "Wybierz"; - display action { show_cur_distsets (); }; - option "Kernel (GENERIC)", action { toggle_getit (0); }; - option "Kernel (GENERIC_TINY)", action { toggle_getit (1); }; - option "Kernel (GENERIC_LAPTOP)", action { toggle_getit (2); }; - option "Kernel (GENERIC_DIAGNOSTIC)", action { toggle_getit (3); }; - option "Kernel (GENERIC_PS2TINY)", action { toggle_getit (4); }; - option "Base", action { toggle_getit (5); }; - option "System (/etc)", action { toggle_getit (6); }; - option "Compiler Tools", action { toggle_getit (7); }; - option "Games", action { toggle_getit (8); }; - option "Online manual pages", action { toggle_getit (9); }; - option "Miscellaneous", action { toggle_getit (10); }; - option "Text Processing Tools", action { toggle_getit (11); }; - option "X11 base and clients", action { toggle_getit (12); }; - option "X11 fonts", action { toggle_getit (13); }; - option "X11 servers", action { toggle_getit (14); }; - option "X contrib clients", action { toggle_getit (15); }; - option "X11 programming", action { toggle_getit (16); }; - option "X11 Misc.", action { toggle_getit (17); }; - -menu biosonematch; - option "To jest prawidlowa geometria", exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option "Ustaw geometrie recznie", exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu biosmultmatch; - option "Uzyj jednego z tych dyskow", exit, action { - extern struct disklist *disklist; - extern struct nativedisk_info *nativedisk; - struct biosdisk_info *bip; - extern struct biosdisk_info *biosdisk; - int sel; - char res[80]; - - do { - strcpy(res, "0"); - msg_prompt(MSG_pickdisk, res, res, 80); - sel = atoi(res); - } while (sel < 0 || sel >= nativedisk->ni_nmatches); - bip = &disklist->dl_biosdisks[nativedisk->ni_biosmatches[0]]; - bcyl = bip->bi_cyl; - bhead = bip->bi_head; - bsec = bip->bi_sec; - biosdisk = bip; - }; - option "Ustaw geometrie recznie", exit, action { - set_bios_geom(dlcyl, dlhead, dlsec); - biosdisk = NULL; - }; - -menu configbootsel, y=16, title "Zmien bootmenu", exit; - display action { disp_bootsel(); }; - option "Edytuj wpis 0", - action { edit_bootsel_entry(0); }; - option "Edytuj wpis 1", - action { edit_bootsel_entry(1); }; - option "Edytuj wpis 2", - action { edit_bootsel_entry(2); }; - option "Edytuj wpis 3", - action { edit_bootsel_entry(3); }; - option "Ustaw opoznienie", - action { edit_bootsel_timeout(); }; - option "Ustaw domyslna opcje", sub menu defaultbootsel; - -menu defaultbootsel, title "Wybierz domyslna partycje/dysk do uruchomiania"; - option "Pierwsza aktywna partycja", exit, - action { mbs->mbrb_defkey = SCAN_ENTER; }; - option "Partycja 0", exit, - action { edit_bootsel_default_ptn(0); }; - option "Partycja 1", exit, - action { edit_bootsel_default_ptn(1); }; - option "Partycja 2", exit, - action { edit_bootsel_default_ptn(2); }; - option "Partycja 3", exit, - action { edit_bootsel_default_ptn(3); }; - option "Dysk twardy 0", exit, - action { edit_bootsel_default_disk(0); }; - option "Dysk twardy 1", exit, - action { edit_bootsel_default_disk(1); }; - option "Dysk twardy 2", exit, - action { edit_bootsel_default_disk(2); }; - option "Dysk twardy 3", exit, - action { edit_bootsel_default_disk(3); }; - option "Dysk twardy 4", exit, - action { edit_bootsel_default_disk(4); }; - option "Dysk twardy 5", exit, - action { edit_bootsel_default_disk(5); }; |
