• Hatching a file

    From acn@1:103/705 to All on Mon Jun 21 16:13:15 2021
    Hi,

    As I'm the FTN hub for WeedNet, I want to create a nodelist and hatch it to a "file echo", so other BBSes get new nodelists automagically using FileFix.

    I tried to look in the Wiki, but the page for HatchIT (which I thought might help me here) is empty at the moment.

    So, I tried to figure it out by myself.

    Note: I'm using Synchronet 3.18b.

    I added the file to my filebase using ADDFILES.

    In tickit.ini, the echo is listed and my point is added as a link:

    ----
    [WEEDNET-NODELIST]
    Dir=weednet_nodelist
    AKAMatching=true
    links=420:2/1.1
    SourceAddress=420:2/1@weednet
    ----

    Now I started 'jsexec ./hatchit.js' and selected the group, area and file and selected the area "WEEDNET-NODELIST".
    I then chose "420:2/1" as my origin and proceeded.

    I then noticed two new files in /sbbs/fido/outbound.1a4:
    00020001.flo
    ti_0004e.tic

    The TIC file has this content:
    ----
    Area WEEDNET-NODELIST
    Origin 420:2/1
    From 2:240/5824
    To 420:2/1.1
    File WEEDNET.Z76
    Size 1498
    Date 1624282982
    Desc WeedNet first nodelist
    Created by TickIT 1.6
    Crc C94A52C8
    Path 2:240/5824
    Pw
    ----

    I'm a little curious why my FidoNet node address is listed here, as this has nothing to do with FidoNet.

    This should be it, right?

    But, when I run a netcall from my OpenXP point, no files get sent to my point.

    This is the sbbs.log part:

    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP connection accepted from: 79.224.43.107 port 54050
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP BinkIT/2.39 invoked with options:
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP JSBinkP/1.123 inbound connection from <ip>
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP Peer version: OpenXP/5.0.50/Linux binkp/1.1
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP Remote addresses: 420:2/1.1@weednet
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP Inbound session for: 420:2/1.1@weednet
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP CRAM-MD5 password match for 420:2/1.1@weednet
    Jun 21 16:11:25 box synchronet: srvc 0046 BINKP service thread terminated (0 clients remain, 0 total, 6244 served)


    So, I have two questions:

    1. Did I do anything wrong which prevents my point from getting the file?

    2. Can I automate the hatching process so I can write a script which runs makenl and hatchit automatically every friday?

    Thank you very much!

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box -*- box.imzadi.de
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:103/705 to acn on Mon Jun 21 17:09:15 2021
    Re: Hatching a file
    By: acn to All on Mon Jun 21 2021 04:13 pm

    I then noticed two new files in /sbbs/fido/outbound.1a4:
    00020001.flo
    ti_0004e.tic

    Those files will need to go into a .pnt directory?

    The TIC file has this content:
    ----
    Area WEEDNET-NODELIST
    Origin 420:2/1
    From 2:240/5824
    To 420:2/1.1
    File WEEDNET.Z76
    Size 1498
    Date 1624282982
    Desc WeedNet first nodelist
    Created by TickIT 1.6
    Crc C94A52C8
    Path 2:240/5824
    Pw
    ----
    I'm a little curious why my FidoNet node address is listed here, as this has nothing to do with FidoNet.

    Yes, that tic should be from your weednet aka. Hatchit might need a bit of an update.

    1. Did I do anything wrong which prevents my point from getting the file?

    I think those files, the .?lo at least needs to go into a .pnt directory, then they will go.

    2. Can I automate the hatching process so I can write a script which runs makenl and hatchit automatically every friday?

    Hatchit is a nice interactive hatching tool. If you are going to do this in a script you can write out your own tic with the needed keywords after you create a new nodelist.

    Ttyl :-),
    Al

    ... COMMAND: A suggestion made to a computer.

    ---
    þ Synchronet þ The Rusty MailBox - Penticton, BC Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From acn@1:103/705 to Al on Tue Jun 22 09:17:18 2021
    Hi Al,

    I then noticed two new files in /sbbs/fido/outbound.1a4:
    00020001.flo
    ti_0004e.tic
    Those files will need to go into a .pnt directory?

    Maybe? I have to admit that I don't know this...

    I'm a little curious why my FidoNet node address is listed here, as this has nothing to do with FidoNet.
    Yes, that tic should be from your weednet aka. Hatchit might need a bit of an update.

    Okay, interesting. Especially as HatchIT asks for the origin...?!

    I think those files, the .?lo at least needs to go into a .pnt directory, then they will go.

    Okay, I'll try that. Thank you.

    Hatchit is a nice interactive hatching tool. If you are going to do this in a script you can write out your own tic with the needed keywords after you create a new nodelist.

    Oh, okay. I had hoped that there already is something like that and I just didn't find it.
    That would mean that I'd have to create most of HatchIT's functionality, eg. getting the links for a file echo, getting the right directory in /sbbs/fido, creating the CRC etc...

    Am I the first one who wants to use this kind of functionality?!

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box -*- box.imzadi.de
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:103/705 to acn on Tue Jun 22 01:40:33 2021
    Re: Hatching a file
    By: acn to Al on Tue Jun 22 2021 09:17 am

    I then noticed two new files in /sbbs/fido/outbound.1a4:
    00020001.flo
    ti_0004e.tic
    Those files will need to go into a .pnt directory?

    Maybe? I have to admit that I don't know this...

    If you are tossing from a node to a point then they need to go in a .pnt directory.

    Oh, okay. I had hoped that there already is something like that and I just didn't find it.
    That would mean that I'd have to create most of HatchIT's functionality, eg. getting the links for a file echo, getting the right directory in /sbbs/fido, creating the CRC etc...

    Yes, if you want to do it from a script. Hatchit may take command line arguments, I'm not aware of that but it might. In that case you could do that with a script.

    Am I the first one who wants to use this kind of functionality?!

    No, we have been hatching files for some time now.. :)

    Different tools work differently. I'm not sure if hatchit can be run from a script.

    Ttyl :-),
    Al

    ... It's easier to get forgiveness than permission.

    ---
    þ Synchronet þ The Rusty MailBox - Penticton, BC Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Angel Ripoll@2:341/66 to Acn on Tue Jun 22 15:13:24 2021
    Hola Acn!

    21 Jun 21 16:13, acn dijo a All:

    I then noticed two new files in /sbbs/fido/outbound.1a4:
    00020001.flo
    ti_0004e.tic

    outbound.1a4 is the 420 zone directory (420 in hexadecimal is 1a4). In that directory are the files of the nodes. Within it, there are the directories of the points of each node. in your case the file 00020001.flo is directed to node 420:2/1, that is, to yourself. You will never be able to send this file unless you configure another mailer to present that AKA

    As Al told you, to go to point 420:2/1.1 it must be a file called 00000001.flo inside the outbound.1a4/00020001.pnt directory.

    1. Did I do anything wrong which prevents my point from getting the file?

    I don't use tickit but it seems that the TIC file is fine, unless it has the AKA of fido, and the one that is wrong is the .flo control file, which is in the wrong directory and with the wrong name. This file goes to node instead of point.

    [few minutes later]

    I just did a test and I see that the files to do for point .999, the TIC is correct but the .flo file is not because it is for the node

    I guess DM can help us as always :)

    Un saludo,
    Angel Ripoll
    aripoll @ zruspas.org
    --- GoldED+/LNX 1.1.5-b20180707 + HPT 1.9 + Binkd 1.1 en Debian
    * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66)
  • From acn@1:103/705 to Al on Tue Jun 22 15:48:41 2021
    Hi Al,

    If you are tossing from a node to a point then they need to go in a .pnt directory.

    Well, then I should open an "issue" for this :)

    Yes, if you want to do it from a script. Hatchit may take command line arguments, I'm not aware of that but it might. In that case you could do that with a script.

    I'll try to look into the .js source...

    Am I the first one who wants to use this kind of functionality?!
    No, we have been hatching files for some time now.. :)

    I thought so, as I already got my nodediff's back in the 90s to my point.
    But what's the recommended way when using Synchronet?

    Different tools work differently. I'm not sure if hatchit can be run from a script.

    Yes, no problem. I just need a pointer to the 'right' tool to use...

    Thank you!

    Regards,
    Anna

    ---
    ï¿­ Synchronet ï¿­ Imzadi Box -*- box.imzadi.de
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:103/705 to acn on Wed Jun 23 16:40:48 2021
    Re: Hatching a file
    By: acn to Al on Tue Jun 22 2021 03:48 pm

    Well, then I should open an "issue" for this :)

    Yes. I'm not certain what the issue might be myself, but there are folks that can look into it and sort it.

    Yes, no problem. I just need a pointer to the 'right' tool to use...

    There are many tools you could use. The original tic program would work for you in a script although that's a DOS program.

    I think hatchit is a good tool to use although it is interactive as far as I know. If it does take cmd line arguments it could work unattended from a script.

    One thing I notice when using hatchit is that it adds a couple of blank LDesc lines. That's not a show stopper but it would be better if it didn't do that. If you happen to open an "issue" for hatchit perhaps you could mention that too.

    Ttyl :-),
    Al

    ... All of my REALLY GOOD taglines are 1 character too lon

    ---
    þ Synchronet þ The Rusty MailBox - Penticton, BC Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)