• exec/load/sbbsdefs.js src

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Sunday, January 11, 2026 23:23:00
    https://gitlab.synchro.net/main/sbbs/-/commit/b530f130330756be7eab8978
    Modified Files:
    exec/load/sbbsdefs.js src/sbbs3/answer.cpp atcodes.cpp js_bbs.cpp putmsg.cpp sbbs.h sbbsdefs.h str.cpp terminal.h ver.cpp
    Log Message:
    Add/use new P_80COLS p[rint] mode flag and 80COLS @-code

    Useful for printing files that looks good in 80 cols (or less) but like ass on a super wide terminal.

    Sure, we could add P_132COLS (and associated @-code) if we need it, but most (stock Synchronet) BBS content is really geared to 80 cols. Maybe a sysop configurable "max columns" setting for a BBS where it just makes sense to cap all the width logic to something less than 256 columns or whatever crazy terminal size a user is using.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Wednesday, January 21, 2026 22:21:00
    https://gitlab.synchro.net/main/sbbs/-/commit/d0ce4d0a154670d2c08ecc0e
    Modified Files:
    exec/load/sbbsdefs.js src/sbbs3/inkey.cpp sbbsdefs.h
    Log Message:
    Add new K_EXTKEYS mode flag for use with inkey(K_CTRLKEYS)

    ... for when a script wants to get all control key input but does *not* want
    to translate its own escape sequences for extended keys (e.g. arrows, home, end, page-up/down, etc.) and doesn't want to mess with console.ctrlkey_passthru.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Sunday, January 25, 2026 15:20:00
    https://gitlab.synchro.net/main/sbbs/-/commit/8ee8c039642dbc3051963d74
    Modified Files:
    exec/load/sbbsdefs.js src/sbbs3/inkey.cpp sbbsdefs.h
    Log Message:
    Change of K_EXTKEYS to be used exclusive to (not used with) K_CTRLKEYS

    This allows a script that relies on K_EXTKEYS (e.g. utopia.js) to still work with older SBBS (e.g. v3.20) - yeah, the global hot keys (e.g. Ctrl-T/U/P, etc.) will mess up the display, but that's better than not having arrow key support.
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net