• exec/fseditor.js exec/load/shell_lib.js exec/logonlist.js privatemsg.j

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sat Dec 5 20:18:52 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/9e329cf5ea7326a5ce5dd962
    Modified Files:
    exec/fseditor.js exec/load/shell_lib.js exec/logonlist.js privatemsg.js sbbsimsg.js
    Log Message:
    Fit stock JS modules to terminals narrower than 80 columns (#1474)

    InterBBS (sbbsimsg.js):
    - Fix an endless prompt loop below 80 columns. 7c603720d0 (2026-12-04)
    bracketed the Quit choice, making the prompt's second line exactly 40
    columns. The cursor then wrapped to column 0, and the test for "other
    output was printed, redisplay the prompt" (current_column == 0, from
    0843ca3546, 2018-10-22) matched on every pass. Compare with the column
    the prompt ended at instead, and have the logon/logoff callbacks flag
    their output.
    - Below 80 columns, say "Online:" instead of "Active-Users:" so the
    prompt's second line doesn't fill a 40-column screen. Synchronet treats
    a write to the last column as scrolling the screen; terminals that hold
    the cursor in the last column don't scroll, so the Quit lightbar was
    drawn one row too high.
    - Echo the chosen command on a new line when it won't fit after the
    prompt.
    - Compact the active-user list below 80 columns, limit message lines to
    the screen width, and bound the Message selector's user and BBS names
    to the screen width (a 39-40 character BBS name wrapped it even at 80
    columns).

    Area lists (shell_lib.js): narrow the description field to fit the screen.
    At 40 columns each item took 2 rows, so select_item()'s paging
    (d1e7b2a371, 2026-11-13) overflowed and the lightbar redrew items on the
    wrong rows. The width is unchanged at 80 columns.

    List Users prompt (shell_lib.js): break the line below 80 columns so the terminal's wrap doesn't split "All", which lost its lightbar and hot spot.

    fseditor.js: use a short status line below 80 columns. The ~78-column one wrapped on the bottom row, scrolling the edit area on every redraw.

    logonlist.js: show only node, alias, time and protocol below 80 columns,
    unless last_few_callers_fmt is set. The 79-column default took 2 rows per caller.

    privatemsg.js: limit Telegram lines to the screen width.

    At 80 columns, the differences are the Message selector's BBS-name bound
    and the InterBBS prompt redisplay, which now also happens when node output leaves the cursor away from the end of the prompt.

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net