Subversion Repositories SvarDOS

Rev

Rev 700 | Rev 865 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 700 Rev 817
Line 638... Line 638...
638
  fd = fopen(buff, "wb");
638
  fd = fopen(buff, "wb");
639
  if (fd == NULL) return;
639
  if (fd == NULL) return;
640
  fprintf(fd, "@ECHO OFF\r\n");
640
  fprintf(fd, "@ECHO OFF\r\n");
641
  fprintf(fd, "SET TEMP=C:\\TEMP\r\n");
641
  fprintf(fd, "SET TEMP=C:\\TEMP\r\n");
642
  fprintf(fd, "SET DOSDIR=C:\\SVARDOS\r\n");
642
  fprintf(fd, "SET DOSDIR=C:\\SVARDOS\r\n");
643
  fprintf(fd, "SET NLSPATH=%%DOSDIR%%\\NLS\r\n");
643
  fprintf(fd, "SET NLSPATH=%%DOSDIR%%\\NLS;.\r\n");
644
  fprintf(fd, "SET DIRCMD=/OGNE/P/4\r\n");
644
  fprintf(fd, "SET DIRCMD=/OGNE/P/4\r\n");
645
  fprintf(fd, "SET WATTCP.CFG=%%DOSDIR%%\\CFG\r\n");
645
  fprintf(fd, "SET WATTCP.CFG=%%DOSDIR%%\\CFG\r\n");
646
  fprintf(fd, "PATH %%DOSDIR%%\\BIN\r\n");
646
  fprintf(fd, "PATH %%DOSDIR%%\\BIN\r\n");
647
  fprintf(fd, "PROMPT $P$G\r\n");
647
  fprintf(fd, "PROMPT $P$G\r\n");
648
  fprintf(fd, "ALIAS REBOOT=FDAPM COLDBOOT\r\n");
648
  fprintf(fd, "ALIAS REBOOT=FDAPM COLDBOOT\r\n");
Line 867... Line 867...
867
 
867
 
868
 SelectLang:
868
 SelectLang:
869
  action = selectlang(&locales); /* welcome to svardos, select your language */
869
  action = selectlang(&locales); /* welcome to svardos, select your language */
870
  if (action != MENUNEXT) goto Quit;
870
  if (action != MENUNEXT) goto Quit;
871
  loadcp(&locales);
871
  loadcp(&locales);
872
  svarlang_load("INSTALL", locales.lang, ".\\"); /* NLS support */
872
  svarlang_load("INSTALL", locales.lang, NULL); /* NLS support */
873
  action = selectkeyb(&locales);  /* what keyb layout should we use? */
873
  action = selectkeyb(&locales);  /* what keyb layout should we use? */
874
  if (action == MENUQUIT) goto Quit;
874
  if (action == MENUQUIT) goto Quit;
875
  if (action == MENUPREV) goto SelectLang;
875
  if (action == MENUPREV) goto SelectLang;
876
 
876
 
877
 WelcomeScreen:
877
 WelcomeScreen: