Updates for installing dosemu
This commit is contained in:
parent
dedb313970
commit
7c4365d2f6
@ -13,6 +13,7 @@ PREFIX = @prefix@
|
|||||||
BINDIR = @prefix@/bin
|
BINDIR = @prefix@/bin
|
||||||
ETCDIR = @prefix@/etc
|
ETCDIR = @prefix@/etc
|
||||||
DOCDIR = @prefix@/doc
|
DOCDIR = @prefix@/doc
|
||||||
|
VARDIR = @prefix@/var
|
||||||
OWNER = @OWNER@
|
OWNER = @OWNER@
|
||||||
GROUP = @GROUP@
|
GROUP = @GROUP@
|
||||||
ROWNER = @ROWNER@
|
ROWNER = @ROWNER@
|
||||||
|
@ -74,9 +74,37 @@ is very important! Type the following commands:
|
|||||||
<pre>
|
<pre>
|
||||||
mbse@seaport:~$ umask 007
|
mbse@seaport:~$ umask 007
|
||||||
mbse@seaport:~$ cd var/dosemu/c
|
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
|
||||||
</pre>
|
</pre>
|
||||||
To be continued....
|
Now we must install dos. If you use ms-dos then in <code>~/var/dosemu/c</code>
|
||||||
|
copy the ms-dos files <code>command.com</code>, <code>io.sys</code> and
|
||||||
|
<code>msdos.sys</code>. In <code>~/var/dosemu/c/dos</code> copy all ms-dos
|
||||||
|
commands. Next install the dosemu utilities, copy these from
|
||||||
|
<code>/usr/share/dosemu/freedos/dosemu</code> to
|
||||||
|
<code>~/var/dosemu/c/dosemu</code>. Now there is a empty
|
||||||
|
<code>~/var/dosemu/c/util</code>, copy some utilities here such as your
|
||||||
|
favourite dos editor, zip and unzip etc.<br>
|
||||||
|
Next we must create <code>config.sys</code> and <code>autoexec.bat</code>. These
|
||||||
|
files must be dos crlf formatted. You can do that with the joe editor, for
|
||||||
|
example <code>joe -crlf config.sys</code>. Examples:<br>
|
||||||
|
<code>config.sys</code><br>
|
||||||
|
<pre>
|
||||||
|
BUFFERS = 20
|
||||||
|
DEVICE=C:\DOS\SETVER.EXE
|
||||||
|
SET TEMP=C:\TEMP
|
||||||
|
DOS=HIGH,UMB
|
||||||
|
FILES=50
|
||||||
|
</pre>
|
||||||
|
<code>autoexec.bat</code><br>
|
||||||
|
<pre>
|
||||||
|
@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
|
||||||
|
</pre>
|
||||||
|
|
||||||
<p> </P>
|
<p> </P>
|
||||||
|
|
||||||
<h3>What if I don't upgrade</h3>
|
<h3>What if I don't upgrade</h3>
|
||||||
|
@ -5,7 +5,8 @@ include ../Makefile.global
|
|||||||
|
|
||||||
OTHER = Makefile README maint midnight weekly monthly installinit.sh setup.mbse \
|
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 \
|
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 ; \
|
${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" ; \
|
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 runvirtual.sh ${BINDIR}/runvirtual.sh.new" ; \
|
||||||
fi
|
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
|
@bash ./installinit.sh
|
||||||
|
|
||||||
filelist: Makefile
|
filelist: Makefile
|
||||||
|
22
script/doors.bat
Normal file
22
script/doors.bat
Normal file
@ -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.
|
3
script/mbsedos
Normal file
3
script/mbsedos
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# $Id$
|
Reference in New Issue
Block a user