• JAM msg base sorting

    From Stas Mishchenkov@2:460/5858 to Tommi Koivula on Sat Aug 26 11:41:16 2023
    Hi Tommi!

    Thursday August 24 2023 19:55, you wrote to me:

    https://brorabbit.g0x.ru/files/perl/maintjam.pl

    IPv6 connection not working. Downloaded with 'wget -4'.

    Thanks. Fixed.

    [...skipped...]

    Now it is running. I think it just tried to phone home first!

    I'll do some more testing later.


    === Cut ===
    2023-08-24 19:54:19 maintjam.pl (v.0.0.0.6) -u=n -a

    [...skipped...]

    2023-08-24 19:54:20 Writing done. 38 messages written.
    === Cut ===

    Seems to work as it should.

    Thanks.

    However, it does renumber the messagebase, so it is useless with jamnntpd. :(

    That is how JAM is working.

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/360 to Stas Mishchenkov on Sat Aug 26 14:45:18 2023
    Hello, Stas Mishchenkov.
    On 26/08/2023 11.41 you wrote:

    However, it does renumber the messagebase, so it is useless with
    jamnntpd. :(
    That is how JAM is working.

    There are programs which can pack and purge without renumbering. Fastecho and GEcho for example.

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Stephen Walsh@3:633/280.5 to Stas Mishchenkov on Sun Aug 27 10:34:07 2023
    Hi Stas,

    On Thursday August 24 2023, Stas Mishchenkov said to Stephen Walsh:

    This program sorts by the date messages was written in the JAM
    messagebase. It can also clean up messages marked as deleted and in

    How well does it handle things when the area's are in the main config
    file?

    Areas can be in any file. The main thing is to point the way to it.

    I've now been able to run it. It just took a while... One thing I did
    notice is that when specifying an area it will find any area's with
    those same words in it...

    Command lime:

    ./maintjam.pl -a config -p doom

    Area's it packed/sorted:
    doom
    alt.games.doom
    this.is.doom.life


    -- Stephen --

    Rocking Fidonet with an Amiga 4000 and Zeus BBS.


    --- Zeus BBS 1.5
    * Origin: -:-- Dragon's Lair --:- dragon.vk3heg.net Prt: 6800 (3:633/280.5)
  • From Stas Mishchenkov@2:460/5858 to Stephen Walsh on Tue Aug 29 08:43:10 2023
    Hi Stephen!

    Sunday August 27 2023 10:34, you wrote to me:

    This program sorts by the date messages was written in the JAM
    messagebase. It can also clean up messages marked as deleted and in

    How well does it handle things when the area's are in the main config
    file?

    Areas can be in any file. The main thing is to point the way to it.

    I've now been able to run it. It just took a while... One thing I did notice is that when specifying an area it will find any area's with
    those same words in it...

    Command lime:

    ./maintjam.pl -a config -p doom

    Area's it packed/sorted:
    doom
    alt.games.doom
    this.is.doom.life

    Yes. That's how it was intended. Apparently, I need to change it to a more familiar explicit indication of wildcards.

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Stas Mishchenkov@2:460/5858 to Tommi Koivula on Mon Sep 4 09:22:32 2023
    Hi Tommi!

    Saturday August 26 2023 14:45, you wrote to me:

    However, it does renumber the messagebase, so it is useless with
    jamnntpd. :(
    That is how JAM is working.

    There are programs which can pack and purge without renumbering. Fastecho and GEcho for example.

    I know. That's why I made a utility for renumbering.

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/1 to Stas Mishchenkov on Mon Sep 4 10:13:08 2023
    Hi Stas.

    04 Sep 23 09:22, you wrote to me:

    There are programs which can pack and purge without renumbering.
    Fastecho and GEcho for example.

    I know. That's why I made a utility for renumbering.

    So please add an option not to renumber in maintjam.pl. ;)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20230826
    * Origin: rbb.fidonet.fi (2:221/1)
  • From Stas Mishchenkov@2:460/5858 to Tommi Koivula on Wed Sep 6 09:55:08 2023
    Hi Tommi!

    Monday September 04 2023 10:13, you wrote to me:

    There are programs which can pack and purge without renumbering.
    Fastecho and GEcho for example.

    I know. That's why I made a utility for renumbering.

    So please add an option not to renumber in maintjam.pl. ;)

    How can I sort messages by date written without changing the numbers?

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/6.600 to Stas Mishchenkov on Wed Sep 6 13:30:32 2023
    Hi Stas.

    06 Sep 23 09:55, you wrote to me:

    There are programs which can pack and purge without renumbering.
    Fastecho and GEcho for example.

    I know. That's why I made a utility for renumbering.

    So please add an option not to renumber in maintjam.pl. ;)

    How can I sort messages by date written without changing the numbers?

    I was talking about packing the jam base.

    Sorting of course changes the numbers. :)

    'Tommi

    ---
    * Origin: ---------> (2:221/6.600)
  • From Stas Mishchenkov@2:460/5858 to Tommi Koivula on Sat Sep 9 13:05:36 2023
    Hi Tommi!

    Wednesday September 06 2023 13:30, you wrote to me:

    There are programs which can pack and purge without renumbering.
    Fastecho and GEcho for example.

    I know. That's why I made a utility for renumbering.

    So please add an option not to renumber in maintjam.pl. ;)

    How can I sort messages by date written without changing the numbers?

    I was talking about packing the jam base.

    Sorting of course changes the numbers. :)

    The maintjam.pl is intended for sorting messages. Deleting of old and soft deleted messages is accompanying bonus.

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/6 to Stas Mishchenkov on Mon Sep 11 07:04:16 2023
    Hi Stas.

    09 Sep 23 13:05:36, you wrote to me:

    I was talking about packing the jam base.

    Sorting of course changes the numbers. :)

    The maintjam.pl is intended for sorting messages. Deleting of old and
    soft deleted messages is accompanying bonus.

    Hptutil can do all of this too. The real bonus would be a possibility NOT to renumber. :)

    'Tommi

    ---
    * Origin: - rbb.fidonet.fi - Finland - (2:221/6)
  • From Stas Mishchenkov@2:460/5858 to Tommi Koivula on Mon Sep 11 07:49:22 2023
    Hi Tommi!

    Monday September 11 2023 07:04, you wrote to me:

    I was talking about packing the jam base.
    Sorting of course changes the numbers. :)
    The maintjam.pl is intended for sorting messages. Deleting of old and
    soft deleted messages is accompanying bonus.

    Hptutil can do all of this too.

    In some cases it broke the JAM base. Probably it fixed now. It sorts only unread messages.

    The real bonus would be a possibility NOT to renumber. :)

    This is probably true. You're not the only one saying this.

    Have a nice night.
    Stas Mishchenkov.

    --- Have You daily sexual life? Hide it proper from Your wife! ;)
    * Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)
  • From Tommi Koivula@2:221/1 to Stas Mishchenkov on Mon Sep 11 21:06:35 2023
    On 11 Sep 2023 7.49, Stas Mishchenkov wrote:

    Monday September 11 2023 07:04, you wrote to me:

    I was talking about packing the jam base.
    Sorting of course changes the numbers. :)
    The maintjam.pl is intended for sorting messages. Deleting of old and
    soft deleted messages is accompanying bonus.

    Hptutil can do all of this too.

    In some cases it broke the JAM base. Probably it fixed now.

    I don't know about this, but I don't really use it 'in production'.

    It sorts only unread messages.

    I think this is the way it has to work, at least if the msgbase is used in a bbs with many users.

    The real bonus would be a possibility NOT to renumber. :)

    This is probably true. You're not the only one saying this.

    Ok. I'll be waiting. ;)

    'Tommi

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/1.0)
  • From Tommi Koivula@2:221/1 to Nil Alexandrov on Mon Sep 11 21:12:09 2023
    On 11 Sep 2023 7.43, Nil Alexandrov wrote:

    Lemme guess, you are having a hard time with *smapinntpd* after
    purging your JAM bases? This guy (smapinntpd ) operates with the
    'unique message ID' which is supposed to survive the database
    purging.

    Actually I'm not having a hard time. I found this renumbering thing out long long time ago when I first stared using jamnntpd in my GEcho operated system.

    Now in my linux husky system I simply don't purge/pack at all.

    I raised this question in a Russian speaking echo conferences *ru.ftn.develop* and *ru.fidonet.today* about two weeks ago. We had
    a very interesting discussion with a few folks after which I realized
    that people think that the BaseMsgNum field in the JAM header should
    stay 1 all the time.

    Right. :)

    In this msg area the first message has a number of 105. :)

    'Tommi

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/1.0)
  • From Tommi Koivula@2:221/360 to Michael Dukelsky on Mon Sep 11 21:19:55 2023
    Hptutil can do all of this too.

    BTW, Michael, could you add hptutil to the './build.sh' too?

    'Tommi

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
  • From Angel Ripoll@2:341/66.1 to Tommi Koivula on Tue Sep 12 00:02:11 2023
    Hello, Tommi Koivula.
    On 11/9/23 21:19 you wrote:

    Hptutil can do all of this too.
    BTW, Michael, could you add hptutil to the './build.sh' too?
    'Tommi --- * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360.0)
    +1
    --
    Best regards!
    Posted using Hotdoged on Android
    --- Hotdoged/2.13.5/Android
    * Origin: Android device, Milky Way (2:341/66.1)
  • From Michael Dukelsky@2:5020/1042 to Tommi Koivula on Fri Sep 15 16:55:10 2023
    Hello Tommi,

    Monday September 11 2023, Tommi Koivula wrote to Michael Dukelsky:

    Hptutil can do all of this too.
    BTW, Michael, could you add hptutil to the './build.sh' too?

    Yes, I'll do it when I return from my vacation.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20230221
    * Origin: Moscow, Russia (2:5020/1042)
  • From Kai Richter@2:240/77 to Stas Mishchenkov on Tue Sep 19 18:46:00 2023
    Hello Stas!

    06 Sep 23, Stas Mishchenkov wrote to Tommi Koivula:

    How can I sort messages by date written without changing the numbers?

    Hm... Sort them before they get numbers?

    I'm still missing the good old OS/2 tool pktsort/2 of 1993.

    It was not a 100% solution because of some people used Crosspoints annonymous time mode that set 00:00 daytime stamps and it failed with long transit time. But at least it was the most universal tool because it was not restriced to a specific msgbase format and was still very useful for daily usage to get the 400 new mails per echo in sequence.

    Shivering... It's 30 years since...

    Regards

    Kai

    --- GoldED+/LNX 1.1.4.7
    * Origin: Monobox (2:240/77)