https://gitlab.synchro.net/main/sbbs/-/commit/b1910e78c68dfb7249191878
Added Files:
ctrl/dosemu.ini external.bat
Modified Files:
ctrl/dosemu.conf docs/v322_new.md exec/update.js src/sbbs3/xtrn.cpp
Log Message:
Move dosemu.ini and external.bat from exec to ctrl
The DOSEMU launch files are meant to be edited by the sysop (the dosemu2 command line, and the batch file that loads the FOSSIL driver), but since 52487ec40d (slots-15-stud, 2020-12-17) the stock copies have lived in
exec/. On an install made with 'install-sbbs.mk SYMLINK=1', exec/ is a
symlink to the repository's exec directory, so a sysop's edits there are
edits to tracked files: the next update either refuses to pull or replaces them. 77a0284c7c (headlines-45-base, 2026-12-01) rewrote both files for dosemu2, which did exactly that. ctrl/ is copied once at install and is
never touched by an update, and ctrl/dosemu.conf already lives there.
- Move the stock dosemu.ini and external.bat to ctrl/.
- external() now looks for each in the door's start-up directory, then
ctrl/, then exec/ (where an existing install may still keep its
customized copy). When none is found, the error names the ctrl/ path;
for dosemu.ini it previously gave no path at all.
- update.js moves exec/dosemu.ini and exec/external.bat to ctrl/ when
ctrl/ doesn't have them yet, as it already did for jsexec.ini, and its
-test option no longer performs the move.
- Comments in the stock files that pointed at exec/dosemu.ini now point
at ctrl/.
A symlinked install that pulls this change loses both files from exec/,
and its ctrl/ doesn't have them yet: the sysop copies them from the repository's ctrl/ (the error message names where they're expected).
Tested on a Raspberry Pi 3 (Debian 13, dosemu2 2.0~pre9) with Legend of
the Red Dragon as a FOSSIL door over telnet, with no copies in the door's directory: the door runs with the files only in exec/ and only in ctrl/, update.js moves them from exec/ to ctrl/, and with neither present the
error names ctrl/external.bat.
Fixes #1454
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net