Mail Archives: opendos/1998/05/13/14:32:57
Captains Log, Stardate 12 May 98 9:13, Ravier, Pierre-Philippe:
: Hello,
:
: In Caldera Open-Dos 7.02, is there a way to do a multi-config config.sys and
: autoexec.bat like MS-DOS 6 and higher can do ? I know that the OpenDos can't
: use the [MENUITEM] and [MENU] commands of the config.sys (commands that are
: been introduced with the MS-DOS 6). But maybe there is a way to have a
: similar possibility by using DR-Dos specific commands.
: The problem is that I am new to Open-Dos. Could you help me, please ?
I believe (from my experiences with 7.01 that there is a command called
chain, it gets used to literally switch to another config.sys file and
execute the commands in the same manner - you then run the autoexec as
normal. I'll include my config.sys for y'all to peruse...
rem TIMEOUT = 5 ** this line sets time in seconds before system
rem ** chooses a default option for you - good for
rem ** automated systems
echo Hercules = 1
echo VGA = 2
echo Windows = 3
echo Plain = 4
SWITCH Herc, VGA, Windows, Plain
rem *** the above line controls where in the config to jump to...
rem Opendos lines...these are lines common to all configurations
rem these lines are executed after the _return_ statement in each subconfig
DEVICE=C:\OPENDOS\DPMS.EXE
?devicehigh=e:\dd260.sys /I:15 /V /P:0340 /D:MSCD001
?"Swap Capslock/Ctrl? y/N: "installhigh=f:\usr\bin\rbkeyswp.com
SHELL=C:\COMMAND.COM C:\ /E:2048 /P
HISTORY=ON,1024,ON
COUNTRY=61,,C:\OPENDOS\COUNTRY.SYS
DOS=HIGH,UMB
DEVICEHIGH=C:\OPENDOS\ANSI.SYS
STACKS=9,256
exit
:Herc
DEVICE=C:\OPENDOS\EMM386.EXE DPMI=OFF FRAME=NONE /V /R=AUTO /AUTO /MULTI
return
:Windows
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE FRAME=NONE /NOEMS
return
:VGA
DEVICE=C:\OPENDOS\EMM386.EXE DPMI=OFF FRAME=NONE /ROM=AUTO /MULTI
return
:Plain
chain c:\config2.sys
rem ^^^^^^^^^^^^^^^^ this line here defines another file (config.sys-wise)
rem to jump to and keep configuring.
Hope this helps...
---
/| _,.:*^*:., |\ Cheers from the Viking family ...
| |_/' viking@ `\_| | including Marmalade - Running OpenDOS in Christchurch!
| flying-brick | $FunnyMail 5.38 C.S. Lewis: If Man has no God,
\_.caverock.net.nz_/ then where did Man's morals come from?
- Raw text -