https://gitlab.synchro.net/main/sbbs/-/commit/3a5e9cb3628031f8812840c5
Modified Files:
docs/v322_new.md src/sbbs3/scfg/scfg.c scfg.h scfgmsg.c
Log Message:
Restore SCFG import/export of subs.txt, alongside subs.ini
subs.txt import/export was removed in mayor-19-caps (e6acb3269a) and its
menu slots later repurposed for *subs.ini in reef-31-feed (cfb32e03f5).
Some sysops still rely on the legacy text format (especially for import),
so this restores it as an additional format while keeping *subs.ini as
the preferred format going forward.
Message Areas > Export/Import Areas list subs.txt again, the -import=
command line recognizes a subs.txt filename once more, and the
line-oriented parser/writer are back.
Rather than the old memcpy-over-the-existing-sub (which zeroed every
field the format doesn't carry - qwk_conf, print modes, area_tag, ...),
the import now copies only the fields subs.txt actually provides, leaving
the rest of an over-written sub intact. ptridx is likewise preserved
(the exported value is meaningless on the importing system).
Partially addresses issue #1128.
Co-Authored-By: Claude Opus 4.8 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net