• Splitting a posted file

    From Sean Rima@2:263/1 to All on Tuesday, September 03, 2024 01:32:22

    Hello everybody!

    I am trying to post a text file to an echo but it is causing somne dos systems problems due to the size. If there a config item that can split the file and post as multiple parts

    Sean


    --- GoldED+/LNX 1.1.5-b20240309
    * Origin: TCOB1 Mail Only (2:263/1)
  • From Kai Richter@2:240/77 to Sean Rima on Thursday, September 05, 2024 08:09:54
    Hello Sean!

    03 Sep 24, Sean Rima wrote to All:

    I am trying to post a text file to an echo but it is causing somne dos systems problems due to the size. If there a config item that can
    split the file and post as multiple parts

    There are several points to hook this. Golded has

    EDITMSGSIZE <bytes> (64000 in DOS, 512000 in OS/2 or 386)

    This lets you limit the size of loaded msgs. GoldED currently
    cannot handle msgs larger than 64k in the DOS version (the 386 and
    OS/2 versions do not have this limit). This keyword ensures that
    the system will not get confused and possibly crash or exit, if a
    message was encountered that was larger than 64k.

    at least a bugfix that stops crashing. I think the concept was to left this function to the tosser because there is FSC-47. hpt does have size limitation keywords for the the areafix postings (areafixmsgsize) but i didn't found something for the user messages. There is -u for the hpt post function,

    hpt post -h | more

    -u[size] uue-multipart posting
    size - number of lines per section(150 for default)

    but i don't know if that works for any text or if it's limited to uue only.


    The *nix solution would use the split utility. It can split by size or by lines.

    man split

    -b, --bytes=SIZE
    put SIZE bytes per output file

    -C, --line-bytes=SIZE
    put at most SIZE bytes of lines per output file

    -l, --lines=NUMBER
    put NUMBER lines per output file

    If we are talking about automated postings then i would tinker split into the pre-processing posting chain.

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)
  • From Sean Rima@2:263/1 to Kai Richter on Tuesday, September 24, 2024 20:27:30
    Hello Kai!

    I cannot get MSGED to quote. Thanks, you set me on the right track. It is a text file from the command line that is causong all the issues with one net

    Regards,
    Sean

    --- msged/lnx 6.3 2023-02-24
    * Origin: TCOB1 - Proudly Mail Only (2:263/1)