Skip to content

Write HEADERS.DAT in QWK reply packets for full-length headers#7

Draft
andy5995 wants to merge 1 commit into
masterfrom
write-rep-headers
Draft

Write HEADERS.DAT in QWK reply packets for full-length headers#7
andy5995 wants to merge 1 commit into
masterfrom
write-rep-headers

Conversation

@andy5995
Copy link
Copy Markdown
Owner

@andy5995 andy5995 commented Jun 5, 2026

Commit message drafted by Claude (Opus 4.8), an LLM made by
Anthropic, at the direction of @andy5995.

@rswindell -- this writes HEADERS.DAT into .REP packets so a reply's To/From/Subject longer than 25 characters survives the round trip. Two points I need your input on before this is final:

  • I kept the existing QWKE From:/To:/Subject: body-prefix lines in addition to the HEADERS.DAT section (additive, lowest-risk). Should those body lines be suppressed when HEADERS.DAT is written, to avoid carrying the long headers twice?
  • Does Synchronet import the generated file as expected? Sections are keyed by the hex byte offset of each message header in the .MSG file (first reply at 0x80, after the 128-byte producer header), with Sender/To/Subject/Utf8 fields and CRLF line endings.

@andy5995 andy5995 added this to the v0.53.0 milestone Jun 5, 2026
@andy5995 andy5995 marked this pull request as draft June 5, 2026 08:24
@andy5995 andy5995 force-pushed the write-rep-headers branch from 8a81ba3 to 7d32880 Compare June 5, 2026 21:15
> Commit message drafted by Claude (Opus 4.8), an LLM made by
> Anthropic, at the direction of @andy5995.

@rswindell -- this writes HEADERS.DAT into .REP packets so a reply's
To/From/Subject longer than 25 characters survives the round trip.
Two points I need your input on before this is final:

- I kept the existing QWKE From:/To:/Subject: body-prefix lines in
  addition to the HEADERS.DAT section (additive, lowest-risk). Should
  those body lines be suppressed when HEADERS.DAT is written, to avoid
  carrying the long headers twice?
- Does Synchronet import the generated file as expected? Sections are
  keyed by the hex byte offset of each message header in the .MSG file
  (first reply at 0x80, after the 128-byte producer header), with
  Sender/To/Subject/Utf8 fields and CRLF line endings.

* wmcbrine/MultiMail#22
* #2

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andy5995 andy5995 force-pushed the write-rep-headers branch from 7d32880 to 72f993a Compare June 5, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant