diff --git a/Makefile.global.in b/Makefile.global.in
index f8e3c43f..6b6ca2cd 100644
--- a/Makefile.global.in
+++ b/Makefile.global.in
@@ -13,6 +13,7 @@ PREFIX = @prefix@
BINDIR = @prefix@/bin
ETCDIR = @prefix@/etc
DOCDIR = @prefix@/doc
+VARDIR = @prefix@/var
OWNER = @OWNER@
GROUP = @GROUP@
ROWNER = @ROWNER@
diff --git a/html/doors.html b/html/doors.html
index 454670ca..feed639d 100644
--- a/html/doors.html
+++ b/html/doors.html
@@ -74,9 +74,37 @@ is very important! Type the following commands:
mbse@seaport:~$ umask 007
mbse@seaport:~$ cd var/dosemu/c
-mbse@seaport:~/var/dosemu/c$ mkdir dos dosemu temp util
+mbse@seaport:~/var/dosemu/c$ mkdir dos dosemu temp util doors
-To be continued....
+Now we must install dos. If you use ms-dos then in ~/var/dosemu/c
+copy the ms-dos files command.com
, io.sys
and
+msdos.sys
. In ~/var/dosemu/c/dos
copy all ms-dos
+commands. Next install the dosemu utilities, copy these from
+/usr/share/dosemu/freedos/dosemu
to
+~/var/dosemu/c/dosemu
. Now there is a empty
+~/var/dosemu/c/util
, copy some utilities here such as your
+favourite dos editor, zip and unzip etc.
+Next we must create config.sys
and autoexec.bat
. These
+files must be dos crlf formatted. You can do that with the joe editor, for
+example joe -crlf config.sys
. Examples:
+config.sys
+
+BUFFERS = 20
+DEVICE=C:\DOS\SETVER.EXE
+SET TEMP=C:\TEMP
+DOS=HIGH,UMB
+FILES=50
+
+autoexec.bat
+
+@ECHO OFF
+PROMPT $P$G
+PATH C:\DOSEMU;C:\DOS;C:\UTIL;
+SET TEMP=C:\TEMP
+Lh C:\DOS\DOSKEY /INSERT
+Lh C:\DOS\SHARE
+
+
What if I don't upgrade
diff --git a/script/Makefile b/script/Makefile
index 0596fa76..f5c5c647 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -5,7 +5,8 @@ include ../Makefile.global
OTHER = Makefile README maint midnight weekly monthly installinit.sh setup.mbse \
bbsdoor.sh rundoor.sh runvirtual.sh init.Debian init.RedHat init.FreeBSD init.NetBSD \
- init.Slackware init.SuSE init.Gentoo hatch editor.in bbsjoerc bbsjmacsrc
+ init.Slackware init.SuSE init.Gentoo hatch editor.in bbsjoerc bbsjmacsrc \
+ doors.bat mbsedos
####################################################################################################
@@ -85,6 +86,8 @@ install:
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 runvirtual.sh ${BINDIR}/runvirtual.sh.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 runvirtual.sh ${BINDIR}/runvirtual.sh.new" ; \
fi
+ ${INSTALL} -o ${OWNER} -g ${GROUP} -m 0440 doors.bat ${VARDIR}/dosemu/c
+ ${INSTALL} -o ${OWNER} -g ${GROUP} -m 0744 mbsedos ${BINDIR}
@bash ./installinit.sh
filelist: Makefile
diff --git a/script/doors.bat b/script/doors.bat
new file mode 100644
index 00000000..a22ad7d9
--- /dev/null
+++ b/script/doors.bat
@@ -0,0 +1,22 @@
+@echo off
+
+rem $Id$
+
+rem doors.bat started by mbsebbs when starting a door program.
+rem The first parameter must be tha name of the door, in the
+rem c:\doors directory must be a .bat file with the name of
+rem the door.
+rem If the door is named "dos" then no door is started but we
+rem stay in the dos shell. This can be used by the sysop to
+rem manually install and maintain doors. If you don't like that
+rem then comment out the next line.
+
+if %1==dos goto end
+
+c:
+cd \doors
+if exist %1.bat call %1 %2 %3 %4 %5 %6 %7 %8 %9
+c:\dosemu\exitemu
+
+:end
+echo Welcome to the DOS (door) shell, type EXITEMU to leave.
diff --git a/script/mbsedos b/script/mbsedos
new file mode 100644
index 00000000..803586c8
--- /dev/null
+++ b/script/mbsedos
@@ -0,0 +1,3 @@
+#!/bin/sh
+#
+# $Id$