bbs.service.sample becomes bbs.service.in. make builds bbs.service from
it with the path of BINDIR, and make install puts it in
SYSTEMD_UNIT_DIR ($(PREFIX)/lib/systemd/system), as D-Modem does for
dmodem-ari.service. The unit now waits for network-online.target and,
when they are there, the database servers and dmodem-login-authd.
SupplementaryGroups=asterisk is a comment, because the unit does not
start on a host without that group. Running.md gives the steps after
make install.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRV8YPyMUdSM1QgsczH
Correct the wiki pages where they differ from the code (missing keys,
defaults, commands, packages, menu keys and metric names), complete the
Home page index, and fix Simplified Technical English problems. Correct
the sixel default for ssh listeners in bbs.conf.sample and regenerate
Configuration-Reference.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
The menu repository is now D-Modem/login, and modemmenu is dmodem-login.
- go.mod: github.com/D-Modem/login (its authd client) for
github.com/D-Modem/menu
- [dmodem-login] is the section of its auth socket; [modemmenu], the old
name, is still read (both at once is an error), and the setup edits
whichever the file has
- the sample, the wiki (Configuration-Reference made again), the log
lines and the comments name dmodem-login and /run/dmodem-login
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
The receiver sets CANZSTD (0x40) in the ZF1 of its ZRINIT. The sender
sets ZTZSTD (8) in the ZF2 of a ZFILE to send that file as independent
zstd frames (at most 64 KiB of the file each, halved on each ZRPOS).
All positions stay offsets in the file, and the receiver writes and
acknowledges only whole frames, so ZRPOS recovery and resume work as
before. Legacy peers do not set the bit and get plain ZMODEM.
Uploads of a known size that stop early are kept for 7 days and resumed
by ZRPOS when the same user sends the same file again. Downloads seek on
ZRPOS (the download reader did not seek before). A second ZRINIT after
the first is now dropped, so its stale ZRPOS no longer sends a segment
again.
zmodem_zstd in [general] turns zstd off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
- Text terminals: the key column is as wide as the widest key, and a
space always comes before the next column.
- 3270: the labels start after the widest key.
- bbs check: the keys of a menu are listed with spaces between them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQvYyBEEXAiGy2xSd1
Signed-off-by: Claude <noreply@anthropic.com>
The first phase of customizable menus, as in Mystic BBS and Synchronet.
- menus_dir: NAME.menu files, with a [menu] section and an [item KEY]
section for each item. An item does one or more commands (with ";"
between them), can be hidden, and can have a requirement. A key is a
character, a word (the caller types a line) or a special key: @first,
@every, @enter. A menu can have a fail menu for callers without access.
- A catalog of commands (bbs.Commands) with data and checks, and the
menu commands menu.gosub, menu.goto, menu.return and menu.main on a
stack of menus. The [menu] lines of bbs.conf keep their syntax.
- The built-in main menu is now a menu file of the Classic theme
(internal/app/menus/main.menu), run by the same engine. An item whose
command is not available to the caller is not shown, and @NOTE@ gives
the counts of new mail, pages and users that wait.
- Text and 3270 front ends: hidden keys and typed words.
- docs/wiki/Customization.md: the menus section, in STE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQvYyBEEXAiGy2xSd1
Signed-off-by: Claude <noreply@anthropic.com>
* confui, sysop tools: every option says what it does
Every key the sample shows bare gets help (the catalogue's keyHelp, and
commonHelp for address, max_clients, tls and the certificate files), so
the configuration reference has it too; every menu and action of the
configuration screens has its line of help (helpOfItem, and each list's
entries, Add and Delete); a test opens every page, with one of each named
section and a database, and fails on a line without help.
The sysop tools menu's items say what each does beside it (view.Item
Help: one column on a text terminal, a wider box on a 3270).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
* Make the config editor's section lookups skip the regexp for plain lines
Every redraw finds sections through Doc.span, which ran the header regexp
on every line of bbs.conf; with the sample's thousand-odd lines that made
the help walk time out under -race in CI. Lines not starting with [ are
no header, so they skip it now; the walk also opens each page once.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
---------
Co-authored-by: Claude <noreply@anthropic.com>