• src/sbbs3/exec.cpp js_bbs.cpp load_cfg.c main.cpp readtext.c sbbs.h st

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Thu Feb 12 16:18:58 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/c51c61cef03ceb7b5b66ca18
    Modified Files:
    src/sbbs3/exec.cpp js_bbs.cpp load_cfg.c main.cpp readtext.c sbbs.h str_util.c str_util.h websrvr.cpp xtrn.cpp
    Log Message:
    Support text.dat sub-string replacements via text.ini [substr] section

    For example, in ctrl/text.ini:

    [substr]
    \1g: \1m
    Group: Area

    would replace all occurences of the Ctrl-Ag (green) sequence with Ctrl-Am (magenta) and all occurrences of the word "Area" with the word "Group".
    The searches are case-sensitive, e.g. any occurrences of \1G (uppercase 'G')
    in text.dat strings would not be effected by this configuration (you'd need
    a separate substr 'key: value' pair for the uppercase variety if you need it).

    Hopefully this reduces the need for sysops to make text.dat changes or add
    a bunch of strings to their text.dat file just to make attribute changes. This feature could also aid in localization (to other non-English languages).
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Rob Swindell (on Windows on Thu Feb 12 23:09:51 2026
    Re: src/sbbs3/exec.cpp js_bbs.cpp load_cfg.c main.cpp readtext.c sbbs.h st
    By: Rob Swindell (on Windows 11) to Git commit to main/sbbs/master on Thu Feb 12 2026 04:18 pm

    xtrn.cpp Log Message: Support text.dat sub-string replacements
    via text.ini [substr] section

    For example, in ctrl/text.ini:

    [substr] \1g: \1m Group: Area

    would replace all occurences of the Ctrl-Ag (green) sequence with
    Ctrl-Am (magenta) and all occurrences of the word "Area" with the
    word "Group". The searches are case-sensitive, e.g. any occurrences



    Seems like a stupid feature, but whatever. i've always used a text editor
    with text replacement features. it's was never a big issue. i guess you are running out of ideas now?

    it's just another thing turn off people from running synchronet and going to mystic.


    --
    "Before using Wildcat....This Company did not have a convenient way of
    looking after some of the richest clients in the world...Now we do!"
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to MRO on Thu Feb 12 22:10:35 2026
    Re: src/sbbs3/exec.cpp js_bbs.cpp load_cfg.c main.cpp readtext.c sbbs.h st
    By: MRO to Rob Swindell (on Windows on Thu Feb 12 2026 11:09 pm

    it's just another thing turn off people from running synchronet and going to mystic.

    Ah, but we'll so miss you. :-)
    --
    digital man (rob)

    Sling Blade quote #5:
    Karl Childers (to father): You ought not killed my little brother...
    Norco, CA WX: 55.4øF, 71.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)