• Fidoblitz

    From Stephen Walsh@3:633/280 to All on Mon May 11 20:56:04 2026

    Hello everybody!

    FidoBlitz - An Amiga Binkp/1.1 Mailer for the Amiga computer.

    FidoBlitz is a native Amiga Binkp/1.1 mailer written in AmiBlitz3. It provides a clean, reliable implementation
    to replace the buggy existing AmiBinkd port.


    # FidoBlitz Development Log

    # v0.19 - 2026-05-11
    ## Enhancement: Log file rotation

    A sysop reported FidoBlitz running visibly slowly, with each log line
    appearing roughly one per second. Investigation found the log had grown to
    22 MB - every log write opens the file in `#MODE_READWRITE`, seeks to the
    end and closes again (the open-append-close pattern that lets sysops edit/truncate the log without crashing FidoBlitz), and on slow Amiga storage that seek-to-end becomes the bottleneck once the file is large.

    After each session, check the active log file's size and if it exceeds `log-maxsize`, rotate it. Rotation is the classic numeric scheme:
    delete `<log>.<keep>`, then cascade `.N-1 -> .N` down to `.1 -> .2`, then rename the current log to `.1`. The next write reopens the (now absent) main log path fresh.

    Two new config keywords:
    - `log-maxsize <bytes>` - rotation threshold, default 8388608 (8 MB)
    - `log-keep <count>` - number of `.1`..`.N` backups to keep, default 5

    It will appear on Aminet's Latest packages list in the next day or so.

    If you can't wait, then grab it from my website:

    https://vk3heg.net/fidoblitz019.lha




    Stephen


    --- GoldED+/LNX 1.1.5-b20260304
    * Origin: Dragon's Lair ---:- dragon.vk3heg.net -:--- Prt: 6800 (3:633/280)