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
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.
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.
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...
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.
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
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 nodedirectories
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 want to have all nodeX directories into "nodes" directory (just for organize it)I'm somewhat surprised that even works! :-)
/sbbs/nodes/node1
/sbbs/nodes/node2
/sbbs/nodes/node3
etc..
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.
/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.
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#?
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
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'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.
Thanks for the detail on the fix, but I'd just assume not risk it. Forsome
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
Sysop: | KrAAB |
---|---|
Location: | Donna, TX |
Users: | 2 |
Nodes: | 20 (0 / 20) |
Uptime: | 112:53:40 |
Calls: | 248 |
Files: | 526 |
Messages: | 34,367 |