• sbbsecho

    From The Millionaire@VERT to digital man on Saturday, August 03, 2019 14:48:47
    since you can customize text.dat colors, how do you customize the sbbsecho colors?

    $ The Millionaire $
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to The Millionaire on Sunday, August 04, 2019 00:10:44
    Re: sbbsecho
    By: The Millionaire to digital man on Sat Aug 03 2019 02:48 pm

    since you can customize text.dat colors, how do you customize the sbbsecho colors?

    You don't. Unless you are willing and able to modify sbbsecho.c. I'll add it to the todo list though. Reading/using strings from sbbsecho.ini should be doable.

    digital man

    Synchronet/BBS Terminology Definition #63:
    SMB = Synchronet Message Base (e.g. smblib)
    Norco, CA WX: 71.5øF, 64.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From The Millionaire@VERT to Digital Man on Sunday, August 04, 2019 03:22:16
    Re: sbbsecho
    By: Digital Man to The Millionaire on Sun Aug 04 2019 12:10 am

    Re: sbbsecho
    By: The Millionaire to digital man on Sat Aug 03 2019 02:48 pm

    since you can customize text.dat colors, how do you customize the sbbsecho colors?

    You don't. Unless you are willing and able to modify sbbsecho.c. I'll add it to the todo list though. Reading/using strings from
    sbbsecho.ini should be doable.

    digital man

    Synchronet/BBS Terminology Definition #63:
    SMB = Synchronet Message Base (e.g. smblib)
    Norco, CA WX: 71.5øF, 64.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    that's great to hear. thank you so much. :-)

    $ The Millionaire $
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From alterego@VERT/ALTERANT to Digital Man on Friday, April 03, 2020 17:39:45
    Hey DM,

    Would you consider sbbsecho.ini supporting a wildcard include?

    eg: in sbbsecho.ini you have "include sbbsecho/*.ini"

    Then, the placement of "abc.ini" in the dir sbbsecho/, which would present a new node "abc", could automatically be included when sbbsecho does its processing.

    Much the same way other linux wildcard includes work..

    I was thinking that would be useful for hubs where an external process could add the required ini file relatively easily and drop it in that dir for a new node.
    ...deon


    ... In the long run, we are all dead.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to alterego on Friday, April 03, 2020 00:41:50
    Re: sbbsecho
    By: alterego to Digital Man on Fri Apr 03 2020 05:39 pm

    Hey DM,

    Would you consider sbbsecho.ini supporting a wildcard include?

    eg: in sbbsecho.ini you have "include sbbsecho/*.ini"

    Then, the placement of "abc.ini" in the dir sbbsecho/, which would present a new node "abc", could automatically be included when sbbsecho does its processing.

    Much the same way other linux wildcard includes work..

    I was thinking that would be useful for hubs where an external process could add the required ini file relatively easily and drop it in that dir for a new node.

    The .ini files already support a "!include" directive. It doesn't support wildcards, thought I suppose it could pretty easily.

    The problem with that directive and the reason why it's rarely, if ever, used, is editing with a configuration program (e.g. echocfg). Once the file has been "merge" in memory with the !include directive, there's no way for the program to know to re-split the file when saving changes. The program doesn't know what lines came from which files and where to put them back.

    So yeah, I could help you to do that, but if you ever used echocfg to edit your sbbsecho.ini, it'd be all merged together into one giant file and likely not what you were hoping for.

    digital man

    Synchronet/BBS Terminology Definition #15:
    CVS = Concurrent Versioning System
    Norco, CA WX: 54.2øF, 86.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From alterego@VERT/ALTERANT to Digital Man on Friday, April 03, 2020 21:10:08
    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 12:41 am

    So yeah, I could help you to do that, but if you ever used echocfg to edit your sbbsecho.ini, it'd be all merged together into one
    giant file and likely not what you were hoping for.

    Your right, this probably wouldnt be ideal. But for the other reason, I think it would be great.

    A step further might be a !include fsx/* - where the could be node ini files, with also domain and echolist ini files (they dont have to be in order do they?) - then config packs could be provided by othernets (if they desired).

    If you do implement it (I would still use it), can you make echocfg "warn" when it is invoked, if it detects that the config has been created with included files - just in case somebody goes to use it (out of habit) and the result would be as you say a giant file. (Or by default echocfg ignores included files?)

    Just throwing out ideas...
    ...deon


    ... A countryman between two lawyers is like a fish between two cats.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to alterego on Friday, April 03, 2020 08:52:47
    Re: sbbsecho
    By: alterego to Digital Man on Fri Apr 03 2020 09:10 pm

    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 12:41 am

    So yeah, I could help you to do that, but if you ever used echocfg to edit your sbbsecho.ini, it'd be all merged together into one
    giant file and likely not what you were hoping for.

    Your right, this probably wouldnt be ideal. But for the other reason, I think it would be great.

    Okay, this is a feature that *you* would use and then never use echocfg again?

    A step further might be a !include fsx/* - where the could be node ini files, with also domain and echolist ini files (they dont have to be in order do they?) - then config packs could be provided by othernets (if they desired).

    I think my new init-fidonet.js/ini solves the "config pack" problem already. If a new net comes along, they could just create/release a .ini file that is compatible with init-fidonet.js.

    If you do implement it (I would still use it), can you make echocfg "warn" when it is invoked, if it detects that the config has been created with included files - just in case somebody goes to use it (out of habit) and the result would be as you say a giant file. (Or by default echocfg ignores included files?)

    Yeah, probably.

    digital man

    This Is Spinal Tap quote #29:
    I find lost luggage. I locate mandolin strings in the middle of Austin!
    Norco, CA WX: 53.7øF, 90.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to alterego on Friday, April 03, 2020 11:14:06
    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 08:52 am

    If you do implement it (I would still use it), can you make echocfg "warn" when it is invoked, if it detects that the config has been created with included files - just in case somebody goes to use it (out of habit) and the result would be as you say a giant file. (Or by default echocfg ignores included files?)

    Yeah, probably.

    So here's another issue:

    SBBSecho itself can update the sbbsecho.ini file in response to AreaFix requests (e.g. changing archive type). This will also expand the sbbsecho.ini to include all the !include'd files, currently. That will also have to be addressed.

    Also, assuming that first problem is addressed, if the updated node configuration was *within* one of those !include'd files, that node couldn't be updated via AreaFix or bad things would happen.

    digital man

    Synchronet/BBS Terminology Definition #52:
    NUP = New User Password
    Norco, CA WX: 61.1øF, 66.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Friday, April 03, 2020 17:11:18
    El 3/4/20 a las 15:14, Digital Man escribi¢:
    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 08:52 am

    If you do implement it (I would still use it), can you make echocfg "warn" when it is invoked, if it detects that the config has been created
    with included files - just in case somebody goes to use it (out of habit)
    and the result would be as you say a giant file. (Or by default echocfg ignores included files?)

    Yeah, probably.

    So here's another issue:

    SBBSecho itself can update the sbbsecho.ini file in response to AreaFix requests (e.g. changing archive type). This will also expand the sbbsecho.ini to include all the !include'd files, currently. That will also have to be addressed.

    Also, assuming that first problem is addressed, if the updated node configuration was *within* one of those !include'd files, that node couldn't be updated via AreaFix or bad things would happen.

    digital man

    Synchronet/BBS Terminology Definition #52:
    NUP = New User Password
    Norco, CA WX: 61.1¨F, 66.0% humidity, 3 mph E wind, 0.00 inches rain/24hrs ---
    ¨ Synchronet ¨ Vertrauen ¨ Home of Synchronet ¨ [vert/cvs/bbs].synchro.net

    Interesting topic.

    I admit that like that feature because i am used to "debian.d" includes.

    You can easy manage the ini file via the *crudini* tool

    The problem are that echocfg generate indents for the options/values
    pairs, and raise error for this tool to parse the file.

    See: https://github.com/pixelb/crudini/issues/30

    [node:4:90/1@fidonet]
    <TAB>Name = Momia BBS
    <TAB>Comment = Manuel Adorni
    <TAB>Archive = ZIP
    <TAB>PacketType = 2+


    If you can add option that echocfg to generate the file without these
    tab, just work

    [node:4:90/1@fidonet]
    Name = Momia BBS
    Comment = Manuel Adorni
    Archive = ZIP
    PacketType = 2+


    # crudini --get sbbsecho.ini "node:4:90/1@fidonet" name
    Momia BBS


    you can add a node:
    crudini --set sbbsecho.ini "node:4:9/9@fidonet" name "FErnando Toledo"
    crudini --set sbbsecho.ini "node:4:9/9@fidonet" Archive ZIP
    etc...

    change the Areafix password:

    crudini --set sbbsecho.ini "node:4:9/9@fidonet" AreaFixPwd PEPITO

    it's will avoid the use of awk/sed parsings

    Saludos!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Friday, April 03, 2020 15:21:28
    Re: Re: sbbsecho
    By: Ragnarok to Digital Man on Fri Apr 03 2020 05:11 pm

    Interesting topic.

    I admit that like that feature because i am used to "debian.d" includes.

    You can easy manage the ini file via the *crudini* tool

    The problem are that echocfg generate indents for the options/values
    pairs, and raise error for this tool to parse the file.

    See: https://github.com/pixelb/crudini/issues/30

    [node:4:90/1@fidonet]
    <TAB>Name = Momia BBS
    <TAB>Comment = Manuel Adorni
    <TAB>Archive = ZIP
    <TAB>PacketType = 2+


    If you can add option that echocfg to generate the file without these
    tab, just work

    It's easier to just change the .ini style (eliminate the indents).

    you can add a node:
    crudini --set sbbsecho.ini "node:4:9/9@fidonet" name "FErnando Toledo" crudini --set sbbsecho.ini "node:4:9/9@fidonet" Archive ZIP

    Nice tip!

    digital man

    This Is Spinal Tap quote #38:
    Artie Fufkin: I'm not asking, I'm telling with this. Kick my ass.
    Norco, CA WX: 66.2øF, 54.0% humidity, 8 mph NNE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From alterego@VERT/ALTERANT to Digital Man on Saturday, April 04, 2020 09:01:51
    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 11:14 am

    Also, assuming that first problem is addressed, if the updated node configuration was *within* one of those !include'd files, that node couldn't be updated via AreaFix or bad things would happen.

    Ahh, OK, that goes against my goal of automation and self service. I agree that is not desirable, so perhaps this is not a good idea after all.

    Thanks for going through it though...
    ...deon


    ... The families of one's friends are always a disappointment.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to alterego on Friday, April 03, 2020 15:42:53
    Re: sbbsecho
    By: alterego to Digital Man on Sat Apr 04 2020 09:01 am

    Re: sbbsecho
    By: Digital Man to alterego on Fri Apr 03 2020 11:14 am

    Also, assuming that first problem is addressed, if the updated node configuration was *within* one of those !include'd files, that node couldn't be updated via AreaFix or bad things would happen.

    Ahh, OK, that goes against my goal of automation and self service. I agree that is not desirable, so perhaps this is not a good idea after all.

    Thanks for going through it though...

    Yup. And as a result now, echocfg will refuse to save changes to a .ini file that !include's another. :-)

    digital man

    Synchronet/BBS Terminology Definition #46:
    LF = Line Feed (ASCII 10, Ctrl-J)
    Norco, CA WX: 66.6øF, 54.0% humidity, 10 mph NE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From The Millionaire@VERT to Digital Man on Friday, April 03, 2020 15:52:59
    Re: sbbsecho
    By: The Millionaire to digital man on Sat Aug 03 2019 02:48 pm

    You don't. Unless you are willing and able to modify sbbsecho.c. I'll add it to the todo list though. Reading/using strings from sbbsecho.ini should be doable.

    digital man

    Synchronet/BBS Terminology Definition #63:
    SMB = Synchronet Message Base (e.g. smblib)
    Norco, CA WX: 71.5øF, 64.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs


    Why not add the lines to text.dat instead?

    $ The Millionaire $

    ..."Will we ever fear the ecstasy of free thought?" - Thinkman...
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to The Millionaire on Friday, April 03, 2020 16:11:17
    Re: sbbsecho
    By: The Millionaire to Digital Man on Fri Apr 03 2020 03:52 pm


    Re: sbbsecho
    By: The Millionaire to digital man on Sat Aug 03 2019 02:48 pm

    You don't. Unless you are willing and able to modify sbbsecho.c. I'll add it to the todo list though. Reading/using strings from sbbsecho.ini should be doable.

    Why not add the lines to text.dat instead?

    The text.dat is really for use by the terminal server, not external utilities.

    digital man

    This Is Spinal Tap quote #5:
    Nigel Tufnel: Authorities said... best leave it... unsolved.
    Norco, CA WX: 66.3øF, 55.0% humidity, 9 mph E wind, 0.00 inches rain/24hrs
    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net