• exec/printfile.jsctrl/file.ini exec/type.jsexec/typeasc.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thu Jan 29 01:00:52 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/241fb0ae5a03ffbfa0a56c2f
    Added Files:
    exec/printfile.js
    Modified Files:
    ctrl/file.ini exec/type.js
    Removed Files:
    exec/typeasc.js
    Log Message:
    Add printfile.js, to be used in place of type.js and typeasc.js

    typeasc.js appears to be left over from the htmlterm experiment and is redundant with type.js (now legacy) and printfile.js.

    I'm leaving type.js just for backward compatibility with old configurations that had "*type" as the "Viewable File Type" command-line for multiple file types (e.g. txt, asc, etc.). printfile.js really is the better shell for these and I'd just remove type.js in for for the backward compatibility question.

    And yeah, I could've just changed type.js to support the printfile.js usage (and then we wouldn't need printfile.js), but printfile was already added as
    a default viewable file type command-line (for .seq files) and was accidentally never committed to the repo. This fixes that.

    Updating the default config to use printfile.js as well.

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