• Mystic MPL Question

    From Black Panther@77:1/102 to All on Sun Oct 18 13:07:24 2020
    Hi All,

    I was just wondering if it was possible for an MPL to pass a key to Mystic without exiting the execution of the MPL.

    I have an MPL that scrolls a text message across the screen on a menu. The one thing I never tested is using that with lightbars enabled on that menu.

    So, when set up with lightbars, the MPL is taking the keypress, and passing it to Mystic, and then halts. With having it set on a timer on the menu, it will restart the MPL, and do it all over again. I'd like to see if there's a way for the MPL to pass the arrow keypress, pass it to Mystic, and continue to operate until enter, or some other key is pressed.


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Sun Oct 18 18:53:00 2020
    So, when set up with lightbars, the MPL is taking the keypress, and passing it to Mystic, and then halts. With having it set on a timer on
    the menu, it will restart the MPL, and do it all over again. I'd like to see if there's a way for the MPL to pass the arrow keypress, pass it to Mystic, and continue to operate until enter, or some other key is
    pressed.

    It sounds like instead of using a timer you should maybe set it to "AFTER" so that the MPL executes after every redraw. You can press CTRL+L I think on the hotkey box to pop up a list of auto execution options. Setting it as a TIMER like you said will mean it won't resume until after 1 second at the least (since thats the lowest amount of time you can set a timer).

    It sounds like you're trying to do a scrolling text? In one of the Mystic 2 builds there is a "Marquee" setting on each menu, which will actually do exactly what you're wanting to do without MPL, and it even supports pipe colors. The only reason I never put it into Mystic 1.x was because I didn't want to change the menu file format at the time (because I have to write an upgrade program then to upgrade people).

    I more recently rewrote in Mystic 2.x the menu loader so that it saves/loads menus as INI files (easier to change the format), so I could easily add in the marquee option to Mystic 1.x if I move to that INI format loader.

    --- Mystic BBS v1.12 A47 2020/10/18 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Sun Oct 18 17:22:54 2020
    On 18 Oct 2020, 06:53p, g00r00 said the following...

    It sounds like instead of using a timer you should maybe set it to
    "AFTER" so that the MPL executes after every redraw. You can press
    CTRL+L I think on the hotkey box to pop up a list of auto execution options. Setting it as a TIMER like you said will mean it won't resume until after 1 second at the least (since thats the lowest amount of time you can set a timer).

    I started out having it seat to 'AFTER', but then Mystic didn't draw the 'Command prompt' on the menu. I set it to 'TIMER' to allow it to do so.

    It sounds like you're trying to do a scrolling text? In one of the

    Yes. It works well on a standard menu, but when there are lightbars set up, it will stop the scrolling, and move the lightbar. Then, after another second, it starts the scrolling again.

    That's why I was wondering if an MPL could transfer a keystroke, ie an arrow, back to Mystic, without exiting. I doubt there is a way, but figured it didn't hurt to ask. :)

    Mystic 2 builds there is a "Marquee" setting on each menu, which will actually do exactly what you're wanting to do without MPL, and it even supports pipe colors. The only reason I never put it into Mystic 1.x

    That would be cool. That's one thing I had to do, was strip out any pipe colors. It caused some issues with string lengths.

    was because I didn't want to change the menu file format at the time (because I have to write an upgrade program then to upgrade people).

    The program would be pretty simple to write. It's the upgrading people that would be a problem. ;)

    I more recently rewrote in Mystic 2.x the menu loader so that it saves/loads menus as INI files (easier to change the format), so I could easily add in the marquee option to Mystic 1.x if I move to that INI format loader.

    That would be a little easier. Although I changed a lot of my menus just by editing the .mnu file. It was quicker and easier. :)

    If you need any assistance with any of that, just let me know. I'm not a programmer by any stretch of the imagination, I'm more of an amateur-grammer... ;)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Sun Oct 18 23:09:56 2020
    I started out having it seat to 'AFTER', but then Mystic didn't draw the 'Command prompt' on the menu. I set it to 'TIMER' to allow it to do so.

    I see, yes it looks like I have AFTER running before the prompt, so that means your MPL blocks it.

    Maybe I could add an "AFTERP" or "AFTER2" or something that runs after the prompt.

    That's why I was wondering if an MPL could transfer a keystroke, ie an arrow, back to Mystic, without exiting. I doubt there is a way, but figured it didn't hurt to ask. :)

    No it can't and there wouldn't be any easy way to make it work better unless I allowed timers less than 1 second. Even if I added an "AFTERP" that runs after prompt, that would work fine for single input menus, but if you wanted to have any options that required multiple character input then it would break.

    TIMER would work much better for this if I were to increase the resolution of the timer functions from 1 second to maybe 1/10th of a second. That might be something worth looking into for the future.

    Yeah it seems right that TIMER is the only real way to do it and you'd have to suffer the 1 second delay for the restart which is unfortunate.

    I am pretty sure that is why I made the Marquee system because I realized it would be a little tricky to do via MPL. It does all of that while allowing MCI codes and pipe colors in the scrolling text so you can have menus with timers, lightbars, long key input, and a scrolling marquee. I never quite finished it in the menu system, but I went and found the code that I wrote outside of the BBS that does it that I can "drop it" to Mystic once I put the configuration on the menus.

    Should I just bite the bulletin and of the MNU > INI conversion? One negative about going to INI format is that its slower to load the menus compared to the current system.

    --- Mystic BBS v1.12 A47 2020/10/18 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Sun Oct 18 21:44:18 2020
    On 18 Oct 2020, 11:09p, g00r00 said the following...

    No it can't and there wouldn't be any easy way to make it work better unless I allowed timers less than 1 second. Even if I added an "AFTERP" that runs after prompt, that would work fine for single input menus, but if you wanted to have any options that required multiple character input then it would break.

    That's kinda what I figured.

    TIMER would work much better for this if I were to increase the
    resolution of the timer functions from 1 second to maybe 1/10th of a second. That might be something worth looking into for the future.

    Yeah it seems right that TIMER is the only real way to do it and you'd have to suffer the 1 second delay for the restart which is unfortunate.

    The 1 second really isn't too bad. If you'd like to take a look at it, I have it running on the Main menu here. :)

    I am pretty sure that is why I made the Marquee system because I
    realized it would be a little tricky to do via MPL. It does all of that while allowing MCI codes and pipe colors in the scrolling text so you
    can have menus with timers, lightbars, long key input, and a scrolling marquee. I never quite finished it in the menu system, but I went and found the code that I wrote outside of the BBS that does it that I can "drop it" to Mystic once I put the configuration on the menus.

    That would be awesome. I'd love to see something like that within Mystic.

    Should I just bite the bulletin and of the MNU > INI conversion? One negative about going to INI format is that its slower to load the menus compared to the current system.

    I can't imagine it would be that much slower. As it is there are some things on here I wish I could slow down a bit. ;) One example is the text box that comes up when the user is scanning for new files/messages. The box is suppose to say 'Scanning BBS Doors...' for each area. All I end up seeing, at least on this end, is the outline of the box. I was actually thinking about putting a delay in there to slow it down.

    I for one, wouldn't mind the change to the INI format. I'm sure the speed difference wouldn't be an issue for anyone.

    Don't feel there is a rush on this. I know your working on other aspects of Mystic right now, so go ahead an finish those before looking at this. It's not urgent. :)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Mon Oct 19 00:25:44 2020
    Yeah it seems right that TIMER is the only real way to do it and you' have to suffer the 1 second delay for the restart which is unfortunat

    The 1 second really isn't too bad. If you'd like to take a look at it, I have it running on the Main menu here. :)

    Yeah I guess its not too bad considering you'd probably want to wait about 250 milliseconds anyway before you'd update the scrolling, so really its only like an extra 75% of 1 second wait. It'd be one thing if you were in the FS editor with a scrolling text but its not like people are typing a lot on a menu.

    That would be awesome. I'd love to see something like that within Mystic.

    I mostly forgot all about it until you mentioned this so its just been sitting here benefiting no one!

    I for one, wouldn't mind the change to the INI format. I'm sure the
    speed difference wouldn't be an issue for anyone.

    You're probably right things are only getting faster. And its not like people are loading a lot of menus really fast or anything, so its one area where we can probably afford to spend a little extra time for an easier to maintain format.

    I will have to experiment with some of these new ideas (sub 1 second timers, marquee, INI, and the AFTERP option). The thing about AFTERP that would be confusing is that for Lightbar menus AFTER is ran after the prompt would have been drawn. Its only on the regular menu that AFTER is executed before the prompt, so I am not sure what to do there.

    --- Mystic BBS v1.12 A47 2020/10/18 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Mon Oct 19 12:41:46 2020
    On 19 Oct 2020, 12:25a, g00r00 said the following...

    That would be awesome. I'd love to see something like that within Mys

    I mostly forgot all about it until you mentioned this so its just been sitting here benefiting no one!

    I really didn't intend to add more to your TODO list. :)

    You're probably right things are only getting faster. And its not like people are loading a lot of menus really fast or anything, so its one
    area where we can probably afford to spend a little extra time for an easier to maintain format.

    I would think so.

    I will have to experiment with some of these new ideas (sub 1 second timers, marquee, INI, and the AFTERP option). The thing about AFTERP
    that would be confusing is that for Lightbar menus AFTER is ran after
    the prompt would have been drawn. Its only on the regular menu that
    AFTER is executed before the prompt, so I am not sure what to do there.

    That's kinda strange. Would it be possible on the regular menu, to have AFTER run after the prompt? Not looking at the code, it's difficult to guess what the options might be. :)

    Again, this is not a priority. I know your working on getting Python3 working, and that would probably be more beneficial to the general community than this at the moment.

    Thank you for looking into it.


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Mon Oct 19 17:44:38 2020
    I mostly forgot all about it until you mentioned this so its just bee sitting here benefiting no one!

    I really didn't intend to add more to your TODO list. :)

    Adding to my TODO list is a good thing :)

    And I already had this one done so thats a bonus! I also noticed that there is a blank line in the menu files from something I must have removed in the past, so I could *could* put the Marquee in without a menu format change.

    I don't want to step on your toes of the project you're doing though. What do you think about if I added it in now?

    That's kinda strange. Would it be possible on the regular menu, to have AFTER run after the prompt? Not looking at the code, it's difficult to guess what the options might be. :)

    No it wouldn't be difficult the issue with changing it is what impact it would have on users? I think the most likely scenario for AFTER is to use it to display other information like a rumor or something, which people tend to want before the prompt.

    But in Lightbar menus, the header and footer are drawn first and then the items so AFTERP wouldn't make sense. I could change lightbar menus to show the prompt last but there might be a reason why I did it the way I did!

    Again, this is not a priority. I know your working on getting Python3 working, and that would probably be more beneficial to the general community than this at the moment.

    I think the state of Python 3 is good so there won't be too much to do there. I just have to add back in the functions from the mystic_bbs module!

    It suffers from the same environment issues as 2.7 and I am hoping the community can figure out how to install it. Python 3 needs to be compiled with shared library, and then there is the issue with having multiple Python versions side by side. In Windows it works great from what I can tell so its just a setup problem now.

    --- Mystic BBS v1.12 A47 2020/10/18 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Mon Oct 19 16:15:50 2020
    On 19 Oct 2020, 05:44p, g00r00 said the following...

    I really didn't intend to add more to your TODO list. :)

    Adding to my TODO list is a good thing :)

    In that case, I have a few more items you could add to the TODO list. ;)

    And I already had this one done so thats a bonus! I also noticed that there is a blank line in the menu files from something I must have
    removed in the past, so I could *could* put the Marquee in without a
    menu format change.

    Either way that would work best for you would be fine with me. If the .INI would make things better for the long run, that might be the path to take.

    I don't want to step on your toes of the project you're doing though. What do you think about if I added it in now?

    I would have to problems with it at all. I've basically been 'playing' with MPL, and making a few mods that I think are interesting. If you have a better implementation, by all means, go for it. ;)

    No it wouldn't be difficult the issue with changing it is what impact it would have on users? I think the most likely scenario for AFTER is to
    use it to display other information like a rumor or something, which people tend to want before the prompt.

    Understandable. Although, would displaying the rumor after the prompt cause any problems? Just wondering out-loud.

    I think the state of Python 3 is good so there won't be too much to do there. I just have to add back in the functions from the mystic_bbs module!

    Oh, is that all? ;)

    It suffers from the same environment issues as 2.7 and I am hoping the community can figure out how to install it. Python 3 needs to be
    compiled with shared library, and then there is the issue with having multiple Python versions side by side. In Windows it works great from what I can tell so its just a setup problem now.

    Python on Linux has always been an issue for me. When I ran Ubuntu, I had it running fine. Then I switched to running Debian, due to overhead, and I haven't been able to get Python running right. Every time a Python mod tries to read a message base, it crashes the node and gives me the 'Error 216' in the logs... I've given up on it for now...


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Mon Oct 19 19:30:30 2020
    Adding to my TODO list is a good thing :)

    In that case, I have a few more items you could add to the TODO list. ;)

    I am always open to ideas and I have a huge list already, bring it on!

    Also if I add in the Marquee stuff would you be willing to help me test it? Considering the functionality is already done the hardest part will probably be adding in the configuration into the menu editor.

    Either way that would work best for you would be fine with me. If the
    .INI would make things better for the long run, that might be the path
    to take.

    It would just make it easier to add new options someday without the need for any type of conversion program, thats really the only benefit. The thing is the menu engine doesn't change often these days so I go back and forth on how worth it, it is.

    Understandable. Although, would displaying the rumor after the prompt cause any problems? Just wondering out-loud.

    No not really. I could always change it and see if anyone notices. :) Or change the lightbar and add AFTERP to see what happens.

    Python on Linux has always been an issue for me. When I ran Ubuntu, I
    had it running fine. Then I switched to running Debian, due to overhead, and I haven't been able to get Python running right. Every time a Python mod tries to read a message base, it crashes the node and gives me the 'Error 216' in the logs... I've given up on it for now...

    What is the overhead that made you stop? Do you mean the extra applications and stuff? I don't think Debian has much of a performance difference between Ubuntu (assuming the same versions are compared). They're both faster than macOS or Windows for me so thats all I really care about lol.

    I used to run Debian myself before Ubuntu just got so good (around 16.04 is when it was getting on my Radar and its only gotten better IMO).

    I am planning to try to do a Slackware installation and maybe I'll add the latest Debian to that too for testing. I used to test under a bunch of different Linux systems but its just too time consuming since I'm already testing under Windows 10, Ubuntu 18 and 20, macOS, and Pi (and sometimes Windows XP).

    --- Mystic BBS v1.12 A47 2020/10/19 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Mon Oct 19 22:11:08 2020
    On 19 Oct 2020, 07:30p, g00r00 said the following...

    In that case, I have a few more items you could add to the TODO list.

    I am always open to ideas and I have a huge list already, bring it on!

    I know this has been mentioned earlier, but maybe having the node directories, temp1, temp2, etc, in another directory, such as /nodes/temp1, nodes/temp2. Or, if it's possible, have the directories created when a user logs in on that node.

    In my nightly maintenance, I have the files set for purge, pack and mass-upload. I'm not sure if this may be caused by having too many files in a directory, as I do have a few that have over 5000 files in them

    First, when I look at the mutil.log, I'll notice the Pack File Bases:
    Removed 787 records, 213892 bytes in 0.40s.
    Then the Mass Upload Files:
    Uploaded 788 file(s) in 2.88s.
    Mystic will then run the Pack File Bases:
    Removed 787 records, 213868 byes in 0.40s.

    With this happening, I was showing all of these files as being 'new' on a daily basis. I have turned off the packing/purging for now.

    I have also seen, when moving files from one file area to another within the 'E'dit feature in Mystic, the files seem to move, but they will actually be mass-uploaded back into the area they originally were in. For example, I have a BBS Door Game file area. I had moved all of the Trade Wars files into their own area. The next day, those files were again in my BBS Door Games, and in my BBS Door Game Trade Wars areas.

    Again, I'm thinking this might have something to do with the number of files in some of these areas. That's why I'm trying to sort them into smaller areas.

    I think that's enough for right now. ;)

    Also if I add in the Marquee stuff would you be willing to help me test it? Considering the functionality is already done the hardest part will probably be adding in the configuration into the menu editor.

    Absolutely! I do have menus with and without the lightbars, so I can test it on both. Anything I can do to help out, just ask. :)

    It would just make it easier to add new options someday without the need for any type of conversion program, thats really the only benefit. The thing is the menu engine doesn't change often these days so I go back
    and forth on how worth it, it is.

    Maybe once the Marquee is up and running, we'll get some idea to add other things. :)

    No not really. I could always change it and see if anyone notices. :)
    Or change the lightbar and add AFTERP to see what happens.

    I'm sure some people would notice. :) Then they would start to complain about it...

    What is the overhead that made you stop? Do you mean the extra applications and stuff? I don't think Debian has much of a performance difference between Ubuntu (assuming the same versions are compared).

    There was all of the extra applications, along with the constant nag about updates being available. I would remove a bunch of stuff, like different language packs from Mozilla, and the next update, they wanted to install them again. I felt like I was back on Windows. :)

    They're both faster than macOS or Windows for me so thats all I really care about lol.

    I think my old 486dx40 with OS/2 was faster than a system with Windows... ;)

    I used to run Debian myself before Ubuntu just got so good (around 16.04 is when it was getting on my Radar and its only gotten better IMO).

    I did like Ubuntu before they started with Unity. That's when it started going downhill for me. Even after they changed back to Gnome again, it just wasn't the same for me. I know the Debian isn't the latest and greatest, but for a system running a BBS, it works. (except for Python...)

    I am planning to try to do a Slackware installation and maybe I'll add
    the latest Debian to that too for testing. I used to test under a bunch of different Linux systems but its just too time consuming since I'm already testing under Windows 10, Ubuntu 18 and 20, macOS, and Pi (and sometimes Windows XP).

    On my main system that I use daily, I'm running Manjaro, so if you want something tested on that, I can help out. I haven't tried Slackware yet, but after hearing about people having so many issues with it, I might not. I did have a system running PCLinuxOS for awhile, but there were so many packages that wouldn't work with it that I gave up on that one...


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Tue Oct 20 02:48:28 2020
    I know this has been mentioned earlier, but maybe having the node directories, temp1, temp2, etc, in another directory, such as /nodes/temp1, nodes/temp2. Or, if it's possible, have the directories created when a user logs in on that node.

    I really do want to do this because I like to have an organized directory structure too.

    The only reason I don't is because it seems that *MANY* people hard code the temp directories into their door commands. Instead of using %P which is replaced with the temp path where the drop files are located, they will hard code "c:\mystic\temp%3" to construct the node directory.

    This is largely my own fault but there are also other tutorials that mistakenly tell people to set up doors like that too.

    If everyone used %P I could change the directories with issue, but because so many people do it the other way it will break all of their door setups if I move them.

    To counter this issue, I was thinking about making "door profiles" to help them rebuild everything easier.

    In my nightly maintenance, I have the files set for purge, pack and mass-upload. I'm not sure if this may be caused by having too many files in a directory, as I do have a few that have over 5000 files in them

    It shouldn't be. 5000 isn't actually all that much compared to how I test things. When I make changes to things like mass upload or message linking I'll be testing them with HUGE numbers like 500,000-1 million messages in an area or 50,000 files in a file base. That doesn't mean there isn't something broken but its designed to easily handle 5000 files in a base.

    First, when I look at the mutil.log, I'll notice the Pack File Bases: Removed 787 records, 213892 bytes in 0.40s.
    Then the Mass Upload Files:
    Uploaded 788 file(s) in 2.88s.
    Mystic will then run the Pack File Bases:
    Removed 787 records, 213868 byes in 0.40s.

    It seems like something might be getting messed up with the "*.dfx" files which is what is used for duplicate file detection. I was messing with it during A46 development while I was working on the FTP server and maybe I messed something up.

    Is it running the Pack File Bases twice? Or do you just mean that next time it runs it looks the same as the previous run?

    I have also seen, when moving files from one file area to another within the 'E'dit feature in Mystic, the files seem to move, but they will actually be mass-uploaded back into the area they originally were in.

    Sounds like maybe its having trouble deleting the original file. I just changed the code for the move to actually move the file if it can (it was always copying it and then trying to erase the original). Wow that code is ugly - it probably hasn't been touched since the 1990s. Anyway maybe that change will help this issue.

    With this happening, I was showing all of these files as being 'new' on
    a daily basis. I have turned off the packing/purging for now.

    Ok so this stops when you stop packing/purging? Maybe the pack or purge is screwing with those .dfx files.

    Absolutely! I do have menus with and without the lightbars, so I can
    test it on both. Anything I can do to help out, just ask. :)

    I just finished the Marquee stuff. I was playing around with it a little off and on the past day or two and since I had the basics working already for Mystic 2 I was able to get it done quickly. The latest prealpha has it and there is a new "testlightbar.mnu" that has an example of timers, long key input, lightbars, and marquee all going at once.

    Maybe once the Marquee is up and running, we'll get some idea to add
    other things. :)

    Yeah that happens a lot!

    If I have a basic idea when I start working on it I'll think of 10 other things I should add. When I was adding in the Marquee stuff I realized that I should make a menu command to change the marquee text via the menu command. Then I realized that I should have an option to append text to the existing Marquee instead of overwriting it, then I realized I should make the scroll speed configurable. Then I realized I should make the scroll direction configurable, and it just spirals out of control like that.

    I ended up adding all of my ideas for it except for one which was really buggy so I just stopped touching it for now.

    I was also thinking of doing a "MarqueeInput" in MPL/MPY too so people can do something like:

    SetMarquee('This is my marquee', X, Y)

    Ch := MarqueeInput; // This will scroll the marque while waiting for a key and resume the next time you call MarqueeInput

    I think my old 486dx40 with OS/2 was faster than a system with
    Windows... ;)

    OS/2 is surprisingly quick! :)

    I did like Ubuntu before they started with Unity. That's when it started going downhill for me. Even after they changed back to Gnome again, it just wasn't the same for me. I know the Debian isn't the latest and greatest, but for a system running a BBS, it works. (except for
    Python...)

    I wasn't a fan of Unity either, but I am pretty happy with where it is now. I've never ran anything other than Windows as a primary OS (well not since I tried OS/2 warp back in the day) but Ubuntu comes the closest to being an OS that I could run. I still use Windows mostly because I want the option to play PC games if I decide to (even though I never actually play games lol)

    I can relate to having a bad experince with a distro and never going back to it. I would say thats probably what happened between me and Debian back in the day actually!

    On my main system that I use daily, I'm running Manjaro, so if you want something tested on that, I can help out. I haven't tried Slackware yet, but after hearing about people having so many issues with it, I might
    not. I did have a system running PCLinuxOS for awhile, but there were so many packages that wouldn't work with it that I gave up on that one...

    I don't think Slackware has had a new release in a long time so I don't really know what the story is with it. I think its something that isn't exactly friendly to inexperienced users and requires a lot of leg work, but maybe I am just stuck associating it with an experience I had in 1999?

    I never tried Manjaro or any of those *aros but I did use ArchLinux at some point. I seemed to have settled in with Ubuntu and stopped trying new things at some point, but I used to try all sorts of distributions. I should try Manjaro sometime.

    Sure test anything you want to and let me know. I'm always trying to make things better and these days I don't stray much outside of Ubuntu.

    --- Mystic BBS v1.12 A47 2020/10/20 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Tue Oct 20 01:25:48 2020
    On 20 Oct 2020, 02:48a, g00r00 said the following...

    The only reason I don't is because it seems that *MANY* people hard code the temp directories into their door commands. Instead of using %P
    which is replaced with the temp path where the drop files are located, they will hard code "c:\mystic\temp%3" to construct the node directory.

    I'm guilty of doing this as well... :) But, I'm in the process of changing all of my doors to be run via a bash script. Mystic will just pass the door name, dropfile path, node, and socket to the script, and it runs the doors. Trying to get dosemu to play nice has been a bit of a challenge though.

    To counter this issue, I was thinking about making "door profiles" to
    help them rebuild everything easier.

    How would that work?

    It shouldn't be. 5000 isn't actually all that much compared to how I test things. When I make changes to things like mass upload or message
    linking I'll be testing them with HUGE numbers like 500,000-1 million messages in an area or 50,000 files in a file base. That doesn't mean there isn't something broken but its designed to easily handle 5000
    files in a base.

    WOW! And I thought I might have been pushing the limits. :) I guess my total of 125,000+ files isn't too bad then...

    It seems like something might be getting messed up with the "*.dfx"
    files which is what is used for duplicate file detection. I was messing with it during A46 development while I was working on the FTP server and maybe I messed something up.

    It was about that time when I started noticing it.

    Is it running the Pack File Bases twice? Or do you just mean that next time it runs it looks the same as the previous run?

    The second Pack File Bases was from the next time it ran. I only have those run in my nightly maintenance.

    Sounds like maybe its having trouble deleting the original file. I just changed the code for the move to actually move the file if it can (it was always copying it and then trying to erase the original). Wow that code is ugly - it probably hasn't been touched since the 1990s. Anyway maybe that change will help this issue.

    That was quick. ;) I'll let you know with the next pre-alpha. I did also check the permissions, and that wasn't a problem.

    Ok so this stops when you stop packing/purging? Maybe the pack or purge is screwing with those .dfx files.

    Yes, without the packing/purging, I just have the issues with files not deleting when I move them. :)

    I just finished the Marquee stuff. I was playing around with it a
    little off and on the past day or two and since I had the basics working already for Mystic 2 I was able to get it done quickly. The latest prealpha has it and there is a new "testlightbar.mnu" that has an
    example of timers, long key input, lightbars, and marquee all going at once.

    I didn't think you'd have it done that quick! That sounds great! When is the next pre-alpha coming out? ;)

    I was also thinking of doing a "MarqueeInput" in MPL/MPY too so people
    can do something like:

    SetMarquee('This is my marquee', X, Y)

    Ch := MarqueeInput; // This will scroll the marque while waiting for a key and resume the next time you call MarqueeInput

    Ohhhhh, I'm already thinking of ways I could use that. :)

    I never tried Manjaro or any of those *aros but I did use ArchLinux at some point. I seemed to have settled in with Ubuntu and stopped trying new things at some point, but I used to try all sorts of distributions.
    I should try Manjaro sometime.

    I've really been liking it. My only complaint, is there are a few packages that are available for Debian based distros, that aren't available for Manjaro. It hasn't been anything major. The one that comes to mind is the 'sl' program. ;)

    Arch is what they refer to as 'Bleeding Edge', and Manjaro is about a week or so behind Arch, so it's pretty up-to-date. To let you know, I just installed version 5.9.1-1 which just came out on the 17th. :)

    Sure test anything you want to and let me know. I'm always trying to
    make things better and these days I don't stray much outside of Ubuntu.

    I don't run an online BBS on the Manjaro systems, but I do have my test system installed on here. It's been running smoothly. I just have to check my /mystic/data directory once and awhile to delete some stray chat#.dat files. That's caused by running an MPL that crashes due to forgetting something important... ;)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/13 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From Black Panther@77:1/102 to g00r00 on Tue Oct 20 01:49:54 2020
    On 20 Oct 2020, 02:48a, g00r00 said the following...

    I just finished the Marquee stuff. I was playing around with it a
    little offand on the past day or two and since I had the basics working already forMystic 2 I was able to get it done quickly. The latest prealpha has it andthere is a new "testlightbar.mnu" that has an example of timers, long keyinput, lightbars, and marquee all going at once.

    Ok, I wasn't expecting you to have to already compiled and posted. :)

    I have it installed here, and it looks great! I did notice the Offset field doesn't save. I would enter '20', and it would go back to '1'. I just entered spaces after the message to compensate. ;)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/20 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Tue Oct 20 04:23:00 2020
    they will hard code "c:\mystic\temp%3" to construct the node director

    I'm guilty of doing this as well... :) But, I'm in the process of
    changing all of my doors to be run via a bash script. Mystic will just

    Yeah its not anyone's fault for using it. Its the old way things worked for many years. A lot of information out there is outdated and tells people to do it, and then those people spread this bad habit while helping others because thats how they learned.

    I should have pushed to get the right information out there more, and updated documents to say not to do this.

    it runs the doors. Trying to get dosemu to play nice has been a bit of a challenge though.

    I've heard from Ryan that DOSEMU2 is the way to go these days, although I have not tried it.

    To counter this issue, I was thinking about making "door profiles" to help them rebuild everything easier.

    How would that work?

    The Mystic 2 demo from 2001 had door profiles so it work like that, if you ever saw it (probably not many saw that version these days).

    You'd basically have a "Execute Door Profile" menu command and pass it the ID of the door you want to run. There would be a door configuration just like a message/file area with an "Active" setting and a ton of default doors already set up. For most popular doors you'd just be able to install the door to the proper directory and set the door to Active.
    WOW! And I thought I might have been pushing the limits. :) I guess my total of 125,000+ files isn't too bad then...

    I think in real world terms you are pushing limits I guess that not a lot of people collect that many files! But in terms of what the software is supposed to be capable of you're not even close to limits. :)

    I didn't think you'd have it done that quick! That sounds great! When is the next pre-alpha coming out? ;)

    Its out now go get it!

    It took maybe 4-6 hours to get it into place since I had the idea mostly working already outside of Mystic 1. I got really sucked into it this evening and got it all done in one sitting!

    SetMarquee('This is my marquee', X, Y)

    Ch := MarqueeInput; // This will scroll the marque while waiting for key and resume the next time you call MarqueeInput

    Ohhhhh, I'm already thinking of ways I could use that. :)

    Yeah it'd be pretty cool, easy to use thing. It'll just be a drop in replacement for "ReadKey"

    --- Mystic BBS v1.12 A47 2020/10/20 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From g00r00@77:1/138 to Black Panther on Tue Oct 20 04:29:04 2020
    Ok, I wasn't expecting you to have to already compiled and posted. :)

    I have it installed here, and it looks great! I did notice the Offset field doesn't save. I would enter '20', and it would go back to '1'. I just entered spaces after the message to compensate. ;)

    Fixed! Thanks for the help testing!

    --- Mystic BBS v1.12 A47 2020/10/20 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From g00r00@77:1/138 to Black Panther on Tue Oct 20 04:36:44 2020
    I have it installed here, and it looks great! I did notice the Offset field doesn't save. I would enter '20', and it would go back to '1'. I just entered spaces after the message to compensate. ;)

    Oh I forgot to mention its limited to Marquees of 255 characters. I originally did it for 1024 characters but it turns out my form editor has a bug in it that was causing a crash in the menu editor if longer than 255 characters. Once I get around to getting that fixed I'll probably increase it to 512 or 1024 characters.

    --- Mystic BBS v1.12 A47 2020/10/20 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Tue Oct 20 11:50:28 2020
    On 20 Oct 2020, 04:23a, g00r00 said the following...
    ^^^^^^
    Wow, do you sleep? ;P

    I've heard from Ryan that DOSEMU2 is the way to go these days, although
    I havenot tried it.

    That is one that I haven't tried yet. I guess it handles DOS DPMI, so I might have to check it out.

    The Mystic 2 demo from 2001 had door profiles so it work like that, if
    you eversaw it (probably not many saw that version these days).

    I have it here, just never looked that close to all of the settings.

    You'd basically have a "Execute Door Profile" menu command and pass it
    the IDof the door you want to run. There would be a door configuration just like amessage/file area with an "Active" setting and a ton of
    default doors alreadyset up. For most popular doors you'd just be able
    to install the door to theproper directory and set the door to Active.

    That sounds pretty easy to work with. I wouldn't mind seeing that. I just wish we had more users that played door games...

    I think in real world terms you are pushing limits I guess that not a
    lot ofpeople collect that many files! But in terms of what the software is supposedto be capable of you're not even close to limits. :)

    It started out with just the shareware CDs that I still have, and then kept adding to it. ;) I've heard from a couple other Sysops that if they need any files, they come here to find them.

    Its out now go get it!

    You're awesome! But again, do you sleep? ;)

    Yeah it'd be pretty cool, easy to use thing. It'll just be a drop in replacement for "ReadKey"

    Awesome! :)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/20 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From Black Panther@77:1/102 to g00r00 on Tue Oct 20 11:51:26 2020
    On 20 Oct 2020, 04:29a, g00r00 said the following...

    I have it installed here, and it looks great! I did notice the Offset field doesn't save. I would enter '20', and it would go back to '1'. just entered spaces after the message to compensate. ;)

    Fixed! Thanks for the help testing!

    I'll put it to the test here, and see if I can break anything. ;)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/20 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From Black Panther@77:1/102 to g00r00 on Tue Oct 20 11:53:10 2020
    On 20 Oct 2020, 04:36a, g00r00 said the following...

    Oh I forgot to mention its limited to Marquees of 255 characters. I originallydid it for 1024 characters but it turns out my form editor has
    a bug in it thatwas causing a crash in the menu editor if longer than
    255 characters. Once Iget around to getting that fixed I'll probably increase it to 512 or 1024characters.

    Wow! I only have mine limited to 80 characters. :) I would think that 255 would be enough in this application.

    Of course we've all heard '640k ought to be enough'. ;)


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/20 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)
  • From g00r00@77:1/138 to Black Panther on Wed Oct 21 12:10:20 2020
    I've heard from Ryan that DOSEMU2 is the way to go these days, althou I havenot tried it.

    That is one that I haven't tried yet. I guess it handles DOS DPMI, so I mighthave to check it out.

    Yep it does and just the fact that its actively in development is a big plus. Maybe there will be a chance of a macOS version someday! That would be a game changer for BBSes on Mac!

    That sounds pretty easy to work with. I wouldn't mind seeing that. I
    just wishwe had more users that played door games...

    Don't we all!

    It started out with just the shareware CDs that I still have, and then keptadding to it. ;) I've heard from a couple other Sysops that if they need anyfiles, they come here to find them.

    Very cool. I need to stop in some time and look around!

    Its out now go get it!

    You're awesome! But again, do you sleep? ;)

    Not a lot lately. I have had a lot going on and I've had trouble sleeping. At some point I have just started getting out of bed in the middle of the night and reading echomail or coding a little. I hope things settle down for me soon but I doubt it.

    --- Mystic BBS v1.12 A47 2020/10/20 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (77:1/138)
  • From Black Panther@77:1/102 to g00r00 on Wed Oct 21 14:13:52 2020
    On 21 Oct 2020, 12:10p, g00r00 said the following...

    That is one that I haven't tried yet. I guess it handles DOS DPMI, so mighthave to check it out.

    Yep it does and just the fact that its actively in development is a big plus.Maybe there will be a chance of a macOS version someday! That
    would be a gamechanger for BBSes on Mac!

    Having never had a Mac, how much different is the OS then Linux? Would it be possible to port it?

    It started out with just the shareware CDs that I still have, and the keptadding to it. ;) I've heard from a couple other Sysops that if th need anyfiles, they come here to find them.

    Very cool. I need to stop in some time and look around!

    You should! :) (I even have Mystic BBS v0.01 available for download)

    Not a lot lately. I have had a lot going on and I've had trouble sleeping. Atsome point I have just started getting out of bed in the middle of the nightand reading echomail or coding a little. I hope
    things settle down for me soonbut I doubt it.

    Make sure you take care of yourself. I can understand having trouble sleeping, as I've been dealing with that myself, but always keep your health (both physical and mental) at the forefront of you mind. We care about you, and don't want to lose you.


    ---

    Black Panther(RCS)
    aka Dan Richter
    Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    http://github.com/DRPanther
    The sparrows are flying again...

    --- Mystic BBS v1.12 A47 2020/10/20 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com - (77:1/102)