• Re: nlupd

    From Wilfred van Velzen@2:280/464 to Rick Smith on Tue Dec 20 09:46:18 2022
    Hi Rick,

    On 2022-12-19 22:03:16, you wrote to All:

    Im curious how everyone is updating nodelist on receipt of either a
    diff or weekly update, seems I have to do it manually?

    No. But it's a bit of a "chain" to setup.

    Whenever there are .tic files received by my mailer htick is run like this:

    .../htick -c .../husky.config toss

    In my husky.config I have the following lines:

    FileArea NODEDIFZ [FileAreaDir]/nodedifz -g FidoNet -d "Nodediffs in zip format" -a 2:280/464 2:.../...
    [...]
    # === Fidonet Worldwide Nodelist ===
    Nodelist NODELIST
    DiffUpdate [FileAreaDir]/nodedifz/NODEDIFF
    NodelistFormat Standard
    DefaultZone 2
    [...]
    ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh

    The nlupdate.sh script contains these lines:

    .../nlupd -c .../husky.config -q
    [...]
    .../gnlnx -C

    ('...' are paths on my system)


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Rick Smith@1:105/81 to Wilfred van Velzen on Tue Dec 20 06:42:04 2022
    Hello Wilfred!

    Tuesday December 20 2022 09:46, you wrote to me:

    * Forwarded from area 'FIDOSOFT.HUSKY'
    Hi Rick,

    On 2022-12-19 22:03:16, you wrote to All:

    Im curious how everyone is updating nodelist on receipt of either
    a diff or weekly update, seems I have to do it manually?

    No. But it's a bit of a "chain" to setup.

    Whenever there are .tic files received by my mailer htick is run like this:

    .../htick -c .../husky.config toss

    In my husky.config I have the following lines:

    FileArea NODEDIFZ [FileAreaDir]/nodedifz -g FidoNet -d "Nodediffs in
    zip format" -a 2:280/464 2:.../... [...] # === Fidonet Worldwide
    Nodelist === Nodelist NODELIST DiffUpdate [FileAreaDir]/nodedifz/NODEDIFF NodelistFormat Standard DefaultZone
    2 [...] ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh


    ('...' are paths on my system)


    I think I see how this works, one question just after your FileArea line and before the #=== line you have [...] which you said indicates a path on your system, is this a change in path or directory here? and if so where do I need to be pointing? Thank you!

    Regards,

    Rick

    ... Wildcat! is to BBSing what an Etch-a-sketch is to ART!
    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: Awesome Net- Oregon FTN Hub - www.awesomenet.us (1:105/81)
  • From Rick Smith@1:105/81 to Wilfred van Velzen on Tue Dec 20 06:47:48 2022
    Hello Wilfred!

    Tuesday December 20 2022 09:46, you wrote to me:

    * Forwarded from area 'FIDOSOFT.HUSKY'
    Hi Rick,

    On 2022-12-19 22:03:16, you wrote to All:

    Im curious how everyone is updating nodelist on receipt of either
    a diff or weekly update, seems I have to do it manually?

    No. But it's a bit of a "chain" to setup.

    Whenever there are .tic files received by my mailer htick is run like this:

    .../htick -c .../husky.config toss

    In my husky.config I have the following lines:

    2 [...] ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh

    The nlupdate.sh script contains these lines:


    I see the [...] are separators... lol

    so the only part I see that confuses me a little is ;

    2 [...] ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh

    what is [basedir]? for nodelists? if the case you have a bin dir in yours? or is there meant to be a space there before running script?

    Regards,

    Rick

    ... Life: The space between BBSing.
    --- GoldED+/LNX 1.1.5-b20220504
    * Origin: Awesome Net- Oregon FTN Hub - www.awesomenet.us (1:105/81)
  • From Vincent Coen@2:250/1 to Rick Smith on Tue Dec 20 14:39:09 2022
    Hello Rick!

    Monday December 19 2022 22:03, you wrote to All:

    Greetings All!

    Im curious how everyone is updating nodelist on receipt of either a
    diff or weekly update, seems I have to do it manually?

    With the reduction in numbers of nodes compared to say 10+ years ago and over the last year or two I have discontinued from processing NODEDIFF files and just use the nodelist or Z2DAILY files.

    Currently just the daily files as they are updated daily for all zones, but do pass on the nodelist and nodediffs for downlinks.


    Vincent

    --- Mageia Linux v8 X64/Mbse v1.0.8/GoldED+/LNX 1.1.5-b20180707
    * Origin: Air Applewood, The Linux Gateway to the UK & Eire (2:250/1)
  • From Wilfred van Velzen@2:280/464 to Rick Smith on Tue Dec 20 16:07:55 2022
    Hi Rick,

    On 2022-12-20 06:42:04, you wrote to me:

    Im curious how everyone is updating nodelist on receipt of either
    a diff or weekly update, seems I have to do it manually?

    No. But it's a bit of a "chain" to setup.

    Whenever there are .tic files received by my mailer htick is run like
    this:

    .../htick -c .../husky.config toss

    In my husky.config I have the following lines:

    FileArea NODEDIFZ [FileAreaDir]/nodedifz -g FidoNet -d "Nodediffs in
    zip format" -a 2:280/464 2:.../... [...] # === Fidonet Worldwide
    Nodelist === Nodelist NODELIST DiffUpdate
    [FileAreaDir]/nodedifz/NODEDIFF NodelistFormat Standard DefaultZone
    2 [...] ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh


    ('...' are paths on my system)


    I think I see how this works, one question just after your FileArea line and before the #=== line you have [...] which you said indicates a path on your system, is this a change in path or directory here? and if so where do
    I need to be pointing? Thank you!

    Ok, sorry for the confusion. In the husky.config section '[...]' it has the regular meaning of left out lines. ;-)
    And in reality I don't have 1 big husky.config file, but it is split up in a few sections that are included in the main file.

    The only explicit change in path (with a cd command) I do, is before gnlnx that needs to be executed in the directory where the golded config files reside.


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Rick Smith on Tue Dec 20 16:09:39 2022
    Hi Rick,

    On 2022-12-20 06:47:48, you wrote to me:

    ExecOnFile NODEDIFZ NODEDIFF.Z?? [basedir]/bin/nlupdate.sh

    what is [basedir]? for nodelists? if the case you have a bin dir in yours? or is there meant to be a space there before running script?

    basedir is defined in the first lines of my husky.config file as:

    set basedir=/home/fido
    set FileAreaDir=[basedir]/fileareas

    It's the home dir for all my fido related stuff...


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
  • From Stephen Walsh@3:633/280 to All on Sat Apr 15 22:29:08 2023

    Hello everybody!

    I'm trying to work out a issue with the nlupd command. It's not fining one of the nodelist files, and is reporting a
    different file name to what is in the archive.

    reporting not finding: amylist.104
    actual file name: AmyList.104

    As listed in the hpt config, I have the correct spelling/case of the file name, and it's working for the other
    networks.



    ---- husky config -----
    Unpack "lha e $a $p" 2 2d6c68
    Pack lha lha ao5 -fi $a $f

    NodelistDir /home/husky/nodelist

    NodeList nodelist
    FullUpdate /home/husky/files/fido/nodelist/nodelist
    NodelistFormat Standard

    Nodelist AmyList
    FullUpdate /home/husky/files/aminet/amylist/AmyList
    NodelistFormat Standard

    Nodelist FSXNET
    FullUpdate /home/husky/files/fsxnet/fsx_node/FSXNET
    NodelistFormat Standard
    ---- husky config -----


    ---- nlupd output ----
    1 18:26:51 Start
    C 18:26:51 Trying to update /home/husky/nodelist/nodelist.097
    6 18:26:51 Executing 'unzip -j -Loqq /home/husky/files/fido/nodelist/nodelist.z04 -d
    /home/husky/nodelist/nlupdate.tmp/'
    C 18:26:51 Found full update: /home/husky/nodelist/nlupdate.tmp/nodelist.104 C 18:26:51 Trying to update /home/husky/nodelist/AmyList.097
    6 18:26:51 Executing 'lha e /home/husky/files/aminet/amylist/AmyList.l04 /home/husky/nodelist/nlupdate.tmp/'
    B 18:26:51 Uncompressed file '/home/husky/nodelist/nlupdate.tmp/amylist.104' does not exist
    C 18:26:51 Trying to update /home/husky/nodelist/FSXNET.097
    6 18:26:51 Executing 'unzip -j -Loqq /home/husky/files/fsxnet/fsx_node/FSXNET.Z04 -d
    /home/husky/nodelist/nlupdate.tmp/'
    C 18:26:51 Found full update: /home/husky/nodelist/nlupdate.tmp/FSXNET.104
    1 18:26:51 End
    ---- nlupd output ----


    ---- directory listing ----
    [22:32:31] husky@host:~/ $> ll /home/husky/files/aminet/amylist/
    total 36
    drwxrwxr-x 2 husky husky 4096 Apr 14 11:59 .
    drwxrwxr-x 4 husky husky 4096 Sep 17 2021 ..
    -rw-r--r-- 1 husky husky 3840 Apr 14 08:02 AmyList.l04
    -rw-r--r-- 1 husky husky 3844 Mar 10 10:02 AmyList.l69
    -rw-r--r-- 1 husky husky 3845 Mar 17 10:02 AmyList.l76
    -rw-r--r-- 1 husky husky 3844 Mar 24 10:02 AmyList.l83
    -rw-r--r-- 1 husky husky 3844 Mar 31 09:02 AmyList.l90
    -rw-r--r-- 1 husky husky 3843 Apr 7 08:02 AmyList.l97

    ---- directory list ----






    Stephen


    --- GoldED+/LNX 1.1.5-b20220409
    * Origin: Dragon's Lair BBS, Telnet: dragon.vk3heg.net Prt: 6800 (3:633/280)
  • From Wilfred van Velzen@2:280/464 to Stephen Walsh on Sat Apr 15 18:08:59 2023
    Hi Stephen,

    On 2023-04-15 22:29:08, you wrote to All:

    I'm trying to work out a issue with the nlupd command. It's not fining
    one of the nodelist files, and is reporting a different file name to
    what is in the archive.

    reporting not finding: amylist.104 actual file name: AmyList.104

    As listed in the hpt config, I have the correct spelling/case of the file name, and it's working for the other networks.


    ---- husky config -----
    Unpack "lha e $a $p" 2 2d6c68
    Pack lha lha ao5 -fi $a $f

    I have this:

    Unpack "/usr/local/bin/lha eq -w=$p $a $f" 2 2d6c68
    Pack lha /usr/local/bin/lha aq $a $f

    Nodelist AmyList
    FullUpdate /home/husky/files/aminet/amylist/AmyList
    NodelistFormat Standard

    # === AmigaNet Worldwide Nodelist ===
    Nodelist AMYLIST
    DiffUpdate [FileAreaDir]/amydiff/AmyDiff
    FullUpdate [FileAreaDir]/amylist/AmyList
    NodelistFormat Standard
    DefaultZone 39

    if "[module]"=="htick"
    ...
    ExecOnFile AMYLIST AmyList.l?? [basedir]/bin/nlupdate_amylist.sh

    ---- nlupd output ----
    1 18:26:51 Start
    C 18:26:51 Trying to update /home/husky/nodelist/nodelist.097
    6 18:26:51 Executing 'unzip -j -Loqq /home/husky/files/fido/nodelist/nodelist.z04
    -d /home/husky/nodelist/nlupdate.tmp/' C 18:26:51 Found full update: /home/husky/nodelist/nlupdate.tmp/nodelist.104 C 18:26:51 Trying to update /home/husky/nodelist/AmyList.097 6 18:26:51 Executing 'lha e /home/husky/files/aminet/amylist/AmyList.l04 /home/husky/nodelist/nlupdate.tmp/' B 18:26:51 Uncompressed file '/home/husky/nodelist/nlupdate.tmp/amylist.104' does not exist C 18:26:51 Trying to update /home/husky/nodelist/FSXNET.097 6 18:26:51 Executing 'unzip -j -Loqq /home/husky/files/fsxnet/fsx_node/FSXNET.Z04
    -d /home/husky/nodelist/nlupdate.tmp/' C 18:26:51 Found full update: /home/husky/nodelist/nlupdate.tmp/FSXNET.104 1 18:26:51 End
    ---- nlupd output ----

    ---------- Fri 14 Apr 23, nlupdate/lnx 1.9.0-cur 04-06-16
    1 00:02:01 Start
    P 00:02:01 Use temp dir: '/home/fido/nodelist/nlupdate.tmp'
    P 00:02:01 Scan directory /home/fido/nodelist/ for AMYLIST
    C 00:02:01 Trying to update /home/fido/nodelist/AMYLIST.097
    P 00:02:01 Scan directory /home/fido/fileareas/amydiff/ for AmyDiff
    P 00:02:01 Scan directory /home/fido/fileareas/amylist/ for AmyList
    6 00:02:01 Executing '/usr/local/bin/lha eq -w=/home/fido/nodelist/nlupdate.tmp/ /home/fido/fileareas/amydiff/AMYDIFF.L04 '
    B 00:02:01 Uncompressed file '/home/fido/nodelist/nlupdate.tmp/amydiff.104' does not exist
    6 00:02:01 Executing '/usr/local/bin/lha eq -w=/home/fido/nodelist/nlupdate.tmp/ /home/fido/fileareas/amylist/AMYLIST.L04 '
    B 00:02:01 Uncompressed file '/home/fido/nodelist/nlupdate.tmp/amylist.104' does not exist
    6 00:02:01 Executing '/usr/local/bin/lha eq -w=/home/fido/nodelist/nlupdate.tmp/ /home/fido/fileareas/amylist/AmyList.l04 '
    C 00:02:01 Found full update: /home/fido/nodelist/nlupdate.tmp/AmyList.104
    O 00:02:01 Copy '/home/fido/nodelist/nlupdate.tmp/AmyList.104' to '/home/fido/nodelist/AMYLIST.104'
    O 00:02:01 Replacing '/home/fido/nodelist/AMYLIST.097' with '/home/fido/nodelist/AMYLIST.104'
    P 00:02:01 Scan directory /home/fido/nodelist/ for AMYLIST
    ...
    N 00:02:01 File '/home/fido/nodelist/nlupdate.tmp/AmyDiff.004' removed
    N 00:02:01 File '/home/fido/nodelist/nlupdate.tmp/AmyList.004' removed
    N 00:02:01 File '/home/fido/nodelist/nlupdate.tmp/AmyList.104' removed
    ...
    1 00:02:01 End


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)
  • From Stephen Walsh@3:633/280 to Wilfred van Velzen on Sun Apr 23 15:02:16 2023

    Hello Wilfred!

    15 Apr 23 18:08, you wrote to me:

    I'm trying to work out a issue with the nlupd command. It's not
    fining one of the nodelist files, and is reporting a different
    file name to what is in the archive.

    ---- husky config -----
    Unpack "lha e $a $p" 2 2d6c68
    Pack lha lha ao5 -fi $a $f

    Unpack "/usr/local/bin/lha eq -w=$p $a $f" 2 2d6c68

    My unpack line is now like that, and it's finding the amiganet nodelist.

    # === AmigaNet Worldwide Nodelist ===
    Nodelist AMYLIST
    DefaultZone 39

    I changed the nodelist line to be all Caps, and it looks like that is just for the final output of the nodelist as it's now all CAPS on the
    filesystem.... Added the defaultzone for extra points!




    Stephen


    --- GoldED+/LNX 1.1.5-b20220409
    * Origin: Dragon's Lair BBS, Telnet: dragon.vk3heg.net Prt: 6800 (3:633/280)
  • From Wilfred van Velzen@2:280/464 to Stephen Walsh on Sun Apr 23 13:09:37 2023
    Hi Stephen,

    On 2023-04-23 15:02:16, you wrote to me:

    ---- husky config -----
    Unpack "lha e $a $p" 2 2d6c68
    Pack lha lha ao5 -fi $a $f

    Unpack "/usr/local/bin/lha eq -w=$p $a $f" 2 2d6c68

    My unpack line is now like that, and it's finding the amiganet nodelist.

    Ok, good.

    # === AmigaNet Worldwide Nodelist ===
    Nodelist AMYLIST
    DefaultZone 39

    I changed the nodelist line to be all Caps, and it looks like that is just for the final output of the nodelist as it's now all CAPS on
    the filesystem....

    That's correct.


    Bye, Wilfred.

    --- FMail-lnx64 2.2.0.0
    * Origin: FMail development HQ (2:280/464)