• src/sbbs3/terminal.h

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Thu Jan 29 22:43:32 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/37cb8b51aea480d973f8978c
    Modified Files:
    src/sbbs3/terminal.h
    Log Message:
    bstrlen() handles more control chars (\b, \r, \n) and ^A[, ^A] and ^A/

    ^A/ isn't exact here since it really needs to compare against the output
    column (which could auto-wrap when long), not the counted display width, but it's more accurate than ignoring it.

    I tested it like this (from within the BBS):

    - console.strlen("testx\r\ntest1234")
    Result (number): 5

    - console.strlen("testx\rtest1234")
    Result (number): 8

    - console.strlen("testx\x01[test1234")
    Result (number): 8

    Previously, those would produce incorrect numbers like, e.g. 15, 14
    --- SBBSecho 3.35-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sun Feb 8 08:15:07 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/3d66bb854dd5ca849a1d9ac1
    Modified Files:
    src/sbbs3/terminal.h
    Log Message:
    bstrlen() now supports (e.g. parses/ignores) extra attribute codes

    e.g. PCBoard, Wildcat, etc.
    --- SBBSecho 3.36-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)