Commit Graph
320 Commits
Author SHA1 Message Date
Neo ee4923552c Merge pull request #63 from D-Modem/claude/project-thread-b4zlk2
ZMODEM: resume, and zstd compression with legacy fallback
2026-11-20 18:08:03 -08:00
Claude 4d8f8a9f11 ZMODEM: resume, and zstd compression with CANZSTD/ZTZSTD
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
2026-11-20 22:04:05 +00:00
Neo ee07c99729 Merge pull request #62 from D-Modem/claude/project-thread-e5p16j
Menus: menu files, a command set and a menu stack
2026-11-20 02:34:18 -08:00
Claude 46b2998146 menus: line up the labels after word keys
- 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>
2026-11-18 20:14:51 +00:00
Claude d75fc15b24 menus: menu files, a command set and a menu stack
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>
2026-11-18 18:11:02 +00:00
Neo e313228963 Merge pull request #61 from D-Modem/claude/project-thread-fur9m9
docs: rewrite the documentation and wiki in Simplified Technical English
2026-11-15 21:44:37 -08:00
Claude fc14cca9fa docs: rewrite the CompuServe terminal experience notes in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:52:13 +00:00
Claude ac2c203a26 docs: rewrite the image boards wiki page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:50:42 +00:00
Claude 1308e70ecb docs: rewrite the development wiki page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:49:06 +00:00
Claude 9e9e68cd66 docs: rewrite the web forum wiki page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:47:54 +00:00
Claude 1a52718ef8 docs: rewrite the CompuServe link protocol notes in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:46:40 +00:00
Claude 38076f593a docs: rewrite the CompuServe server design in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:45:29 +00:00
Claude 206d20b439 docs: rewrite the CIM and HMI research in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:44:34 +00:00
Claude 7b1066ab41 docs: rewrite the HTTP API page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:43:40 +00:00
Claude e51613ea2f docs: rewrite the configuration page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:42:44 +00:00
Claude 90ccf129ad docs: rewrite the IRC page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:41:52 +00:00
Claude 6892832513 docs: rewrite the CompuServe page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:41:03 +00:00
Claude 61170a009a docs: rewrite the certificates page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:40:13 +00:00
Claude 56c4c53db3 docs: rewrite the DNS page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:39:27 +00:00
Claude 7b27ca934c docs: rewrite the modem callers page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:38:41 +00:00
Claude 57cfe33c1c docs: rewrite the wiki home page in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:38:02 +00:00
Claude 7c4bb19dd0 docs: rewrite the MSN Messenger and news, weather and quotes pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:37:21 +00:00
Claude 8418a153cb docs: rewrite the customization and FidoNet pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:36:19 +00:00
Claude aac1429e4a docs: rewrite the Yahoo Messenger and security pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:35:18 +00:00
Claude 4df7db5b59 docs: rewrite the IRC linking, AIM and ICQ pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:34:20 +00:00
Claude 83ae7cb982 docs: rewrite the MSN Classic and e-mail pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:33:19 +00:00
Claude f7b0b8f62b docs: rewrite the doors and TN3270 pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:32:27 +00:00
Claude 0739577e16 docs: rewrite the finger, gopher and chat pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:31:41 +00:00
Claude 86c7e0d8d4 docs: rewrite the scripting and time pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:30:58 +00:00
Claude 3f4b114730 docs: rewrite the CompuServe research index and history in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:30:15 +00:00
Claude f0cdc7bc92 docs: rewrite AOL, PETSCII and offline mail pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:29:39 +00:00
Claude 6a38353086 docs: rewrite file, terminal and administration pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:28:44 +00:00
Claude 70af1cc5a5 docs: rewrite SSH, NNTP, database and access level pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:27:55 +00:00
Claude 5b4f5543ba docs: rewrite message area, backup, MSN 2 and sysop tool pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:59 +00:00
Claude 045d4616a7 docs: rewrite more wiki pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:08 +00:00
Claude e254e05457 docs: rewrite README, TODO and small wiki pages in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:25:19 +00:00
Claude 9a070ef76d docs: add the STE style guide and require it in CONTRIBUTING.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:23:51 +00:00
NeoandClaude Opus 5.5 3da7b2ebc1 Every sysop option says what it does (#60)
* 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>
2026-11-12 04:37:56 -08:00
Neo 8f1deea60f Merge pull request #59 from D-Modem/claude/project-thread-i21565
DNS: records of your own ([dnsrecord NAME]), in the config screens too
2026-11-12 04:01:03 -08:00
Claude 19e08e236b dns: the sample says A and AAAA records answer reverse lookups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-12 08:41:55 +00:00
Claude 13764763e7 dns: an A or AAAA record answers reverse lookups (PTR) with its name
Unless the sysop wrote a PTR for the address; wildcards make none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-12 08:40:40 +00:00
Claude 395610fa9b dns: records of the sysop's own, [dnsrecord NAME]
Each [dnsrecord NAME] is one record (name, by default NAME, *.domain for
every name under it; type, by default A or AAAA from the address; value
as a zone file writes it; ttl, by default [dns]'s), answered as it is to
anyone, before the services' names and with nothing asked upstream.  A
type the name has none of is answered empty; a CNAME is followed to a
target here; a record for a service's name takes the place of its answer
for that type.  bbs check refuses one it cannot read.

The configuration screens have them under DNS for callers, DNS records:
the type from a list, an A or AAAA's address from this machine's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-11 23:57:41 +00:00
Neo 48b9ff7c0d Merge pull request #57 from D-Modem/claude/project-thread-i21565
Config screens: pick settings from what the file and machine have
2026-11-11 15:52:41 -08:00
Neo e2283a135a Merge pull request #58 from D-Modem/claude/project-thread-ymlras
Use retrossl in place of internal/oldtls
2026-11-11 06:09:41 -08:00
Claude 730bbea88b Keep retrossl sessions for old clients to resume
retrossl now resumes sessions; give the OSCAR and shared ports a cache,
which spares old machines an RSA operation on every connection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3
2026-11-11 13:26:47 +00:00
Claude 83f903569d Use retrossl in place of internal/oldtls
The TLS 1.0 server for SSL 2.0-format hellos moved to D-Modem/retrossl,
which also serves SSL 3.0. The OSCAR TLS port now sends SSL 3.0-only
clients there too; the shared ports still send only SSL 2.0-format
hellos, to the route that takes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRH4kntyPfrY1bFWC3
2026-11-11 13:10:58 +00:00
Claude f884eeca61 confui: say ca is signed by the services sub-CA
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-11 12:40:56 +00:00
Claude 44fb03cf5e confui: offer tls_cert = ca where the BBS's CA can sign it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-11 12:38:57 +00:00
Claude 3538820c9e confui: settings picked from what the file and the machine have
Most free-text settings of the configuration screens are now lists to pick
from, made from what there is: certificates ([acme]'s, and the files other
servers use) and the key that goes with one; an address's every-address,
this-machine and each-IP forms, marked when another server has it; [dns]
answers from the services' IPs; levels by their names; a menu item's
actions (the doors, menus, screens, scripts, areas), with Add a menu item;
the screens, AKAs, feed groups and areas, the machine's users and groups;
and the fixed values of ACME, TLS, outbound mail and the rest, with notes.

A list may be open (a value of one's own typed too) or of some at once
(by commas).  The full-screen list shows notes and checkboxes; a 3270's S
and a plain terminal's number open a numbered table; F1 lists the choices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRorB6EaJ9gFhio2Fa
2026-11-11 12:38:57 +00:00
Neo cc1c89ccea Merge pull request #56 from D-Modem/claude/project-thread-lrsbkp
DNS server for callers, shared ports by name, and the BBS's own CA
2026-11-11 04:38:38 -08:00