• NODE1 Directory

    From WitNik@VERT to Digital Man on Tuesday, October 13, 2020 10:53:45
    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.

    Thanks,
    -WitNik

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Tuesday, October 13, 2020 11:04:00
    Re: NODE1 Directory
    By: WitNik to Digital Man on Tue Oct 13 2020 11:53 am

    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'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.

    digital man

    Sling Blade quote #9:
    Doyle Hargraves: Morris here is a modern-day poet, kinda like in olden times. Norco, CA WX: 90.8�F, 21.0% humidity, 1 mph E wind, 0.00 inches rain/24hrs

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From WitNik@VERT to Digital Man on Tuesday, October 13, 2020 19:24:55
    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.

    digital man

    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.

    Thanks,
    -John

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to WitNik on Tuesday, October 13, 2020 19:52:31
    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);

    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: 80.6�F, 36.0% humidity, 0 mph SE wind, 0.00 inches rain/24hrs

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to WitNik on Wednesday, October 14, 2020 18:40:59
    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...

    ---
    � Synchronet � Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Wednesday, October 14, 2020 15:47:56
    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.

    digital man

    Sling Blade quote #23:
    Karl: I reckon I'm gonna have to get used to looking at pretty people.
    Norco, CA WX: 93.7�F, 22.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Digital Man on Wednesday, October 14, 2020 23:12:18
    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 Wednesday, October 14, 2020 20:15:39
    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 Wednesday, October 14, 2020 22:05:37
    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 Thursday, October 15, 2020 15:24:58
    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 Thursday, October 15, 2020 08:03:09
    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 Thursday, October 15, 2020 08:59:13
    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 Thursday, October 15, 2020 09:05:39
    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 Thursday, October 15, 2020 09:12:20
    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 Thursday, October 15, 2020 14:28:47
    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 Friday, October 16, 2020 19:31:09
    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