open
https://gitlab.synchro.net/main/sbbs/-/work_items/1410
2026-11-23 14:24:48 -0800
The **Text Directory** (the `text/` directory: menus, display files and other user-visible text) is configured **per node**, in each node's `node.ini` (`text_dir`, SCFG->Nodes->(node)->Text Directory), while the other system directories (Data, Logs, Exec, Mods) are configured once, in `main.ini`'s `[dir]` section (SCFG->System->Advanced Options).
## Why per-node no longer fits
The per-node setting dates from Synchronet v2, when nodes often ran on different computers and a sysop might point a node's text directory at a local (for example, RAM disk) copy instead of a slower network directory, for frequently read, read-only files. In v3 the nodes are threads of one Terminal Server process, and the other servers aren't nodes at all, so it doesn't fit how v3 is used:
- The FTP, Mail, Web and Services servers, jsexec (`system.text_dir`) and the utilities get the text directory of **node 1**, because `load_cfg()` makes them node 1 (see #1405).
- The `mods/text` shadowing introduced in v3.21 is relative to the one Mods Directory, not to a per-node text directory.
- On this system all 17 nodes have the same `text_dir=..\text\`; the per-node value is presumably the same everywhere on nearly every system.
## Proposal
- Add a system-wide `text` key to `main.ini`'s `[dir]` section (default `../text/`), edited in SCFG->System->Advanced Options next to the Data, Logs, Exec and Mods Directory settings.
- Read `text_dir` from there for every program, Terminal Server nodes included. - Upgrade: if every node's `node.ini` has the same `text_dir` (or the default), use that as the new system value and stop writing the per-node key. If the nodes differ, keep honoring a node's own value as an override for that node (or warn the sysop), so an existing setup isn't silently changed.
- Remove Text Directory from SCFG's per-node settings (or keep it as an override, per the previous point).
This also removes the `text_dir` dependency on `node.ini` from the #1405 change.
_Authored by Claude (Claude Code), on behalf of @rswindell_
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net