• htick hatch error

    From Mike Powell@1:2320/107 to ALL on Saturday, May 02, 2026 10:40:12
    I have a script set up with the following line in it (it wraps here):

    /usr/local/bin/htick -c /home/bbs/ftn/etc/config hatch /home/bbs/u/temp/ sfnet.zip SF_INFO replace sfnet.zip desc @@DIZ @DIZ

    Based on what the man page says, the 'desc @@DIZ @DIZ' part is valid.
    However, if I run with that part on there, I get:

    Segmentation fault

    If I take the '@@DIZ @DIZ' off, it runs as expected and hatches out the
    file. I checked and the file being hatched does contain a valid FILE_ID.DIZ file. The lines in the DIZ file end with the DOS EOL characters and not
    the linux EOL, but I wouldn't think that would cause an issue.

    I am assuming I have something wrong on that command line? ;)

    Thanks!
    Mike


    * SLMR 2.1a * Tagline dispenser temporarily out of order.
    --- SBBSecho 3.28-Linux
    * Origin: Capitol City Online (1:2320/107)
  • From Nick Boel@1:154/700 to Mike Powell on Saturday, May 02, 2026 13:46:41
    Hey Mike!

    On Sat, May 02 2026 10:40:12 -0500, you wrote:

    I have a script set up with the following line in it (it wraps
    here):

    /usr/local/bin/htick -c /home/bbs/ftn/etc/config hatch /home/bbs/u/
    temp/ sfnet.zip SF_INFO replace sfnet.zip desc @@DIZ @DIZ

    Based on what the man page says, the 'desc @@DIZ @DIZ' part is
    valid. However, if I run with that part on there, I get:

    If I take the '@@DIZ @DIZ' off, it runs as expected and hatches out
    the file. I checked and the file being hatched does contain a valid FILE_ID.DIZ file. The lines in the DIZ file end with the DOS EOL
    characters and not the linux EOL, but I wouldn't think that would
    cause an issue.

    I am assuming I have something wrong on that command line? ;)

    Here is from the man page:

    hatch <file> <area> [replace [<filemask>]] [desc <desc> [<ldesc>]]

    I'm not sure if you can use both at the same time as I've never tried, but here is how I do it:

    If using a short description:

    .. desc @/path/to/something.txt

    If using a file_id.diz:

    .. desc @DIZ

    However, between the man page and the help from just typing 'htick' on the command line, I would agree that you /should/ be able to do both.. and no matter what, you definitely shouldn't be getting a segmentation fault whether it works or not.

    Regards,
    Nick

    ... Sarcasm, because beating people up is illegal.
    --- SBBSecho 3.37-Linux
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (1:154/700)
  • From Mike Powell@1:2320/107 to NICK BOEL on Sunday, May 03, 2026 10:10:48
    If using a file_id.diz:

    .. desc @DIZ

    However, between the man page and the help from just typing 'htick' on the command line, I would agree that you /should/ be able to do both.. and no matter what, you definitely shouldn't be getting a segmentation fault whether it works or not.

    I was actually hoping I was messing something up. :D

    I am not sure I have tried it with just the one. I will try that the next
    time I have something to hatch and see what happens.

    IIRC, it did initially work when I first set the script up but I might be remembering wrong, i.e. maybe I didn't use the 'desc' parameter that first
    time or two.

    Mike

    * SLMR 2.1a * Tagline dispenser temporarily out of order.
    --- SBBSecho 3.28-Linux
    * Origin: Capitol City Online (1:2320/107)