Dear developer list,

could anyone please help me out with a config.sys/autoexec.bat 
implementation of NLS-specific settings?
I'm horribly confused by how startup files should look, as to my 
knowledge we've got the following:
* COUNTRY in config.sys (harddisk installation) versus no such setting 
(bootdisks, as the file takes up too much space)
* stable kernels (no COUNTRY support) versus unstable kernels 
(experimental COUNTRY support)
* official MSDOS way of codepage setting versus FreeDOS adhoc settings 
(NLSFUNC related?)

This involves the following:
* COUNTRY= (config.sys, COUNTRY.SYS / COUNTRY2.SYS / COUNTRY3.SYS)
* DISPLAY (a TSR by Aitor, versus device driver in MSDOS)
* NLSFUNC (with optional COUNTRY support, but only if not listed in 
config.sys yet?)
* MODE versus MODECON versus different configurations whether or not 
COUNTRY= is set?
* CHCP (internal command to FreeCOM)
* KEYB (and CPI/CPX files)

I'd like to add above in a working configuration for a FreeDOS 1.1 
(work-in-progress) including kernel 2040 (stable, with support for 
nlsfunc/country) but so many settings to consider it's hurting my head.

Along with that there's ofcourse a few more annoying issues:
* DEVLOAD /H (devload 3.21) bails out entirely of loading a device 
driver in no-UMB environments. I dislike having to make 2 or more 
entries for simply loading a CD driver. Non-optimal result thus for 
options 1 and 2
* EDIT 0.9a prints its version and DFLAT banner at every invocation.
* FreeCOM unfortunately allows environment variables to end with empty 
spaces instead of stripping them.
* I'm not sure which version of SHARE to include, there's quite a few of 
them floating around the internet

Bernd

(FD)CONFIG.SYS so far:
!COUNTRY=001,437,C:\FDOS\BIN\COUNTRY.SYS
!SET DOSDIR=C:\FDOS
!LASTDRIVE=Z
!BUFFERS=20
!FILES=40
!MENUCOLOR=7,0
MENUDEFAULT=1,5
MENU 1 - Load FreeDOS with JEMMEX, no EMS (most UMBs), max RAM free
MENU 2 - Load FreeDOS with EMM386+EMS and SHARE
MENU 3 - Load FreeDOS including HIMEM XMS-memory driver
MENU 4 - Load FreeDOS without drivers
123?DOS=HIGH
12?DOS=UMB
12?DOSDATA=UMB
1?DEVICE=C:\FDOS\BIN\JEMMEX.EXE NOEMS X=TEST
2?DEVICE=C:\FDOS\BIN\HIMEMX.EXE
2?DEVICE=C:\FDOS\BIN\JEMM386.EXE X=TEST I=B000-B7FF
3?DEVICE=C:\FDOS\BIN\XMGR.SYS
3?SHELL=C:\FDOS\BIN\4DOS.COM C:\FDOS\BIN /E:1024 /P:C:\AUTOEXEC.BAT
4?SHELL=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024 /P=C:\AUTOEXEC.BAT
12?SHELLHIGH=C:\FDOS\BIN\COMMAND.COM C:\FDOS\BIN /E:1024 /P=C:\AUTOEXEC.BAT

Autoexec.bat so far:
@echo off
SET LANG=EN
SET PATH=%dosdir%\BIN
SET NLSPATH=%dosdir%\NLS
SET HELPPATH=%dosdir%\HELP
SET TEMP=%dosdir%\TEMP
SET TMP=%dosdir%\TEMP
SET WATTCP.CFG=%dosdir%
SET MTCPCFG=%dosdir%\MTCP.CFG
SET BLASTER=A220 I5 D1 H5 P330
SET DIRCMD=/P /OGN /4
if "%config%"=="4" goto end
DOSLFN
SHSUCDX /QQ /D3
IF EXIST FDBOOTCD.ISO LH SHSUCDHD /Q /F:FDBOOTCD.ISO
LH FDAPM APMDOS
if "%config%"=="2" LH SHARE
MOUSE
DEVLOAD /Q %dosdir%\BIN\UIDE.SYS /D:FDCD0001 /S5
ShsuCDX /QQ /~ /D:?SHSU-CDH /D:?FDCD0001 /D:?FDCD0002 /D:?FDCD0003
goto end
:end
MEM /C /N
if not "%config%"=="" SHSUCDX /D
SET CFGFILE=C:\FDCONFIG.SYS
SET AUTOFILE=%0
alias reboot=fdapm warmboot
alias halt=fdapm poweroff
echo Done processing startup files %cfgfile% and %0
echo Type HELP to get support on commands and navigation
echo.
echo Welcome to the FreeDOS 1.1 operating system (http://www.freedos.org)

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to