• Something..

    From j b l@1:154/10 to All on Thursday, October 08, 2015 09:02:07
    First off, I hope this is the right base for this.. Could someone please tell me what's wrong with this piece of code:

    http://www.catch22bbs.com/imp-mail.pas

    Much thanks,
    Joseph
    --- SBBSecho 2.27-Linux
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
  • From mark lewis@1:3634/12.73 to j b l on Thursday, October 08, 2015 21:16:32

    08 Oct 15 09:02, you wrote to All:

    First off, I hope this is the right base for this.. Could someone please tell me what's wrong with this piece of code:

    http://www.catch22bbs.com/imp-mail.pas

    what is the error you are getting? when are you getting it? compiling? execution?

    the code, itself, looks ok but there are some units and an include file that may be part of the problem...

    )\/(ark

    ... Lots of beef and oceans of grog. (Navy)
    ---
    * Origin: (1:3634/12.73)
  • From joseph larsen@1:340/800 to mark lewis on Thursday, October 08, 2015 20:07:56
    |01 ▄▄█▓▀▀▌▀▀▀ ░▀ ░|CR▓▀ quoting |09mark lewis |01on |0910/08/15 |01...|C

    what is the error you are getting? when are you getting it? compiling? execution?


    It simply doesn't appear to do anything. The "writeln" in the source doesn't output anything. However, when I do a "strace ./imp-mail" it does appear to.

    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.10 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From mark lewis@1:3634/12.73 to joseph larsen on Friday, October 09, 2015 14:57:30

    08 Oct 15 20:07, you wrote to me:

    what is the error you are getting? when are you getting it?
    compiling? execution?

    It simply doesn't appear to do anything. The "writeln" in the source doesn't output anything. However, when I do a "strace ./imp-mail" it
    does appear to.

    does the index actually store the message's status (local, sent, private, etc) or is that in the header file? i see that it reads the index and looks to be checking the status there instead of from the header... if the message base operation is like others and the index is just an index, i suspect that you need to read the index, load the header for the message the index is pointing to, then check the status of the message and scan it out if needed after which the header would be rewritten with the scanned attribute being turned on and then move on to the next index position to read that number and load the next header... but that's just a guess as i'm not familiar with "imp" and can't recall what full name it may have...

    )\/(ark

    ... There's an Italian in my house and he won't go away!
    ---
    * Origin: (1:3634/12.73)
  • From joseph larsen@1:340/800 to mark lewis on Saturday, October 10, 2015 15:34:21
    |01 ▄▄█▓▀▀▌▀▀▀ ░▀ ░|CR▓▀ quoting |09mark lewis |01on |0910/09/15 |01...|C

    does the index actually store the message's status (local, sent,
    private, etc) or is that in the header file? i see that it reads the
    index and looks to be checking the status there instead of from the header... if the message base operation is like others and the index is just an index, i suspect that you need to read the index, load the
    header for the message the index is pointing to, then check the status
    of the message and scan it out if needed after which the header would be rewritten with the scanned attribute being turned on and then move on to the next index position to read that number and load the next header... but that's just a guess as i'm not familiar with "imp" and can't recall what full name it may have...


    You know, I have absolutely no idea. I just want to know why the "writec" and "writeln" functions aren't working the way they should. I shouldn't have to
    use strace to see them. Any ideas? I love Impulse BBS. Which is why I ported
    it to Linux. The next big obsticle is getting message replies working. Then I need to get echomail working with it. Then i'm done, and can start using it
    as my main BBS.

    Thanks,

    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.10 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From mark lewis@1:3634/12.73 to joseph larsen on Saturday, October 10, 2015 19:51:24

    10 Oct 15 15:34, you wrote to me:

    does the index actually store the message's status (local, sent,
    private, etc) or is that in the header file? i see that it reads the
    index and looks to be checking the status there instead of from the
    header... if the message base operation is like others and the index
    is just an index, i suspect that you need to read the index, load the
    header for the message the index is pointing to, then check the
    status of the message and scan it out if needed after which the
    header would be rewritten with the scanned attribute being turned on
    and then move on to the next index position to read that number and
    load the next header... but that's just a guess as i'm not familiar
    with "imp" and can't recall what full name it may have...

    You know, I have absolutely no idea.

    i know that feeling all too well! especially when it comes to working in someone else's code... even moreso when more than one someone else has been tramping all through it! :lol:

    I just want to know why the "writec" and "writeln" functions aren't working the way they should.

    without the additional units and include files, the best i could do was to make
    a guess... as i noted, the code looks good but if the code is wrong then it wouldn't do anything anyway... but then, with your next statement, i wonder about 16bit vs 32bit vs 64bit and the sizes of the binary number values you're trying to read... what OS was it originally written for? was it written in turbo borland pascal? which one? 6 or 7?? what compiler are you using now??

    I shouldn't have to use strace to see them.

    i've never used strace...

    Any ideas? I love Impulse BBS. Which is why I ported it to Linux.

    ahhh! ok, that gives me a little more to go on but i still need code to see what is or is not happening... do you have a repo available i can fork and work
    with to try to assist you?? preferably on github but sourceforge is fine as i'm
    working on figuring out how to work with it and other folk's repos so i can create merge requests for review and contribution back to the projects...

    The next big obsticle is getting message replies working. Then I need
    to get echomail working with it. Then i'm done, and can start using it
    as my main BBS.

    i hear ya there :)

    Thanks,

    you are quite welcome...

    )\/(ark

    ... NJ has toxic dumps; CA, lawyers. NJ had first choice.
    ---
    * Origin: (1:3634/12.73)
  • From joseph larsen@1:340/800 to mark lewis on Sunday, October 11, 2015 00:13:49
    |01 ▄▄█▓▀▀▌▀▀▀ ░▀ ░|CR▓▀ quoting |09mark lewis |01on |0910/10/15 |01...|C

    without the additional units and include files, the best i could do was
    to make a guess... as i noted, the code looks good but if the code is wrong then it wouldn't do anything anyway... but then, with your next statement, i wonder about 16bit vs 32bit vs 64bit and the sizes of the binary number values you're trying to read... what OS was it originally written for? was it written in turbo borland pascal? which one? 6 or 7?? what compiler are you using now??

    I believe it was written in Turbo Pascal. Not sure which version. It was written for DOS, I know that for sure. I'm now using the Free Pascal compiler to compile it. Something strange, it doesn't need the "-Mtp" switch to
    compile.

    ahhh! ok, that gives me a little more to go on but i still need code to see what is or is not happening... do you have a repo available i can
    fork and work with to try to assist you?? preferably on github but sourceforge is fine as i'm working on figuring out how to work with it
    and other folk's repos so i can create merge requests for review and contribution back to the projects...

    Nope. No repo. :/ It would be nice if you could help out, though. I'd appreciate it a lot.

    i hear ya there :)

    Yep.

    you are quite welcome...

    )\/(ark


    Thanks,

    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.10 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From mark lewis@1:3634/12.73 to joseph larsen on Sunday, October 11, 2015 06:19:50

    11 Oct 15 00:13, you wrote to me:

    without the additional units and include files, the best i could do
    was to make a guess... as i noted, the code looks good but if the
    code is wrong then it wouldn't do anything anyway... but then, with
    your next statement, i wonder about 16bit vs 32bit vs 64bit and the
    sizes of the binary number values you're trying to read... what OS
    was it originally written for? was it written in turbo borland
    pascal? which one? 6 or 7?? what compiler are you using now??

    I believe it was written in Turbo Pascal. Not sure which version. It
    was written for DOS, I know that for sure. I'm now using the Free
    Pascal compiler to compile it. Something strange, it doesn't need the "-Mtp" switch to compile.

    that would seem to indicate that it isn't using any thing special from any of the other modes available... unless you have something specifically set in your
    conf file, it is using FPC mode which does not allow classes, interfaces or exceptions...

    ahhh! ok, that gives me a little more to go on but i still need code
    to see what is or is not happening... do you have a repo available i
    can fork and work with to try to assist you?? preferably on github
    but sourceforge is fine as i'm working on figuring out how to work
    with it and other folk's repos so i can create merge requests for
    review and contribution back to the projects...

    Nope. No repo. :/ It would be nice if you could help out, though. I'd appreciate it a lot.

    do you have the original code available still? it would be best to start a repo
    with that and then we can update it with your current code and then go from there... we can use github or sourceforge for the repo host... right now i prefer github because it is pretty easy to work with... sourceforge is a little
    tougher but both offer git repo hosting...

    )\/(ark

    ... Never eat anything bigger than your head.
    ---
    * Origin: (1:3634/12.73)
  • From joseph larsen@1:340/800 to mark lewis on Sunday, October 11, 2015 21:46:10
    |01 ▄▄█▓▀▀▌▀▀▀ ░▀ ░|CR▓▀ quoting |09mark lewis |01on |0910/11/15 |01...|C

    do you have the original code available still? it would be best to start
    a repo with that and then we can update it with your current code and
    then go from there... we can use github or sourceforge for the repo host... right now i prefer github because it is pretty easy to work with... sourceforge is a little tougher but both offer git repo
    hosting...

    Yes, I have the original source. But, I'd much rather keep it private. Ie, between me and you.

    Thanks,

    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.10 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From mark lewis@1:3634/12.73 to joseph larsen on Monday, October 12, 2015 07:08:10

    11 Oct 15 21:46, you wrote to me:

    do you have the original code available still? it would be best to
    start a repo with that and then we can update it with your current
    code and then go from there... we can use github or sourceforge for
    the repo host... right now i prefer github because it is pretty easy
    to work with... sourceforge is a little tougher but both offer git
    repo hosting...

    Yes, I have the original source. But, I'd much rather keep it private.
    Ie, between me and you.

    ok... we still should use a repo... it makes it a lot easier to keep up with changes and to back a change out if needed... on github, free accounts are public... the next step up, $7US/month allows for private repos... right now i cannot afford that small monthly price but i hope to soon... i don't know about
    sourceforge and private repos... another alternative is for one of us to set one up... i have one here but i don't think i have everything needed for subscriptions and being able to keep certain ones private... i'll try to dig into that a little bit more since i have a couple that i want to keep private, too...

    for now, if you want, you can email the original code as well as your modified version to my wkitty42 -at- gmail -dot- com address... if you have a problem, let me know and i can give you another address to try...

    )\/(ark

    ... When something isn't working in your house, one of your kids did it.
    ---
    * Origin: (1:3634/12.73)
  • From joseph larsen@1:340/800 to mark lewis on Monday, October 12, 2015 14:45:58
    |01 ▄▄█▓▀▀▌▀▀▀ ░▀ ░|CR▓▀ quoting |09mark lewis |01on |0910/12/15 |01...|C

    for now, if you want, you can email the original code as well as your modified version to my wkitty42 -at- gmail -dot- com address... if you have a problem, let me know and i can give you another address to try...

    Ok. It's sent. Let me know when you get it.

    Thanks,

    |09ignatius |07[|15cia|07]

    --- Mystic BBS v1.10 (Linux)
    * Origin: catch22bbs.com >>> >> > (1:340/800)
  • From mark lewis@1:3634/12.73 to joseph larsen on Monday, October 12, 2015 21:43:36

    12 Oct 15 14:45, you wrote to me:

    for now, if you want, you can email the original code as well as your
    modified version to my wkitty42 -at- gmail -dot- com address... if
    you have a problem, let me know and i can give you another address to
    try...

    Ok. It's sent. Let me know when you get it.

    you should have gotten a reply by now ;)

    Thanks,

    you're welcome O:)

    )\/(ark

    ... I shall eat pig! I shall eat pig exceedingly!
    ---
    * Origin: (1:3634/12.73)