• trailing ^An on tail.asc

    From Alterego@1:229/2 to All on Friday, August 09, 2019 11:56:20
    From: alterego@ALTERANT.remove-9w4-this

    To: Digital Man
    Hey DM,

    I've only just noticed that there is 2 lines between the bottom of the main menu (I'm using whats supplied by default) - that starts with Anytime... and the prompt "Main".

    It trails with a "smiley face" "n", where "n" must be at col 80 (and therefore resulting in an additional LF in SyncTerm).

    Looking at tail.asc in text/menu/, it looks like it is

    ... Abort cmd/text ^An

    So it seems that last ^A is not being interpreted?

    od -a of that file shows that it finishes with
    0000140 c A b o r t sp c m d / t e x t sp
    0000160 soh n nl
    0000163

    So maybe that last nl is also causing the additional line feed?

    ...���*


    ---
    � Synchronet � Alterant | an SBBS in Docker on Pi!
    --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)
  • From Digital Man@1:229/2 to All on Thursday, August 08, 2019 20:42:25
    From: digital.man@vert.synchro.net.remove-96f-this

    To: Alterego
    Re: trailing ^An on tail.asc
    By: Alterego to Digital Man on Fri Aug 09 2019 11:56 am

    Hey DM,

    I've only just noticed that there is 2 lines between the bottom of the main menu (I'm using whats supplied by default) - that starts with Anytime... and the prompt "Main".

    It trails with a "smiley face" "n", where "n" must be at col 80 (and therefore resulting in an additional LF in SyncTerm).

    Looking at tail.asc in text/menu/, it looks like it is

    ... Abort cmd/text ^An

    So it seems that last ^A is not being interpreted?

    od -a of that file shows that it finishes with
    0000140 c A b o r t sp c m d / t e x t sp 0000160 soh n nl
    0000163

    So maybe that last nl is also causing the additional line feed?

    Sorta. It was bug in the new line-at-a-time printfile() usage. It only showed up in *nix format (LF-terminated) files. I mostly test here with CRLF-terminated lines, so I didn't see it, but thanks for the report!

    digital man

    Synchronet "Real Fact" #5:
    Synchronet version 3 for Win32 development began in 1999.
    Norco, CA WX: 73.5�F, 63.0% humidity, 5 mph ENE wind, 0.00 inches rain/24hrs --- Synchronet 3.17c-Win32 NewsLink 1.110
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net

    --- SoupGate-Win32 v1.05
    * Origin: www.darkrealms.ca (1:229/2)