• Re: NODE1 Directory

    From Ragnarok@VERT/DOCKSUD to Digital Man on Wed Oct 14 20:12:00 2020
    El 14/10/20 a las 20:47, Digital Man escribi¢:
    Re: Re: NODE1 Directory
    By: Ragnarok to WitNik on Wed Oct 14 2020 07:40 pm

    El 13/10/20 a las 15:53, WitNik escribi¨:
    DM,

    I see how to change the pathing to my node directories for all nodes via scfg except node1. What is the safest/best way to modify that path? I see
    that the path exists in /sbbs/ctrl/main.cnf, but am unsure what the best way to modify it is.

    i found with same issue.
    i have
    NODE1
    NODES/NODE2
    NODES/NODE3
    NODES/NODE4
    etc...

    Not sure what you're saying.

    I want to have all nodeX directories into "nodes" directory (just for
    organize it)

    /sbbs/nodes/node1
    /sbbs/nodes/node2
    /sbbs/nodes/node3
    etc..

    when i add new node, scfg prompt for the path and i can set to
    ..nodes/node2 and 3,4,etc (this fine)

    To change all to new path, i delete all nodes but the node1 is not
    possbile to delete

    So, node1 can not get inside of "nodes" directory as another nodesXXX

    Saludos!

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Wed Oct 14 17:15:00 2020
    Re: Re: NODE1 Directory
    By: Ragnarok to Digital Man on Thu Oct 15 2020 12:12 am

    El 14/10/20 a las 20:47, Digital Man escribi¢:
    Re: Re: NODE1 Directory
    By: Ragnarok to WitNik on Wed Oct 14 2020 07:40 pm

    El 13/10/20 a las 15:53, WitNik escribi¨:
    DM,

    I see how to change the pathing to my node directories for all nodes via scfg except node1. What is the safest/best way to modify that path? I see
    that the path exists in /sbbs/ctrl/main.cnf, but am unsure what the best way to modify it is.

    i found with same issue.
    i have
    NODE1
    NODES/NODE2
    NODES/NODE3
    NODES/NODE4
    etc...

    Not sure what you're saying.

    I want to have all nodeX directories into "nodes" directory (just for organize it)

    /sbbs/nodes/node1
    /sbbs/nodes/node2
    /sbbs/nodes/node3
    etc..

    when i add new node, scfg prompt for the path and i can set to
    ..nodes/node2 and 3,4,etc (this fine)

    To change all to new path, i delete all nodes but the node1 is not
    possbile to delete

    So, node1 can not get inside of "nodes" directory as another nodesXXX

    I'm somewhat surprised that even works! :-)

    If you carefully edit your ctrl/main.cnf file (e.g. with a bin/hex editor), you should be able to change that. I'll see about making those paths configurable in the mean while.

    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: 77.5øF, 43.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Wed Oct 14 19:05:00 2020
    Re: NODE1 Directory
    By: Digital Man to WitNik on Tue Oct 13 2020 08:52 pm

    Re: NODE1 Directory
    By: WitNik to Digital Man on Tue Oct 13 2020 08:24 pm

    Re: NODE1 Directory
    By: Digital Man to WitNik on Tue Oct 13 2020 12:04 pm

    I'm not clear what it is you want to do. The node paths are not actually configurable in sbbs v3 and are hard-coded to "../node#", relative to your ctrl directory.

    It wasn't anything important. When I saw I could name the node
    directories
    for nodes > 1, I was going to format the node names as follows:

    node001
    node002
    node003
    ...
    ...
    ...

    It was just me being OCD to sort the directory listing.

    Ah. To do that, you'd have to edit this line in scfgsave.c (and maybe a similar line or two elsewhere):
    sprintf(cfg->node_path[i],"../node%d",i+1);

    I take that back. Just update to the latest SCFG and you should be able to edit it under the Node 1->Advanced Options.

    digital man

    This Is Spinal Tap quote #37:
    David St. Hubbins: We are Spinal Tap from the UK - you must be the USA!
    Norco, CA WX: 72.9øF, 55.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From alterego@VERT/ALTERANT to Digital Man on Thu Oct 15 12:24:00 2020
    Re: Re: NODE1 Directory
    By: Digital Man to Ragnarok on Wed Oct 14 2020 09:15 pm

    I want to have all nodeX directories into "nodes" directory (just for organize it)
    /sbbs/nodes/node1
    /sbbs/nodes/node2
    /sbbs/nodes/node3
    etc..
    I'm somewhat surprised that even works! :-)
    If you carefully edit your ctrl/main.cnf file (e.g. with a bin/hex editor), you should be able to change that. I'll see about making those paths configurable in the mean while.

    I'm actually keen on this too.

    The way I do it at the moment (since I run in docker), is I move all the nodesX dirs into nodes/ and then symlink back to the original spot (which is an ugly hack).

    ...ëîåï

    ... But soft, what light through yonder tagline breaks?

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!
  • From Altere@VERT/ATHEL to Digital Man on Thu Oct 15 05:03:00 2020
    Re: Re: NODE1 Directory
    By: Digital Man to Ragnarok on Wed Oct 14 2020 09:15 pm

    /sbbs/nodes/node1
    /sbbs/nodes/node2
    etc..

    So, node1 can not get inside of "nodes" directory as another nodesXXX

    I'm somewhat surprised that even works! :-)
    If you carefully edit your ctrl/main.cnf file (e.g. with a bin/hex editor), you should be able to change that. I'll see about making those paths configurable in the mean while.

    Wouldn't changes like this break dosemu support since from what I recall the external.bat gets created in ./node# and not ./yourcustompath/node#?

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 / ssh:2222
  • From Digital Man@VERT to Altere on Thu Oct 15 05:59:00 2020
    Re: Re: NODE1 Directory
    By: Altere to Digital Man on Thu Oct 15 2020 09:03 am

    I'm somewhat surprised that even works! :-)
    If you carefully edit your ctrl/main.cnf file (e.g. with a bin/hex editor), you should be able to change that. I'll see about making those paths configurable in the mean while.

    Wouldn't changes like this break dosemu support since from what I recall the external.bat gets created in ./node# and not ./yourcustompath/node#?

    Should work fine.

    digital man

    Rush quote #56:
    His world is under anesthetic, subdivided and synthetic .. Digital Man
    Norco, CA WX: 84.8øF, 34.0% humidity, 1 mph WNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From WitNik@VERT to Digital Man on Thu Oct 15 06:05:00 2020
    Re: NODE1 Directory
    By: Digital Man to WitNik on Tue Oct 13 2020 08:52 pm

    Ah. To do that, you'd have to edit this line in scfgsave.c (and maybe a similar line or two elsewhere):
    sprintf(cfg->node_path[i],"../node%d",i+1);

    digital man

    Thanks for the detail on the fix, but I'd just assume not risk it. For some reason, I didn't realize that it was hardcoded.

    Thanks,
    -WitNik

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Thu Oct 15 06:12:00 2020
    Re: NODE1 Directory
    By: WitNik to Digital Man on Thu Oct 15 2020 10:05 am

    Re: NODE1 Directory
    By: Digital Man to WitNik on Tue Oct 13 2020 08:52 pm

    Ah. To do that, you'd have to edit this line in scfgsave.c (and maybe a similar line or two elsewhere):
    sprintf(cfg->node_path[i],"../node%d",i+1);

    Thanks for the detail on the fix, but I'd just assume not risk it. For some reason, I didn't realize that it was hardcoded.

    I misspoke and it's actually less "hardcoded" than I thought. It's now configurable in the latest SCFG as well.

    digital man

    Sling Blade quote #14:
    Karl Childers: Some folks call it a sling blade, I call it a kaiser blade. Norco, CA WX: 84.8øF, 34.0% humidity, 1 mph WNW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Altere@VERT/ATHEL to Digital Man on Thu Oct 15 11:28:00 2020
    Re: Re: NODE1 Directory
    By: Digital Man to Altere on Thu Oct 15 2020 09:59 am

    I'm somewhat surprised that even works! :-)
    If you carefully edit your ctrl/main.cnf file (e.g. with a bin/hex
    editor), you should be able to change that. I'll see about making
    those paths configurable in the mean while.

    Wouldn't changes like this break dosemu support since from what I
    recall the external.bat gets created in ./node# and not
    ./yourcustompath/node#?

    Should work fine.

    I have no real desire to change the node paths (maybe if I had 20+ nodes) but I might have to test this out on my test box sometime.

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 / ssh:2222
  • From WitNik@VERT to Digital Man on Fri Oct 16 16:31:00 2020
    Re: NODE1 Directory
    By: Digital Man to WitNik on Thu Oct 15 2020 10:12 am

    Thanks for the detail on the fix, but I'd just assume not risk it. For
    some
    reason, I didn't realize that it was hardcoded.

    I misspoke and it's actually less "hardcoded" than I thought. It's now configurable in the latest SCFG as well.

    digital man

    Thank you DM! I just tried it out on my test system and it is working great!

    -WitNik

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