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]
Name = Momia BBS
Comment = Manuel Adorni
Archive = ZIP
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
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|