• exec/load/listfiles_lib.js exec/tests/listfiles/lib.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, November 18, 2026 19:34:16
    https://gitlab.synchro.net/main/sbbs/-/commit/4c7b936b2cd0d1681718a9de
    Added Files:
    exec/load/listfiles_lib.js exec/tests/listfiles/lib.js
    Log Message:
    listfiles_lib.js: library for a stock List Files module

    The pure (terminal-independent) part of a JS replacement for the built-in
    file lister (#1353): the [listfiles] modopts.ini defaults (reproducing the built-in lister's output), merging the global, per-library and
    per-directory option sections, the order in which header/footer menu files
    are looked up (directory, library, then all), widening of long filespecs as
    the built-in lister does, a port of format_filename(), Ctrl-A codes for an attr.ini color, the module's own @-codes (with the standard -L/-R/-C and | width/alignment modifiers), and splitting files of varying heights
    (extended descriptions) into pages.

    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/2826ab87554071c32563855f
    Modified Files:
    exec/load/listfiles_lib.js exec/tests/listfiles/lib.js
    Log Message:
    listfiles_lib.js: lightbar style and preview pane helpers

    The option defaults for a "lightbar" style of the List Files module, and
    the logic it needs, with tests: which listing a user gets, the screen rows
    of the list and preview pane, the pane's state after the E and V keys,
    and archive and text file contents formatted for the pane.

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

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