• dots

    From Carlos Navarro@2:341/234.99 to All on Thu Feb 8 21:47:41 2024
    I think I managed to fix the issues that Smapi/JamNNTPd have with lines starting with a dot.

    .
    ..
    ...

    Edit nntpserv.c and make these two changes:

    1. Replace this:

    if(stricmp(buf,".")==0) /* "." means end of message in NNTP */
    strcpy(buf,"..");

    by this:

    if(buf[0]=='.')
    memmove(buf+1,buf,strlen(buf)+1);

    2. Insert this:

    if(line[0]=='.')
    memmove(line,line+1,strlen(line));

    just before this:

    if(textpos + strlen(line) > POST_MAXSIZE-1)


    Carlos

    --- Mozilla Thunderbird
    * Origin: cyberiada-NNTP (2:341/234.99)
  • From Nicholas Boel@1:154/10 to Carlos Navarro on Thu Feb 8 15:42:08 2024
    On Fri, 9 Feb 2024 03:47:40 +0100, Carlos Navarro -> All wrote:

    I think I managed to fix the issues that Smapi/JamNNTPd have with lines starting with a dot.

    I had asked about that at one point, when I discovered I only need to put two dots at the beginning of a tearline and Smapinntpd will add a third. Is that not an NNTP standard? I thought I read about that somewhere...

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/0 to Nicholas Boel on Fri Feb 9 08:05:02 2024
    On 08.02.2024 23:42, Nicholas Boel wrote:

    CN> I think I managed to fix the issues that Smapi/JamNNTPd have with lines
    CN> starting with a dot.

    I had asked about that at one point, when I discovered I only need to
    put two dots at the beginning of a tearline and Smapinntpd will add a
    third. Is that not an NNTP standard? I thought I read about that somewhere...

    It is part of the nntp standard during the nntp transfer, but it is NOT needed to remove/add the dots in fido msgbase. :)

    https://www.w3.org/Protocols/rfc977/rfc977.html

    === Cut ===

    If the text contained a period as the first character of the text
    line in the original, that first period is doubled. Therefore, the
    client must examine the first character of each line received, and
    for those beginning with a period, determine either that this is the
    end of the text or whether to collapse the doubled period to a single
    one.

    === Cut ===

    'Tommi

    ---
    * Origin: jamnntpd/lnx (2:221/0.0)
  • From Tommi Koivula@2:221/0 to Carlos Navarro on Fri Feb 9 08:22:36 2024
    On 08.02.2024 22:47, Carlos Navarro wrote:

    I think I managed to fix the issues that Smapi/JamNNTPd have with lines starting with a dot.

    .
    ..
    ...

    Edit nntpserv.c and make these two changes:

    Done. Looks good so far. :)

    'Tommi

    ---
    * Origin: jamnntpd/lnx (2:221/0.0)
  • From Carlos Navarro@2:341/234.1 to Nicholas Boel on Fri Feb 9 20:41:34 2024
    08 Feb 2024 15:42, you wrote to me:

    I had asked about that at one point, when I discovered I only need to
    put two dots at the beginning of a tearline and Smapinntpd will add a third. Is that not an NNTP standard? I thought I read about that somewhere...

    Tommi already explained. ;-)

    With lines starting with a dot, Smapi/JamNNTpd inserts and extra dot when posting, and removes it when reading. So you don't see (or write) the same as if you use a normal Fidonet (or BBS) editor.

    Those changes I posted should address this issue.

    Carlos

    --- GoldED+/W32-MSVC 1.1.5-b20180707
    * Origin: cyberiada (2:341/234.1)
  • From Nicholas Boel@1:154/10 to Carlos Navarro on Fri Feb 9 21:36:24 2024
    On Sat, 10 Feb 2024 02:41:34 +0100, Carlos Navarro -> Nicholas Boel wrote:

    Tommi already explained. ;-)

    I think he's the one that originally told me it was an NNTP standard when I pointed it out some time ago.

    With lines starting with a dot, Smapi/JamNNTpd inserts and extra dot when posting, and removes it when reading. So you don't see (or write) the same as if you use a normal Fidonet (or BBS) editor.

    Agreed.

    Those changes I posted should address this issue.

    Attempting it now by adding a third dot to my tagline. :)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/6.600 to Nicholas Boel on Sat Feb 10 10:00:13 2024
    On 10.02.2024 5:36, Nicholas Boel wrote:

    Attempting it now by adding a third dot to my tagline. :)

    ... "Take my advice, I don't use it anyway."

    :)

    'Tommi

    ---
    * Origin: == jamnntpd://news.fidonet.fi == (2:221/6.600)
  • From Nicholas Boel@1:154/10 to Tommi Koivula on Sat Feb 10 05:57:50 2024
    On Sat, 10 Feb 2024 16:00:12 +0200, Tommi Koivula -> Nicholas Boel wrote:

    On 10.02.2024 5:36, Nicholas Boel wrote:

    Attempting it now by adding a third dot to my tagline. :)

    ... "Take my advice, I don't use it anyway."

    :)

    This is the most action Jam/Smapinntpd has gotten in over a decade. It's kinda exciting. :)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)
  • From Jay Harris@1:229/664 to Nicholas Boel on Sat Feb 10 06:56:54 2024
    On 09 Feb 2024, Nicholas Boel said the following...

    Attempting it now by adding a third dot to my tagline. :)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101

    Are you adding taglines to your messages in Thunderbird or in SmapiNNTPd?


    Jay

    ... A bee with a knife will give you a buzz cut

    --- Mystic BBS v1.12 A49 2023/04/30 (Linux/64)
    * Origin: Northern Realms (1:229/664)
  • From Tommi Koivula@2:221/6 to Jay Harris on Sat Feb 10 14:25:05 2024
    Jay Harris wrote:

    Attempting it now by adding a third dot to my tagline. :)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0)
    Gecko/20100101

    Are you adding taglines to your messages in Thunderbird or in
    SmapiNNTPd?

    I think in Thunderbird, otherwise the missing dot problem wouldn't be there at all. :)

    'Tommi

    ... . ... . ... . ...

    --- FMail-lnx64 2.2.1.0
    * Origin: == jamnntpd://news.fidonet.fi == (2:221/6.0)
  • From Nicholas Boel@1:154/10 to Jay Harris on Sat Feb 10 07:21:34 2024
    On Sat, 10 Feb 2024 12:56:54 -0500, Jay Harris -> Nicholas Boel wrote:

    Are you adding taglines to your messages in Thunderbird or in SmapiNNTPd?

    I'm using the SmartTemplates add-on for Thunderbird. You can set your greeting, signature, and tagline in that (not using TB's default signature), then position your cursor where you want it whether it's a new message, reply/followup, or forward.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (1:154/10)