[BACK]Return to menus.mi CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / distrib / utils / sysinst

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/distrib/utils/sysinst/Attic/menus.mi between version 1.16.2.1.2.2 and 1.17

version 1.16.2.1.2.2, 2005/08/28 21:38:38 version 1.17, 2004/06/05 21:18:59
Line 79  menu selfskind, title MSG_Select_the_typ
Line 79  menu selfskind, title MSG_Select_the_typ
         };          };
         option "unused", exit, action          option "unused", exit, action
             { memset(arg, 0, sizeof (partinfo)); };              { memset(arg, 0, sizeof (partinfo)); };
         option "FFSv1", exit, action { set_ptype(arg, FS_BSDFFS, 0); };          option "FFSv1", exit, action
         option "FFSv2", exit, action { set_ptype(arg, FS_BSDFFS, PIF_FFSv2); };              { set_ptype(arg, FS_BSDFFS, 0, 8192); };
         option "swap",  exit, action { set_ptype(arg, FS_SWAP, 0); };          option "FFSv2", exit, action
         option "msdos", exit, action { set_ptype(arg, FS_MSDOS, 0); };              { set_ptype(arg, FS_BSDFFS, PIF_FFSv2, 8192); };
         option "LFS",   exit, action { set_ptype(arg, FS_BSDLFS, 0); };          option "swap", exit, action
               { set_ptype(arg, FS_SWAP, 0, 0); };
           option "msdos", exit, action
               { set_ptype(arg, FS_MSDOS, 0, 0); };
           option "LFS", exit, action
               { set_ptype(arg, FS_BSDLFS, 0, 8192); };
         option MSG_other_types, action          option MSG_other_types, action
             { extern int all_fstype_menu;              { extern int all_fstype_menu;
               m->opts[m->cursel].opt_menu = all_fstype_menu; };                m->opts[m->cursel].opt_menu = all_fstype_menu; };
Line 120  menu selfsize, title MSG_Select_file_sys
Line 125  menu selfsize, title MSG_Select_file_sys
         option "32768", exit, action { set_fsize(arg, 32768); };          option "32768", exit, action { set_fsize(arg, 32768); };
   
 menu mountoptions, title MSG_toggle, y=5, x=30, exitstring MSG_unchanged;  menu mountoptions, title MSG_toggle, y=5, x=30, exitstring MSG_unchanged;
         display action {  
                 static int actual_numopt;  
                 if (!actual_numopt)  
                         actual_numopt = menu->numopts;  
                 menu->numopts = actual_numopt -  
                         (((partinfo *)arg)->pi_fstype !=  FS_BSDFFS);  
         };  
         option "async", exit, action          option "async", exit, action
                 { ((partinfo *)arg)->pi_flags ^= PIF_ASYNC; };                  { ((partinfo *)arg)->pi_flags ^= PIF_ASYNC; };
         option "noatime", exit, action          option "noatime", exit, action
Line 186  menu ok, no shortcut, y=-10;
Line 184  menu ok, no shortcut, y=-10;
         display action { menu->title = arg; };          display action { menu->title = arg; };
         option MSG_Hit_enter_to_continue, exit;          option MSG_Hit_enter_to_continue, exit;
   
 menu layout, sub menu, y=-1, title  MSG_Choose_your_installation;  menu layout, y=-1, title  MSG_Choose_your_installation;
         option MSG_Set_Sizes,     exit, action { layoutkind = 1; };          option MSG_Set_Sizes,     exit, action { layoutkind = 1; };
         option MSG_Use_Existing,  exit, action { layoutkind = 4; };          option MSG_Use_Existing,  exit, action { layoutkind = 4; };
   
 menu sizechoice, sub menu, y=0, title MSG_Choose_your_size_specifier;  menu sizechoice, title  MSG_Choose_your_size_specifier;
         display action {          display action {
                 if (sizemult == current_cylsize)                  if (sizemult == current_cylsize)
                         menu->cursel = 1;                          menu->cursel = 1;
Line 212  menu sizechoice, sub menu, y=0, title MS
Line 210  menu sizechoice, sub menu, y=0, title MS
   
 menu distmedium, title MSG_Select_medium;  menu distmedium, title MSG_Select_medium;
         display action { umount_mnt2(); msg_display(MSG_distmedium); };          display action { umount_mnt2(); msg_display(MSG_distmedium); };
         option MSG_cdrom,     exit, action { *(int *)arg = get_via_cdrom(); };          option MSG_ftp,       exit, action { *(int *)arg = get_via_ftp(); };
         option MSG_ftp,       exit, action { *(int *)arg = get_via_ftp("ftp"); };  
         option MSG_http,      exit, action { *(int *)arg = get_via_ftp("http"); };  
         option MSG_nfs,       exit, action { *(int *)arg = get_via_nfs(); };          option MSG_nfs,       exit, action { *(int *)arg = get_via_nfs(); };
           option MSG_cdrom,     exit, action { *(int *)arg = get_via_cdrom(); };
         option MSG_floppy,    exit, action { *(int *)arg = get_via_floppy(); };          option MSG_floppy,    exit, action { *(int *)arg = get_via_floppy(); };
         option MSG_local_fs,  exit, action { *(int *)arg = get_via_localfs(); };          option MSG_local_fs,  exit, action { *(int *)arg = get_via_localfs(); };
         option MSG_local_dir, exit, action { *(int *)arg = get_via_localdir();};          option MSG_local_dir, exit, action { *(int *)arg = get_via_localdir();};
Line 229  menu distset, title MSG_Select_your_dist
Line 226  menu distset, title MSG_Select_your_dist
 menu ftpsource, title MSG_Change;  menu ftpsource, title MSG_Change;
         display action {          display action {
                 msg_clear();                  msg_clear();
                 msg_table_add(MSG_ftpsource, arg, ftp_host, ftp_dir, set_dir,                  msg_table_add(MSG_ftpsource, ftp_host, ftp_dir, set_dir,
                     ftp_user, strcmp(ftp_user, "ftp") == 0 || ftp_pass[0] == 0                      ftp_user, strcmp(ftp_user, "ftp") == 0 || ftp_pass[0] == 0
                         ? ftp_pass : msg_string(MSG_hidden),                          ? ftp_pass : msg_string(MSG_hidden),
                     ftp_proxy);                      ftp_proxy);
Line 260  menu ftpsource, title MSG_Change;
Line 257  menu ftpsource, title MSG_Change;
         option MSG_Proxy, action          option MSG_Proxy, action
                 { msg_prompt_win(MSG_Proxy, -1, 12, 0, 0,                  { msg_prompt_win(MSG_Proxy, -1, 12, 0, 0,
                                 ftp_proxy, ftp_proxy, sizeof ftp_proxy);                                  ftp_proxy, ftp_proxy, sizeof ftp_proxy);
                   if (strcmp(ftp_proxy, "") == 0) {                    if (strcmp(ftp_proxy, "") == 0)
                         unsetenv("ftp_proxy");                          unsetenv("ftp_proxy");
                         unsetenv("http_proxy");                    else
                   } else {  
                         setenv("ftp_proxy", ftp_proxy, 1);                          setenv("ftp_proxy", ftp_proxy, 1);
                         setenv("http_proxy", ftp_proxy, 1);  
                   }  
                 };                  };
         option MSG_Get_Distribution, exit;          option MSG_Get_Distribution, exit;
   
Line 397  menu namesrv6, title MSG_Select_IPv6_DNS
Line 391  menu namesrv6, title MSG_Select_IPv6_DNS
                 { yesno = 0; };                  { yesno = 0; };
   
 menu rootsh, title MSG_Root_shell;  menu rootsh, title MSG_Root_shell;
         option "/bin/sh",  exit, action {*(const char **)arg = "/bin/sh";};          option "/bin/csh", exit, action {shellpath = "/bin/csh";};
         option "/bin/ksh", exit, action {*(const char **)arg = "/bin/ksh";};          option "/bin/ksh", exit, action {shellpath = "/bin/ksh";};
         option "/bin/csh", exit, action {*(const char **)arg = "/bin/csh";};          option "/bin/sh",  exit, action {shellpath = "/bin/sh";};
   
 menu extract, title MSG_Select_set_extraction_verbosity;  menu extract, title MSG_Select_set_extraction_verbosity;
         display action { menu->cursel = *(int *)arg; };          display action { menu->cursel = *(int *)arg; };

Legend:
Removed from v.1.16.2.1.2.2  
changed lines
  Added in v.1.17

CVSweb <webmaster@jp.NetBSD.org>