• Is there a JAM library?

    From Rich Lawrence@1:2320/100 to All on Sat Nov 19 23:19:00 2016
    Hello,

    I was curious if anyone knows of a JAM library for Python 2 (even 3 is fine) for being able to create and manipulate JAM message base files that some
    BBSes, like Mystic BBS uses.

    --- Mystic BBS v1.12 A31 (Linux)
    # Origin: Radio Freqs & Geeks BBS - Albany, NY (FN32DO) (1:267/518)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Richard Miles@1:2320/100 to Rich Lawrence on Sun Nov 20 05:51:18 2016
    On 11/19/16, Rich Lawrence said the following...

    I was curious if anyone knows of a JAM library for Python 2 (even 3 is fine) for being able to create and manipulate JAM message base files

    Jamlib. Used to be on Sourceforge but I believe there's a git repository up now.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A31 (Windows)
    # Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (1:3634/24)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rich Lawrence@1:2320/100 to Richard Miles on Sun Nov 20 10:47:00 2016
    On 11/20/16, Richard Miles said the following...

    Jamlib. Used to be on Sourceforge but I believe there's a git repository up now.

    That looks to be in C. Is there a way to use that in Python?

    --- Mystic BBS v1.12 A31 (Linux)
    # Origin: Radio Freqs & Geeks BBS - Albany, NY (FN32DO) (1:267/518)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Richard Miles@1:2320/100 to Rich Lawrence on Sun Nov 20 18:04:50 2016
    On 11/20/16, Rich Lawrence said the following...

    That looks to be in C. Is there a way to use that in Python?

    Yeah, I see that now that I've looked at it. Just did a quick search before work and that's what came up. My bad.

    -=>Richard Miles<=-
    -=>Captain Obvious<=-
    -=>bbs.shadowscope.com<=-

    --- Mystic BBS v1.12 A31 (Windows)
    # Origin: Shadowscope BBS | bbs.shadowscope.com | Temple, GA (1:3634/24)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Rich Lawrence on Sun Nov 20 20:12:00 2016

    Hello Rich!

    19 Nov 16 23:14, you wrote to all:

    Hello,

    I was curious if anyone knows of a JAM library for Python 2 (even 3
    is fine) for being able to create and manipulate JAM message base
    files that some BBSes, like Mystic BBS uses.

    For some stuff higher up the food chain, PKT's and NL's

    https://github.com/fidoman/PyFTN

    This one is 3.x+ ONLY.

    https://github.com/larsks/python-ftn/wiki

    This one is 2.x and works with similar PKT and other stuff..

    Neither are JAM base, but FYI for you if you want to work with stuff further up.

    I would be interested in this for Python 2.7x only.. Might make something I want to do easier...

    And just FYI the Jam Lib stuff (which is C) has issues on 64b v. 32b... As my JamNNTPd version has to force 32b or it corrupts the JAM bases. At least posting wise.. reading doesn't seem to be an issue.. Just FYI...






    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rich Lawrence@1:2320/100 to Rick Christian on Tue Nov 22 08:14:00 2016
    On 11/20/16, Rick Christian said the following...

    For some stuff higher up the food chain, PKT's and NL's

    https://github.com/fidoman/PyFTN

    This one is 3.x+ ONLY.

    I'm sticking to 2.x but I'll check it out and may get some insight on how to
    do some things.


    https://github.com/larsks/python-ftn/wiki

    This one is 2.x and works with similar PKT and other stuff..

    I think I found both of these. I'm going to look closer at them, just because it appears that JAM is just going to be too tough to do based on the documentation. I read the JAM stuff and my mind melts. I just can't wrap my head around binary file manipulation... yet! Never give up! Never Surrender!

    Neither are JAM base, but FYI for you if you want to work with stuff further up.

    Yes I do. I'm trying to code a CNet BBS clone in Python and make it more
    modern on the backend. I figured JAM would be easy for fido/FTN capabilities. Just bake it in. But it seems to be outside my skills for now. I'll look at these and work on trying rolling my own toss to bring stuff in and out of the message bases.

    And just FYI the Jam Lib stuff (which is C) has issues on 64b v. 32b...
    As my JamNNTPd version has to force 32b or it corrupts the JAM bases. At least posting wise.. reading doesn't seem to be an issue.. Just FYI...

    OK, good to know! Thank you!

    73.
    de Rich, KB2MOB

    --- Mystic BBS v1.12 A31 (Linux)
    # Origin: Radio Freqs & Geeks BBS - Albany, NY (FN32DO) (1:267/518)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Wilfred Van Velzen@1:2320/100 to Rich Lawrence on Tue Nov 22 21:12:48 2016
    Hi,

    On 2016-11-22 08:09:00, Rich Lawrence wrote to Rick Christian:
    about: "Re: Is there a JAM library?":

    I think I found both of these. I'm going to look closer at them, just because it appears that JAM is just going to be too tough to do based
    on the documentation. I read the JAM stuff and my mind melts. I just
    can't wrap my head around binary file manipulation... yet! Never give
    up! Never Surrender!

    For debugging purposes I once wrote a litle python script, that prints out the contents of the .jhr file to the console. Maybe it's usefull for "educational" purposes, or even a starting point for a full python base JAM library? ;)

    Anyway, it shows you how to do the binary file stuff in python:

    http://www.vlzn.nl/fmail/files/jhrprint.py

    Bye, Wilfred.


    --- FMail-W32 1.73.4.41-B20161119
    # Origin: Native IPv6 connectable node (2:280/464)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rich Lawrence@1:2320/100 to Wilfred Van Velzen on Tue Nov 22 22:16:00 2016
    On 11/22/16, Wilfred van Velzen said the following...

    For debugging purposes I once wrote a litle python script, that prints
    out the contents of the .jhr file to the console. Maybe it's usefull for "educational" purposes, or even a starting point for a full python base JAM library? ;)

    Anyway, it shows you how to do the binary file stuff in python:

    http://www.vlzn.nl/fmail/files/jhrprint.py

    Awesome! Thanks! I'll grab that right now and have a look! WOuld it be ok to contact you via netmail or email if I have questions?

    73.
    Rich, KB2MOB

    --- Mystic BBS v1.12 A31 (Linux)
    # Origin: Radio Freqs & Geeks BBS - Albany, NY (FN32DO) (1:267/518)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Wilfred Van Velzen@1:2320/100 to Rich Lawrence on Wed Nov 23 09:28:26 2016
    Hi Rich,

    On 2016-11-22 22:11:00, you wrote to me:

    Awesome! Thanks! I'll grab that right now and have a look! WOuld it be
    ok to contact you via netmail or email if I have questions?

    Sure netmail would be ok. But if it has got anything remotely to do with python, we should discuss it here! ;)

    Bye, Wilfred.

    --- FMail-W32 1.73.4.41-B20161119
    # Origin: FMail development HQ (2:280/464)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Wilfred Van Velzen on Wed Nov 23 07:25:00 2016

    Hello Wilfred!

    22 Nov 16 21:13, you wrote to Rich Lawrence:

    For debugging purposes I once wrote a litle python script, that prints
    out the contents of the .jhr file to the console. Maybe it's usefull
    for "educational" purposes, or even a starting point for a full python base JAM library? ;)

    Anyway, it shows you how to do the binary file stuff in python:

    http://www.vlzn.nl/fmail/files/jhrprint.py

    THANKS!

    I can use that to do some work for a couple of things I want to write for JamNNTPd 2.0 for RFC3977.

    C is not my thing, and getting something setup to code the way I code things in
    a test suite then add to the main program in C with the JamLIB sort of missing
    the key step.. if its a standard lib I get the whole include whatever.h thingy, but with this being an external compiled C lib...Maybe I will get some time to look at soon.

    This will help to let me see what I can do with some of my ideas on do these two and then possibly convert it to C.


    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Rich Lawrence on Wed Nov 23 07:33:00 2016

    Hello Rich!

    22 Nov 16 08:09, you wrote to me:

    I'm sticking to 2.x but I'll check it out and may get some insight on
    how to do some things.

    Yeah.. I don't use 3.x either... I really don't understand the reason for the breakage casued in the 3.x branch... I know some stuff I do, would need rewritten as would stuff I use that need the same, and for some of that its abandonware so...

    on the documentation. I read the JAM stuff and my mind melts. I just
    can't wrap my head around binary file manipulation... yet! Never give
    up! Never Surrender!

    Well I avoided a lot of things, succesfully for a LONG time.. C and Python being two of them...

    Python came back as for some stuff I do on Pi's its a must

    C was a forced thing for a more recent issue... now its sort of a mission for something...


    Yes I do. I'm trying to code a CNet BBS clone in Python and make it
    more modern on the backend. I figured JAM would be easy for fido/FTN

    Well hopefully the one helps, its 2.x...

    I know I would love to have a python Jam lib so I could test some ideas... but the posted JHR reader might just be the test suite I need.. since thats really all I need to read anyway, at least in theory.


    OK, good to know! Thank you!

    This came up else where with some stuff that is written for a tosser and NNTP/Fido server all by the same author..

    The issue is variable size at least from what I can see right now... I don't know if there is a way to typedef ulong to be unsigned 32bit interger v. it defaulting to 64b when compiled on a 64b systems or not.. forcing gcc to 32b mode seems to resolve it.. but I just have a bug about doing that... I would rather have a 64b binary, that uses 32b variables....

    Is there no longer a "C" echo????? Didn't see one in the list I have, but maybe
    its not exhaustive???


    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Wilfred Van Velzen@1:2320/100 to Rick Christian on Wed Nov 23 13:49:38 2016
    Hi Rick,

    On 2016-11-23 07:28:00, you wrote to Rich Lawrence:

    Is there no longer a "C" echo????? Didn't see one in the list I have,
    but maybe its not exhaustive???

    I'm connectec to C_ECHO but it has been quiet for years, maybe even decades ;). However there was 1 message this year with the following seen-by's and path:

    @SEEN-BY: 103/705 203/0 240/5832 249/303 261/38 280/464 5003 423/120 633/0 @SEEN-BY: 633/267 280 281 408 410 712/620 848 770/1 2320/100
    @PATH: 633/410 280 712/848 280/464

    So there are some connected systems...


    Bye, Wilfred.

    --- FMail-W32 1.73.4.41-B20161119
    # Origin: FMail development HQ (2:280/464)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rich Lawrence@1:2320/100 to Wilfred Van Velzen on Wed Nov 23 10:13:00 2016
    On 11/23/16, Wilfred van Velzen said the following...

    Sure netmail would be ok. But if it has got anything remotely to do with python, we should discuss it here! ;)

    Of course! Keep the echo active! Thanks again!

    --- Mystic BBS v1.12 A31 (Linux)
    # Origin: Radio Freqs & Geeks BBS - Albany, NY (FN32DO) (1:267/518)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Wilfred Van Velzen on Wed Nov 23 21:00:00 2016

    Hello Wilfred!

    23 Nov 16 13:50, you wrote to me:

    Hi Rick,

    On 2016-11-23 07:28:00, you wrote to Rich Lawrence:

    Is there no longer a "C" echo????? Didn't see one in the list I
    have, but maybe its not exhaustive???

    I'm connectec to C_ECHO but it has been quiet for years, maybe even decades ;). However there was 1 message this year with the following seen-by's and path:

    Well the arhcive has this from a message:

    https://fidonet.ozzmosis.com/echomail.php/c_echo/a16d81b240d567d5.html

    === Begin ===
    C_ECHO
    The International C Echo
    Dedicated to discussions of interest to programmers using
    the C computer program language.
    Status: Active
    Origin: Group: FIDO
    Distribution: Fidonet
    Gateways:
    Language:
    # Nodes: N/A Volume: N/A Rules:
    Flags:
    Notes:
    Moderators: Alan Ianson, 1:153/757, alan{at}trmb.ca
    Last changed: 9-Jan-2009 by Alan Ianson, 1:261/1500, Alan Ianson
    === End ===

    Thats 7 years old, and last I seen Alan Ianson was a MIA, unless he came back online...

    Its not listed on my hub


    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Wilfred Van Velzen@1:2320/100 to Rick Christian on Thu Nov 24 09:38:24 2016
    Hi Rick,

    On 2016-11-23 20:55:00, you wrote to me:

    I'm connectec to C_ECHO but it has been quiet for years, maybe even
    decades ;). However there was 1 message this year with the following
    seen-by's and path:

    Well the arhcive has this from a message:

    https://fidonet.ozzmosis.com/echomail.php/c_echo/a16d81b240d567d5.html

    === Begin ===
    C_ECHO
    The International C Echo
    Dedicated to discussions of interest to programmers using
    the C computer program language.
    Status: Active
    Origin: Group: FIDO
    Distribution: Fidonet
    Gateways:
    Language:
    # Nodes: N/A Volume: N/A Rules:
    Flags:
    Notes:
    Moderators: Alan Ianson, 1:153/757, alan{at}trmb.ca
    Last changed: 9-Jan-2009 by Alan Ianson, 1:261/1500, Alan Ianson
    === End ===

    Thats 7 years old,

    I think that was just an area "hijacking" attempt. There were no messages before or after from Alan. I have to go back to 2004 to see a mention of another moderator...

    and last I seen Alan Ianson was a MIA, unless he came back online...

    Its not listed on my hub

    So get it somewhere else! ;)

    Bye, Wilfred.

    --- FMail-W32 1.73.4.41-B20161119
    # Origin: FMail development HQ (2:280/464)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Wilfred Van Velzen on Thu Nov 24 18:50:00 2016

    Hello Wilfred!

    24 Nov 16 09:39, you wrote to me:


    I think that was just an area "hijacking" attempt. There were no
    messages before or after from Alan. I have to go back to 2004 to see a mention of another moderator...

    I don't think that is the case, the message is clearly to keep the echo going:

    "I recently came back to fido and wanted to join a few echo areas but had trouble finding a link. This area (as well as a few others were not listed in backbone.na anymore. As I recall Bo Simeonson (hope I get the spelling right) was the last moderator here.

    I have added the area to the elist as well as backbone.na so links shouldn't
    be a problem, or at least relinking shouldn't be a problem. Here is the
    listing from the elist, I copied and pasted this from a 2000 or so elist..
    If your still around Bo, the echo is still yours. I just wanted the echo
    listed so links can be made without any trouble."

    https://fidonet.ozzmosis.com/echomail.php/c_echo/a16d81b240d567d5.html


    So get it somewhere else! ;)

    I would love to, but I see nothing from recent except something from a zone 3 node...

    I doubt digging trhough seen bys paths from 7+ year old messages is probably valid nor is a zone 3 feed.

    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Wilfred Van Velzen@1:2320/100 to Rick Christian on Fri Nov 25 11:37:26 2016
    Hi,

    On 2016-11-24 18:45:00, Rick Christian wrote to Wilfred van Velzen:
    about: "C echo":

    I think that was just an area "hijacking" attempt. There were no
    messages before or after from Alan. I have to go back to 2004 to see
    a mention of another moderator...

    I don't think that is the case, the message is clearly to keep the echo going:

    "I recently came back to fido and wanted to join a few echo areas but had trouble finding a link. This area (as well as a few others were not listed in backbone.na anymore. As I recall Bo Simeonson (hope I get the spelling right) was the last moderator here.

    I have added the area to the elist as well as backbone.na so links shouldn't be a problem, or at least relinking shouldn't be a problem. Here is the listing from the elist, I copied and pasted this from a 2000 or so elist.. If your still around Bo, the echo is still yours. I just wanted
    the
    echo listed so links can be made without any trouble."

    Indeed a clear hijacking attempt. Act first ask later... ;)

    So get it somewhere else! ;)

    I would love to, but I see nothing from recent except something from a
    zone
    3 node...

    I doubt digging trhough seen bys paths from 7+ year old messages is probably valid nor is a zone 3 feed.

    Why isn't a zone 3 feed a valid one? I have several, they work fine...

    And the seen-by's in the post from 4 months ago, I posted a couple of days back, will do fine. I see several Z1 nodes if that is your preference:

    1:103/705 Rob
    1:249/303 Joe
    1:261/38 Janis
    1:2320/100 Allen

    Of course that doens't mean they have that area still on their system, but they do got a feed from someone at that time...

    Bye, Wilfred.


    --- FMail-W32 1.73.4.41-B20161119
    # Origin: Native IPv6 connectable node (2:280/464)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)
  • From Rick Christian@1:2320/100 to Wilfred Van Velzen on Fri Nov 25 09:50:00 2016

    Hello Wilfred!

    25 Nov 16 11:38, you wrote to me:

    Indeed a clear hijacking attempt. Act first ask later... ;)

    Thanks, but from this continued line. Its clear we are going to only agree to disagree on this, so I think it best I say:

    Thanks for the python script, its definnitely helped to put a POC together to then convert to C for the other program.

    Showed that the JAM base has the requiste data to implement these commands.. I just have to now decipher the code that the other program uses to interact with
    the JAM base.

    Again, thanks for the info.

    Good luck with your endeavours.


    Rick


    ... Ding Dong the Witch is DEAD! I Made America Great Again! President Trump! --- GoldED+/LNX 1.1.5-b20160322
    # Origin: Vina's Talos Moon Base Alpha (1:135/377)
    * Origin: LiveWire BBS - Synchronet - LiveWireBBS.com (1:2320/100)