• .claude/skills/javascript/SKILL.md

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Friday, October 30, 2026 19:20:42
    https://gitlab.synchro.net/main/sbbs/-/commit/89caed2bfb74c2994899f2f8
    Modified Files:
    .claude/skills/javascript/SKILL.md
    Log Message:
    javascript skill: console.attributes vs raw ANSI SGR colors

    Document that console.attributes reflects the last requested attribute,
    not colors set by raw SGR sequences, and that Synchronet restores the
    requested attribute after nodesync(), pause prompts, and message/file
    displays, so scripts should set colors with Ctrl-A codes or
    console.attributes.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wednesday, November 11, 2026 22:14:54
    https://gitlab.synchro.net/main/sbbs/-/commit/e6daff2e8afe644c165d451a
    Modified Files:
    .claude/skills/javascript/SKILL.md
    Log Message:
    javascript skill: scanning a base by index; source encoding

    Add a MsgBase subsection on walking the index instead of message numbers: numbers are sparse, so a first_msg..last_msg loop mostly looks up numbers
    that don't exist; get_index() and reading headers by offset; filtering on
    the index to/from fields (16-bit user numbers in mail, CRC-16 of the lower-cased name in subs); clamping client-supplied ranges; and the trap
    that get_msg_index() and get_msg_header() return null for vote records
    unless include_votes is true, which breaks a binary search over offsets
    and changes results when a per-offset loop is replaced with get_index().

    Add a note on source encoding: write non-ASCII as "\xNN" escapes or
    ascii(), since the next-js branch compiles scripts as UTF-8, and how to
    edit a stock file that still contains raw CP437 bytes (#1341).

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    --- SBBSecho 3.38-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)