• exec/load/shell_lib.js

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Thu Sep 24 21:22:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e98c91fe06caa48d18f7200e
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    shell_lib: offer each group's and library's current area, not a stale copy

    shell_lib.js copied every group's current sub-board and every library's
    current directory into arrays when it loaded, and area selection never
    updated them. After changing sub-boards or directories in one group or
    library and moving to another, picking the first again offered (and on
    Enter selected) the area that was current when the shell started. The
    "*" marking the current area in the sub-board and directory lists was
    stale the same way. dir_up() and dir_down() also stored into the entry
    for the new directory number rather than the current library, overwriting another library's saved directory.

    The core already keeps the current sub-board per group and directory per library, so read it when needed: cursub(grp) and curdir(lib) select that
    group or library briefly and read bbs.cursub or bbs.curdir.

    Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-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 Sat Nov 21 14:40:27 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/8c1287f75a44298f8a595287
    Modified Files:
    exec/load/shell_lib.js
    Log Message:
    shell_lib.js send_netmail(): don't throw when given an address

    The netmail address history was read only when no address was passed
    in, so a call with an address (the SDOS shell's NETMAIL <address>
    command) sent the message and then threw a TypeError, without saving
    the address to the history. Read the history first, on both paths.

    Introduced by a4c720b86d (addressing-30-bingo, 2026-04-08).

    Fixes #1385

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