• tic processing

    From Al@21:4/106 to apam on Tue Nov 5 06:46:50 2019
    Hello Apam,

    When I first setup Magicka I was running as a point so I was sending
    files and tics to magicka and ticproc was working well for me.

    Now I am receiving files and I need to send them on to linked nodes so
    htick is doing that but I'm wondering now how to import those new
    arrivals into the BBS here.

    Perhaps if ticproc had an option to read the tics, import the files and
    leave the tic alone I could run ticproc first to import the new files and
    then run htick to move the files into place and do what it needs to do
    right after I run ticproc?

    Perhaps I could do a mass import also after getting new files.

    The advantage to having the tics available is for files that don't
    contain a file_id.diz so we can still get the description from the Desc
    or LDesc lines in the tic.

    I'm still a few days away from getting going on the file areas.. I'm just trying to figure out how to proceed.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Wed Nov 6 11:05:21 2019
    Perhaps if ticproc had an option to read the tics, import the files and leave the tic alone I could run ticproc first to import the new files
    and then run htick to move the files into place and do what it needs to
    do right after I run ticproc?

    I've added a "do not delete" option to the main section in the ini file.
    This will default to false, but you can set it to true and it will leave
    the tic file, and the copy the referenced file rather than moving it. So ticproc imports the file into the bbs, but leaves everything in the
    inbound for htick..

    You will then need to run htick after and have it remove both the tic
    file and the referenced file after it does what it does.

    Will that work?

    I haven't committed it yet but will do so soon.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Tue Nov 5 21:40:08 2019
    Perhaps if ticproc had an option to read the tics, import the files and leave the tic alone I could run ticproc first to import the new files
    and then run htick to move the files into place and do what it needs to
    do right after I run ticproc?

    I've added a "do not delete" option to the main section in the ini
    file. This will default to false, but you can set it to true and it will leave the tic file, and the copy the referenced file rather than moving it. So ticproc imports the file into the bbs, but leaves everything in
    the inbound for htick..

    You will then need to run htick after and have it remove both the tic
    file and the referenced file after it does what it does.

    Will that work?

    htick may fail to toss those tics if it finds those files already exist
    in those destination directories. It will work I think if those tics have
    a REPLACES line in them but most tics don't have a REPLACES line.

    I may be able to work with this though, I'll have a look at available
    keywords for the husky config. It is a good start though, thank you for
    that. I only get maybe 10 files a day most days so it won't be hard to
    work with and I'll let you know how it goes.

    I haven't committed it yet but will do so soon.

    I see you have commited it since and I have updated and will have a go
    with it.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Wed Nov 6 17:16:05 2019
    htick may fail to toss those tics if it finds those files already exist
    in those destination directories. It will work I think if those tics
    have a REPLACES line in them but most tics don't have a REPLACES line.

    Can't you set htick to pass through? Isn't it only forwarding the files?

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Tue Nov 5 23:38:52 2019
    htick may fail to toss those tics if it finds those files already exist
    in those destination directories. It will work I think if those tics
    have a REPLACES line in them but most tics don't have a REPLACES line.

    Can't you set htick to pass through? Isn't it only forwarding the
    files?

    Normaly htick puts the files in the filebase, adds them to the files.bbs
    and sends them to linked nodes.

    It's possible that files.bbs might be usefull as well.

    I'm not certain what will happen but I'll let you know when I get going.
    It may work as it is, or if not we can look at that more when we have
    details.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Wed Nov 6 18:38:57 2019
    htick may fail to toss those tics if it finds those files already exist
    in those destination directories. It will work I think if those tics
    have a REPLACES line in them but most tics don't have a REPLACES line.

    Can't you set htick to pass through? Isn't it only forwarding the
    files?

    Normaly htick puts the files in the filebase, adds them to the
    files.bbs and sends them to linked nodes.

    I just checked the docs, you can have pass through areas. The way I'm suggesting doing things, is :

    1. binkd receives tic file and file runs script
    2. script runs ticproc
    3. ticproc tosses the files into magicka bases but leaves them
    alone 4. script runs htick 5. htick doesn't know ticproc
    ran, the files are in the inbound still 6. htick moves file to "PassFileAreaDir" and sends them to downlinks 7. htick deletes
    file and tic file from inbound 8 script finished

    Andrew


    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From apam@21:1/126 to Al on Wed Nov 6 18:39:32 2019
    Just respacing this so it doesn't wrap

    1. binkd receives tic file and file runs script

    2. script runs ticproc

    3. ticproc tosses the files into magicka bases but leaves them
    alone

    4. script runs htick

    5. htick doesn't know ticproc ran, the files are in the inbound
    still

    6. htick moves file to "PassFileAreaDir" and sends them to
    downlinks

    7. htick deletes file and tic file from inbound

    8 script finished

    Andrew


    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Wed Nov 6 01:32:06 2019
    Can't you set htick to pass through? Isn't it only forwarding the
    files?

    I don't think I've ever used passthrough but I will setup that way. If I understand htick will put those files in a temp dir and send them off to
    linked nodes. That should also work I think.

    Ttyl :-),
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)