• src/sbbs3/str_util.c str_util.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Feb 23 00:19:23 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/a710f6ffb3edb43946b3008d
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Add strip_cp437_graphics() and have strip_ctrl() remove DEL chars too

    strip_cp437_graphics() is like strip_exascii(), except it'll leave the foreign language characters and math symbols intact (removing just the common "block" and "line-drawing" characters).

    DEL (0x7F) is a control character too, so have strip_ctrl() remove it.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 13 23:33:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6966a81b8d08c75b86277e30
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Create i64toac() to generate comma-separated ASCII string of 64-bit int

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Apr 30 00:26:49 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/aa592e35b8008ccdb9bfb88e
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Create replace_chars(), a wrapper for REPLACE_CHARS()

    The iteration variable (p) is created on the stack.

    ---
    þ 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 Tue Oct 22 22:13:17 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/d72b0cd2a76ee5c095553e4c
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Add contains_invalid_attr() - checks string for invalid attr Ctrl-A codes

    Other Ctrl-A codes (e.g. ^A\) might be valid, but they're not attribute
    control codes, so their existence would cause this function to return true.

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