TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Sean Rima
from: Kai Richter
date: 2024-09-05 08:09:00
subject: Splitting a posted file

Hello Sean!

03 Sep 24, Sean Rima wrote to All:

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

There are several points to hook this. Golded has

      EDITMSGSIZE   (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)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.