Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:dosemu [2020/12/17 21:19] – [Troubleshooting] mlonghowto:dosemu [2022/09/10 13:49] (current) – [Use DOS Doors with Synchronet on Linux] Added a couple links to information on getting DOSEMU2 set up and working with Synchronet Nightfox
Line 4: Line 4:
  
 :!: :!:
-DOSEMU has been discontinued for more than a decade. However, it is the only viable solution for most distributions to run DOS doors, and is supported in Synchronet.+DOSEMU has been discontinued for more than a decade. However, it is the only viable solution for most distributions to run DOS doors, and is supported in Synchronet. However, there is [[howto:dosemu2|a guide]] to installing DOSEMU2.  There is also [[https://gitlab.synchro.net/main/sbbs/-/issues/433|a Synchronet issue]] with some suggestions on how to get DOSEMU2 working with Synchronet.
  
  
Line 23: Line 23:
 For other distributions,​ you will need to first install and configure dosemu, and then install FreeDOS (or your DOS of choice) and set it up to work with dosemu. Ensure that you can at least get to a DOS prompt through standalone DOSEMU before even trying to use it with Synchronet. For other distributions,​ you will need to first install and configure dosemu, and then install FreeDOS (or your DOS of choice) and set it up to work with dosemu. Ensure that you can at least get to a DOS prompt through standalone DOSEMU before even trying to use it with Synchronet.
  
-==== Edit SBBS.INI ====+==== Edit sbbs.ini ====
  
-Modify sbbs.ini to set ''UseDOSemu = true''. You can also modify the ''DOSemuPath'' and ''DOSemuConfPath'' if you need something other than the defaults. However, normally, the Synchronet-provided ''dosemu.conf'' will be in your ''[[dir:ctrl]]'' dir and dosemu.bin will be in your system bin.+Modify the ''[BBS]'' section of your ''[[dir:ctrl]]/sbbs.ini'' to set/add ''UseDOSemu = true''. 
 + 
 +You can also modify the ''DOSemuPath'' and ''DOSemuConfPath'' values if you need something other than the defaults. However, normally, the Synchronet-provided ''dosemu.conf'' will be in your Synchronet ''[[dir:ctrl]]'' dir and ''dosemu.bin'' will be in your system ''bin'' directory, so the default values should work fine.
  
 ==== Install DOS Utils ==== ==== Install DOS Utils ====
  
-Make a ''dosutils'' directory, preferably in your ''[[dir::exec]]'' dir but you can also put it in your ''[dir::xtrn]]'' dir. (Note: if you put in your ''[dir::xtrn]]'' dir, you can use it for external editors.+Make a ''dosutils'' directory, preferably in your ''[[dir::exec]]'' dir but you can also put it in your ''[[dir::xtrn]]'' dir. (Note: if you put in your ''[[dir::xtrn]]'' dir, you can use it for external editors).
  
 Inside the ''dosutils'' directory, you'll need a FOSSIL driver (''x00.exe'' works well, but you can also use ''bnu.com'', etc.). Inside the ''dosutils'' directory, you'll need a FOSSIL driver (''x00.exe'' works well, but you can also use ''bnu.com'', etc.).
 +
 +If you aren't sure what to use, go with X00. You can get a copy at ftp://vert.synchro.net//main/COMM/x00150.zip
 +
 +Alternatively, you can get a copy of BNU at ftp://vert.synchro.net//main/COMM/bnu189h.zip
  
 You may also need ''share.com'' if it is not found in your dosemu drive. You may also need ''share.com'' if it is not found in your dosemu drive.
Line 39: Line 45:
 ==== Modify external.bat ==== ==== Modify external.bat ====
  
-The ''external.bat'' file found in your ''[[dir:exec]]'' dir is the template used to build the batch file which executes each external program. Inside this file is where you will place your call to your FOSSIL driver, under the :NOEMU section, like this: +The ''external.bat'' file found in your ''[[dir:exec]]'' dir is the template used to build the batch file which executes each external program. Inside this file is where you will place your call to your FOSSIL driver, within the '':NOEMU'' section, like this: 
- +<file> 
-''IF "$RUNTYPE" == "FOSSIL" x00.exe eliminate >NUL'' +IF "$RUNTYPE" == "FOSSIL" x00.exe eliminate >NUL 
 +</file>
 And you will also have share: And you will also have share:
  
-''@share >NUL''+<file> 
 +@share >NUL 
 +</file>
  
 ==== Setup External Programs ==== ==== Setup External Programs ====
Line 100: Line 108:
 ==== Drive Letters ==== ==== Drive Letters ====
  
-The rest of these instructions assume that you are using the default remapped drive letters and haven't changed them around in ''emusetup.bat'' or ''external.bat''. The default drive letters are: +Assuming you are using the default remapped drive letters and haven't changed them around in ''emusetup.bat'' or ''external.bat'', they are: 
  
   * D: - The Synchronet node directory, where the dropfile should probably be put. In door configurations, specify this drive (D:\) as the path to the dropfile.    * D: - The Synchronet node directory, where the dropfile should probably be put. In door configurations, specify this drive (D:\) as the path to the dropfile. 
Line 141: Line 149:
   Dropfile Dir: Place in Node Directory    Dropfile Dir: Place in Node Directory 
  
-==== Per-Program Files ====+==== Per-Program Configuration Files ====
  
 You can override the default system files used by placing a customized version in the external program's startup directory. Files that can be overridden in this manner are: You can override the default system files used by placing a customized version in the external program's startup directory. Files that can be overridden in this manner are:
  
-** external.bat ** used instead of ''[dir:exec]]/external.bat''+** external.bat ** used instead of ''[[dir:exec]]/external.bat''
  
 ** dosemu.conf ** used instead of configured dosemu.conf ** dosemu.conf ** used instead of configured dosemu.conf
  
-** dosemu.ini ** used instead of ''[dir:exec]]/dosemu.ini''+** dosemu.ini ** used instead of ''[[dir:exec]]/dosemu.ini''
  
 ==== Alternate DOS ==== ==== Alternate DOS ====
Line 157: Line 165:
  
  
-==== Disabling DOSEMU from opening a window in XWindows ==== 
- 
-To disable windows being opened when running dosemu: 
- 
-  * create a shell script for dosemu with the using the following as an example: 
- 
-    #!/bin/sh 
-    exec /path/to/dosemu/dosemu -T "$@" 
- 
-  * make sure to chmod 0755 your_dosemu_script 
-  * [[http://ftp.synchro.net/config:sbbs.ini|edit sbbs.ini and uncomment and change DOSemuPath variable to your new dosemu script]] 
  
 ==== Files ==== ==== Files ====
  
   * [[http://www.icequake.net/bbs/syncmods/emusetup.bat|emusetup.bat]]   * [[http://www.icequake.net/bbs/syncmods/emusetup.bat|emusetup.bat]]
-  * [[http://www.icequake.net/bbs/syncmods/dosemu.conf|Example dosemu.conf (for 1.0.2)]] 
   * [[http://www.icequake.net/bbs/syncmods/dosutils.tar.gz|A collection of essential DOS BBS utils, such as ANSI drivers and FOSSIL drivers]]   * [[http://www.icequake.net/bbs/syncmods/dosutils.tar.gz|A collection of essential DOS BBS utils, such as ANSI drivers and FOSSIL drivers]]
-  * [[http://www.icequake.net/bbs/syncmods/dosemu_1.0.2.1-7_i386.deb|DOSEMU Development Version 1.1.5.7 compiled for Debian stable/woody]] +
-  * [[http://www.icequake.net/bbs/syncmods/dosemu_1.0.2.1-7_i386.deb|DOSEMU 1.0.2 compiled for Debian stable/woody, patched for locking fixes]] +
-  * [[http://www.icequake.net/bbs/syncmods/init/synchronet|Init script to start Synchronet as a daemon]] +
-  * [[http://www.icequake.net/bbs/syncmods/init/synchronet-screen|Init script to start Synchronet as a detached screen]] +
-  * Latest version of the patch - link gone/broke+
  
    
-===== The Script Method ===== 
- 
-There is another way to do this: use a script that launches dosemu. This is the more flexible but non-userfriendly way to use dosemu doors on Synchronet. Example stuff can be found in this [[http://www.icequake.net/bbs/syncmods/rungame.tgz|tarball]].  
  
 ===== See Also ===== ===== See Also =====
 +  * [[:howto:door:index|Install Doors]]
 +  * [[:howto:|How-To Pages]]
 +  * [[http://www.icequake.net/bbs/syncmods/|Ryan Underwood's original Synchronet-DOSEMU patch]]
   * [[http://synchro.net/docs/linux-dosemu-howto.txt|DOSEMU Synchronet DOORS HOWTO by Michael Capp circa 2003]] (does not use the methods described on this page)   * [[http://synchro.net/docs/linux-dosemu-howto.txt|DOSEMU Synchronet DOORS HOWTO by Michael Capp circa 2003]] (does not use the methods described on this page)
-  * [[:howto:|How-To Pages]] 
  
 {{tag>linux doors dosemu}} {{tag>linux doors dosemu}}
  
howto/dosemu.1608268746.txt · Last modified: 2020/12/17 21:19 by mlong
Back to top
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0