Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howto:dosemu [2020/12/17 21:13] – [Drive Letters] mlong | howto:dosemu [2021/02/23 21:48] – [See Also] Link to runderwo's original work digital man | ||
---|---|---|---|
Line 19: | Line 19: | ||
Install DOSEMU into your system. For Debian and others, you will need to find a repository for an older version in order to get the DOSEMU package. For other systems, you may be able to compile it or obtain it in other ways. | Install DOSEMU into your system. For Debian and others, you will need to find a repository for an older version in order to get the DOSEMU package. For other systems, you may be able to compile it or obtain it in other ways. | ||
- | ==== Edit SBBS.INI ==== | + | For Debian, once you install a prior repository, simply: |
+ | | ||
+ | For other distributions, | ||
- | Modify sbbs.ini to set '' | + | ==== Edit sbbs.ini ==== |
+ | |||
+ | Modify | ||
+ | |||
+ | You can also modify the '' | ||
==== Install DOS Utils ==== | ==== Install DOS Utils ==== | ||
- | Make a '' | + | Make a '' |
Inside the '' | Inside the '' | ||
Line 35: | Line 41: | ||
==== Modify external.bat ==== | ==== Modify external.bat ==== | ||
- | The '' | + | The '' |
- | + | < | |
- | '' | + | IF " |
+ | </ | ||
And you will also have share: | And you will also have share: | ||
- | '' | + | < |
+ | @share >NUL | ||
+ | </ | ||
==== Setup External Programs ==== | ==== Setup External Programs ==== | ||
Line 96: | Line 104: | ||
==== Drive Letters ==== | ==== Drive Letters ==== | ||
- | The rest of these instructions assume that you are using the default remapped drive letters and haven' | + | Assuming |
* D: - The Synchronet node directory, where the dropfile should probably be put. In door configurations, | * D: - The Synchronet node directory, where the dropfile should probably be put. In door configurations, | ||
Line 104: | Line 112: | ||
* H: - The Synchronet '' | * H: - The Synchronet '' | ||
- | ==== Manually | + | ==== Troubleshooting ==== |
- | If a door will not run: | + | If a door will not run or has problems: |
* Try to capture any output in the BBS. In Syncterm, you can do this with Alt-C | * Try to capture any output in the BBS. In Syncterm, you can do this with Alt-C | ||
* Cat / | * Cat / | ||
* Manually enter dosemu. Map your drive (lredir E: linux\fs\sbbs\xtrn). Switch to drive E and run " | * Manually enter dosemu. Map your drive (lredir E: linux\fs\sbbs\xtrn). Switch to drive E and run " | ||
+ | |||
+ | Check your syslog, your SBBS error log, as well as the dosemu_boot.log in your node dir. | ||
Make sure the door's directory conforms to the DOS 8.3 file format! / | Make sure the door's directory conforms to the DOS 8.3 file format! / | ||
Line 118: | Line 128: | ||
Make SURE that if the door is started with a .bat batch file, that you explicitly name it as such in the " | Make SURE that if the door is started with a .bat batch file, that you explicitly name it as such in the " | ||
+ | Make sure your terminal is 80 chars wide, especially for configuration programs. | ||
==== Setting up a non-door DOS program as a door ==== | ==== Setting up a non-door DOS program as a door ==== | ||
Line 134: | Line 145: | ||
Dropfile Dir: Place in Node Directory | Dropfile Dir: Place in Node Directory | ||
- | ==== Per-Program Files ==== | + | ==== Per-Program |
You can override the default system files used by placing a customized version in the external program' | You can override the default system files used by placing a customized version in the external program' | ||
- | ** external.bat ** used instead of '' | + | ** external.bat ** used instead of '' |
** dosemu.conf ** used instead of configured dosemu.conf | ** dosemu.conf ** used instead of configured dosemu.conf | ||
- | ** dosemu.ini ** used instead of '' | + | ** dosemu.ini ** used instead of '' |
==== Alternate DOS ==== | ==== Alternate DOS ==== | ||
Line 149: | Line 160: | ||
- | ===== Known Problems ===== | ||
- | File locking is dysfunctional with the DOSEMU 1.0.2.x stable releases. File locking problems will manifest themselves as strange error messages related to file opens, long pauses and/or hangs, game data corruption, and other fun stuff. Note that you do not have to be running a multinode BBS to be prone to these issues; most programs detect DOSEMU as a multitasker and thus initiate their lock management regardless of whether or not multiple sessions of the game will be in use. The fix is to upgrade to DOSEMU 1.2 or later, since 1.0.x is obsolete. | ||
- | |||
- | There is a file locking hack from Bob Newell which is detailed in [[http:// | ||
- | |||
- | If you are running Debian ' | ||
- | |||
- | If your terminal isn't set to exactly 80 columns, the display may appear corrupt. This is especially true running config programs. Physically resize your telnet/ssh session window to 80 columns if you see such corruption. | ||
- | ==== 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 / | ||
- | |||
- | * make sure to chmod 0755 your_dosemu_script | ||
- | * [[http:// | ||
- | ==== If you are having other problems ==== | ||
- | |||
- | check the dosemu.log and dosemu_boot.log that will be created in the node directory. They should give you clues to track down a configuration problem. If those files do not exist, then the dosemu.bin is not getting executed properly, so check your sbbs.ini, make sure you have dosemu installed, and check for a stale dosemu.bin symlink in the door's directory. | ||
- | double-check your door's configuration, | ||
- | Also verify that the paths in the door's configuration problem are correct | ||
- | Verify that you have set up enough nodes in the door's configuration to handle all the nodes on your BBS. | ||
- | |||
- | If you want help with this, you must send me *at a minimum* the following files: | ||
- | * '' | ||
- | * your DOS '' | ||
- | * output of 'find /' | ||
- | * '' | ||
- | |||
- | Send problem reports to nemesis@icequake.net | ||
==== Files ==== | ==== Files ==== | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * 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:// | ||
===== See Also ===== | ===== See Also ===== | ||
+ | * [[: | ||
+ | * [[: | ||
+ | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[: | ||
{{tag> | {{tag> | ||