• exec/listfiles.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, November 19, 2026 11:42:10
    https://gitlab.synchro.net/main/sbbs/-/commit/42f586d70792e46b49341769
    Modified Files:
    exec/listfiles.js
    Log Message:
    listfiles.js: no pause or redundant header in interactive scans

    In a new-file scan (or any listing following other output), the
    interactive mode's first screen paused with [Hit a key] before clearing, because the clear screen pauses whenever the line counter isn't zero.
    Reset the line counter first, as the built-in lister's batch commands
    string does with \x01q before its clear-screen code.

    The interactive mode also no longer displays the short directory header
    used in scans: its prompt already names the library and directory, and
    each directory starts on its own screen.

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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, November 19, 2026 15:05:47
    https://gitlab.synchro.net/main/sbbs/-/commit/199790d4f1ef06a8a7b080c3
    Modified Files:
    exec/listfiles.js
    Log Message:
    listfiles.js: tidy exits from the interactive mode; correct file counts

    Interactive mode: quitting (Q or an abort) now clears the position and
    prompt lines below the list, and removing or moving the last file redraws
    the directory header and leaves cleanly (so any footer follows) instead of returning with the old list on screen. The count returned is the number of files listed, including any removed or moved.

    The count of files found is no longer overstated after Previous: in the extended information and view modes each file counts once, and in the
    letter flow the count after Previous or a redraw is the number of files
    before the screen being listed.

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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, November 19, 2026 18:52:07
    https://gitlab.synchro.net/main/sbbs/-/commit/eb63a333f92389a947096634
    Modified Files:
    exec/listfiles.js
    Log Message:
    listfiles.js: split the interactive mode into an engine and a layout

    The interactive mode's current file, tags, scrolling window, keys and
    commands are now an engine driving a layout object, and its drawing (the
    header and command keys, files with their extended descriptions, the
    position line and prompt) is the classic layout, so another layout can
    share the engine. The classic layout's output is unchanged.

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

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