• Mystic themes

    From maskreet@21:1/114 to All on Tuesday, January 17, 2017 19:13:00
    Having a hard time trying to get the system to recognize where to load the
    menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in the correct path, but whenever I edit a menu and try and use a screen from that specific path (which I figured it would pull from the Edit Theme screen), it wants to keep loading the default TEXT path screens.

    Anyone else have an issue like this?

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From Pequito@21:1/126 to maskreet on Tuesday, January 17, 2017 18:08:00
    On 01/17/17, maskreet said the following...

    Having a hard time trying to get the system to recognize where to load
    the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in
    the correct path, but whenever I edit a menu and try and use a screen
    from that specific path (which I figured it would pull from the Edit
    Theme screen), it wants to keep loading the default TEXT path screens.

    Anyone else have an issue like this?

    Never tried this but does make a point about v2 of MIS which will eventually support themes. =)

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From bcw142@21:1/145 to All on Wednesday, January 18, 2017 09:53:00
    On 1/17/2017 2:13 PM, maskreet wrote:
    Having a hard time trying to get the system to recognize where to load the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in the correct path, but whenever I edit a menu and try and use a screen from that specific path (which I figured it would pull from the Edit Theme screen), it wants to keep loading the default TEXT path screens.

    Anyone else have an issue like this?

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)

    When I Insert a new theme I copy data/default.txt to data/themename.txt
    and create the menus, scripts, and text menus coping over the current
    setup of each to have a starting point. So for c64 theme under Windows
    I'd do:
    cd \mystic
    copy data\default.txt data\c64.txt
    mkdir cmenus
    copy menus cmenus
    mkdir cscripts
    copy scripts cscripts
    mkdir ctext
    copy text ctext

    Then startup mystic -cfg under Login/Matrix Ask Theme Yes, then startup
    the BBS with my sysop name and pick the c64 theme and start editing. I
    know this works, I'm playing with three themes (c64 as one of them) on
    my AlphaTest setup.

    --- Mystic BBS/NNTP v1.12 A31 (Raspberry Pi)
    * Origin: Mystic Pi BBS bcw142.zapto.org (21:1/145)
  • From Gryphon@21:1/120 to maskreet on Thursday, January 19, 2017 13:49:00
    On 01/17/17, maskreet said the following...

    Having a hard time trying to get the system to recognize where to load
    the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in
    the correct path, but whenever I edit a menu and try and use a screen
    from that specific path (which I figured it would pull from the Edit
    Theme screen), it wants to keep loading the default TEXT path screens.

    Anyone else have an issue like this?

    I know that the different themes have the ability to 'fall back' to the
    default theme. Maybe if you have the option turned on to 'fall back', you might turn that off and see if the problem persists.

    The reason for the 'fall back' is if a file isn't found on the theme's paths, it will check the default paths. That sounds like what its doing to you.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (21:1/120)
  • From maskreet@21:1/114 to Gryphon on Thursday, January 19, 2017 16:09:00
    On 01/19/17, Gryphon said the following...

    On 01/17/17, maskreet said the following...

    Having a hard time trying to get the system to recognize where to loa the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in the correct path, but whenever I edit a menu and try and use a screen from that specific path (which I figured it would pull from the Edit Theme screen), it wants to keep loading the default TEXT path screens

    Anyone else have an issue like this?

    I know that the different themes have the ability to 'fall back' to the default theme. Maybe if you have the option turned on to 'fall back',
    you might turn that off and see if the problem persists.

    Did that, didn't help. I had to redo the paths to the theme files. It was "c:\mystic\text\iniq", "c:\mystic\menus\iniq", etc.

    Changed them to "c:\mystic\iniq\text" and such. Even then I have to specify
    the path to the ANSI screens with ".\iniq\text\main" for the MAIN menu, for example.

    Weird way to do it, don't know if it was intentional by g00r00. Figured if the paths were entered in the theme config you could just drop the name of the
    file you wanted to display and it would know where they were.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From Avon@21:1/101 to maskreet on Friday, January 20, 2017 17:45:00
    On 01/17/17, maskreet pondered and said...

    Having a hard time trying to get the system to recognize where to load
    the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in
    the correct path, but whenever I edit a menu and try and use a screen
    from that specific path (which I figured it would pull from the Edit
    Theme screen), it wants to keep loading the default TEXT path screens.

    OK so assuming you have the paths and files set up for the theme.. the issue
    is you can't access that theme - right?

    Assuming your theme is called 'test' minus the quotes

    Do you have a test.txt file in the data directory that you cloned from default.txt file?

    Do you allow users when logging in to select that theme?

    If you are just testing your new 'test' theme out for yourself and have not opted to choose it from the options presented from login (assuming you turned that on) have you updated the file name of the theme to use against your user record?

    Config > User Editor > Page 2 > Theme

    :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From maskreet@21:1/114 to Avon on Friday, January 20, 2017 14:54:00
    On 01/20/17, Avon said the following...

    On 01/17/17, maskreet pondered and said...

    Having a hard time trying to get the system to recognize where to loa the menu screens from.

    When you create a new theme, it asks where your text, menu and script paths are. Made the necessary additions, and the menus are created in the correct path, but whenever I edit a menu and try and use a screen from that specific path (which I figured it would pull from the Edit Theme screen), it wants to keep loading the default TEXT path screens

    OK so assuming you have the paths and files set up for the theme.. the issue is you can't access that theme - right?

    It's not that I couldn't access the theme, it was after popping in the
    correct paths in the theme config, I still had to monkey around with the path to the menu screens in each menu's Settings pages.

    Assuming your theme is called 'test' minus the quotes

    Do you have a test.txt file in the data directory that you cloned from default.txt file?

    Do you allow users when logging in to select that theme?

    If you are just testing your new 'test' theme out for yourself and have not opted to choose it from the options presented from login (assuming
    you turned that on) have you updated the file name of the theme to use against your user record?

    Config > User Editor > Page 2 > Theme

    Yeah, that's all set. I had to redo where to look for the theme's text, menu and script paths from "c:\mystic\<PATH>\iniq" for example, to "c:\mystic\iniq\<PATH>". But I still have to do
    ".\mystic\iniq\<PATH>\main.ans" to get it to work instead of just popping in the name of the screen.

    It's working, it's just weird and kind of a pain. Seems Mystic doesn't reference the theme's config paths in the menu settings.

    And I wouldn't think it would need my user record updated to reflect
    something in Mystic's CFG, I'm not actually logged in at that point.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From Vorlon@21:1/195 to Gryphon on Wednesday, January 25, 2017 18:05:00

    Hello Gryphon!

    You posted some time ago the included mpl for changing message area's in mystic.
    Would you have an updated one I could try, as this has issues going to area's.

    I've found that when selecting an area it's not choosing the area I moved the cursor to.
    Also I have 230+ area's in the fidonet group, is bumping the "Var Bases' area to 300 enough to
    cater for a group with that many area's?



    ===cut===
    Uses Cfg
    Uses MBase

    Const WinTitle = ' Select an Area '
    Const WinTop = 3

    Const BLK = 0
    Const BLU = 1
    Const GRN = 2
    Const GRY = 3
    Const RED = 4
    Const MAG = 5
    Const YEL = 6
    Const WHT = 7
    Const BLD = 8

    Type MGRec = Record
    Name : String[80]
    Index : Integer
    End

    Var TotBases : Integer = 0
    Var Box : LongInt
    Var Bases : Array [1..300] of MGRec
    Var MGIdx : Integer = 1
    Var MaxWide : Integer = Length(WinTitle)+2
    Var MaxLength : Integer = 10
    Var WinColr : Integer = (WHT*16)+(GRY+BLD)
    Var WinBord : Integer = (WHT*16)+(BLK+BLD)
    Var WinTR : Integer = (WHT*16)+(BLK+BLD)
    Var WinBL : Integer = (WHT*16)+(WHT+BLD)

    Procedure ListBases(T,B:Byte)
    Var I : Byte
    Var K : Byte
    Var S : String
    Begin
    For I:=1 To MaxLength Do Begin
    K:=I+T-1
    S:=' '+PadRt(StripMCI(Bases[K].Name),MaxWide*2,' ')+' '
    If I=B Then Begin
    WriteXY(40-MaxWide-1,I+WinTop+1,WinTR,S)
    End Else
    WriteXY(40-MaxWide-1,I+WinTop+1,WinBL,S)
    End
    End

    Procedure Main
    Var Ch : Char
    Var Done : Boolean = False
    Var Top : Byte = 1
    Var Bar : Byte = 1
    Var U,R : Byte
    Var M : String
    Begin
    While Not Done Do Begin
    U:=Top-Bar-1
    ListBases(Top,Bar)
    Ch:=ReadKey
    If IsArrow Then Begin
    Case Ch Of
    #72: If Bar > 1 Then
    Bar:=Bar-1
    Else Begin
    Bar:=1
    If Top > 1 Then
    Top:=Top-1
    End
    #80: Begin
    If Bar+Top < MGIdx Then Begin
    Bar:=Bar+1
    If Bar > MaxLength Then Begin
    Bar:=MaxLength
    Top:=Top+1
    End
    End
    End
    End
    End Else Begin
    Case Ch Of
    #13: Begin
    MenuCmd('MA',Int2Str(Bases[Top+Bar-1].Index));
    MenuCmd('-S','Changed to '+Bases[Top+Bar-1].Name);
    Done:=True;
    End
    #27: Done:=True
    End
    End
    End

    End

    Begin
    While GetMBase(TotBases+1) Do Begin
    TotBases:=TotBases+1
    If ACS(MBaseACS) Then Begin
    Bases[MGIdx].Index:=TotBases
    Bases[MGIdx].Name:=PadLt(Int2Str(MGIdx),3,' ')+' '+MBaseName
    Bases[MGIdx].Name:=MBaseName
    If Length(StripMCI(Bases[MGIdx].Name)) > MaxWide Then
    MaxWide:=Length(StripMCI(Bases[MGIdx].Name))
    MGIdx:=MGIdx+1
    End
    End
    MaxWide:=(MaxWide/2)
    ClassCreate(Box,'box')
    BoxOptions (Box, // Box class handle
    5, // Box frame type (1-8)
    True, // Use "3D" box shading effect
    WinColr, // Box attribute
    WinBord, // Box 3D effect attr1 (if on)
    WinBL, // Box 3D effect attr2 (if on)
    WinTR, // Box 3D effect attr3 (if on)
    false, // Use box shadowing
    (GRY*16)+(BLK+BLD)); // Box shadow attribute
    BoxHeader(Box,0,31,WinTitle)
    DispFile('mareas')
    BoxOpen(Box,40-MaxWide-2,WinTop,40+MaxWide+1,MaxLength+7)
    WriteXY(40-MaxWide,MaxLength+5,WinTR,PadCt(#196,MaxWide*2,#196))
    WriteXY(33,MaxLength+6,WinBL,' '+#30+','+#31+',esc,cr ')
    Main
    BoxClose(Box)
    ClassFree(Box)
    End

    ===cut===




    Vorlon


    --- GoldED+/LNX 1.1.5-b20161221
    * Origin: Dragon's Lair ---:- dragon.vk3heg.net -:--- (21:1/195)
  • From Pequito@21:1/126 to Vorlon on Wednesday, January 25, 2017 00:19:00
    On 01/25/17, Vorlon said the following...


    Hello Gryphon!

    You posted some time ago the included mpl for changing message area's in mystic.
    Would you have an updated one I could try, as this has issues going to area's.

    I've found that when selecting an area it's not choosing the area I
    moved the cursor to.
    Also I have 230+ area's in the fidonet group, is bumping the "Var Bases' area to 300 enough to
    cater for a group with that many area's?


    You can bump to a max of 500 for the areas before having to do things outside that array. So increasing it should help fix the issues you are having also their are a few more alternatives out there as well from xqtr and some others you can try and use as well. =)

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From vorlon@21:1/196 to Pequito on Wednesday, January 25, 2017 19:31:00
    On 01/25/17, Pequito said the following...

    I've found that when selecting an area it's not choosing the area I moved the cursor to. Vo> Also I have 230+ area's in the fidonet group, is bumping the "Var Base" area to 300 enough to
    cater for a group with that many area's?

    You can bump to a max of 500 for the areas before having to do things outside that array. So increasing it should help fix the issues you are having also their are a few more alternatives out there as well from
    xqtr and some others you can try and use as well. =)

    The problem is that they don't work on my system. Even when using them in the area change for the four fsx areas. I can select the mystic echo (fourth one
    on my system), but it wont change to that area and stays on the first area
    (fsx netmail) on my system....

    I've been running the stock mystic area change menu command for ages due to these issues. The group change is usiung the go-fgrp/go-mgrp scripts and work fine.


    \/orlon

    Aka: Stephen

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Dragon's Lair, Telnet: dragon.vk3heg.net (21:1/196)
  • From Pequito@21:1/126 to vorlon on Wednesday, January 25, 2017 02:22:00
    On 01/25/17, vorlon said the following...

    On 01/25/17, Pequito said the following...

    I've found that when selecting an area it's not choosing the are moved the cursor to. Vo> Also I have 230+ area's in the fidonet group, is bumping the "Var Base" area to 300 enough to
    cater for a group with that many area's?

    You can bump to a max of 500 for the areas before having to do things outside that array. So increasing it should help fix the issues you having also their are a few more alternatives out there as well from xqtr and some others you can try and use as well. =)

    The problem is that they don't work on my system. Even when using them
    in the area change for the four fsx areas. I can select the mystic echo (fourth one on my system), but it wont change to that area and stays on the first area (fsx netmail) on my system....

    I've been running the stock mystic area change menu command for ages due to these issues. The group change is usiung the go-fgrp/go-mgrp scripts and work fine.

    I did call your system, it must not be avail for us normal users for group change etc, guessing its op only for now till you figure it out?

    I never used any others and made my own but know how they work and or how to make em work when you have em.

    The one from xqtr does not work for you?

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From fabian@21:2/106 to Vorlon on Wednesday, January 25, 2017 13:12:00
    Hi Vorlon,

    May I suggest you give a try to bt-gasel-1.0a.zip if you have some spare time
    ? It a complete rewrite of original code with the area-bug fixed (when area
    ID is not the same as area number in list, when you delete and add/insert new areas) ? It's the very same script to does the job for group/base selection
    for files and messages. Customizable with easy to use templates...

    Let me know if you can't find it or if you want me to repost it somewhere ...

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to Vorlon on Wednesday, January 25, 2017 13:17:00
    And if you like/use it, and are missing a cool feature, just ask me, I'll be glad to add it :)

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Necromaster@21:1/122 to fabian on Wednesday, January 25, 2017 09:41:00
    May I suggest you give a try to bt-gasel-1.0a.zip if you have some spare time ? It a complete rewrite of original code with the area-bug fixed

    Hello Fabian, bt-gasea is great but on my system having more than 2000
    message areas, it does not work, any chance you can change this? Thanks.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Necronomicon BBS: necrobbs.strangled.net:27 (21:1/122)
  • From fabian@21:2/106 to Necromaster on Wednesday, January 25, 2017 16:27:00
    Hi Necromaster,

    Hello Fabian, bt-gasea is great but on my system having more than 2000 message areas, it does not work, any chance you can change this? Thanks.

    I'm on it. I'l have to do some cleanup although since memory is short under
    MPL (no object bigger than 65k). I'll be back shortly.

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Necromaster@21:1/122 to fabian on Wednesday, January 25, 2017 11:15:00
    I'm on it. I'l have to do some cleanup although since memory is short under MPL (no object bigger than 65k). I'll be back shortly.

    Fabian

    Thanks a million :)

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Necronomicon BBS: necrobbs.strangled.net:27 (21:1/122)
  • From fabian@21:2/106 to Necromaster on Wednesday, January 25, 2017 16:49:00
    Hello Fabian, bt-gasea is great but on my system having more than 2000 message areas, it does not work, any chance you can change this? Thanks.

    Well, internal structures of MPL will be a constant limit and the effort to
    go around is really to great ; I would be forced to read only part of the
    .dat files and load the remaining when it's needed, and same thing if you
    move back to the begining of any lists. I won't have sufficient time for this right now.

    However, I can push the limit a little bit to 1450 areas per group, by
    limiting the arrays to String[40] (since it's the limit of areas names).

    If you have more than 1450 areas in a single group, I sadly can't help you
    now and the only way would be to split your groups in smaller subsets.

    I'll keep that in my todo-list in the "spare time" labelled box.

    PS : I'm currently coding a new filelist that allows more info (like a directory listing) and zoom on demand because those file lists with +50 lines descriptions are not convenient to read when browing available files ; and
    it's very time consuming

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Necromaster@21:1/122 to fabian on Wednesday, January 25, 2017 13:45:00
    If you have more than 1450 areas in a single group, I sadly can't help
    you now and the only way would be to split your groups in smaller
    subsets.

    That's fine Fabian. thanks my friend :)

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Necronomicon BBS: necrobbs.strangled.net:27 (21:1/122)
  • From vorlon@21:1/196 to Pequito on Thursday, January 26, 2017 11:26:00
    On 01/25/17, Pequito said the following...

    I've been running the stock mystic area change menu command for ages to these issues. The group change is usiung the go-fgrp/go-mgrp scrip and work fine.

    I did call your system, it must not be avail for us normal users for
    group change etc, guessing its op only for now till you figure it out?

    I install the scripts test, and if they don't work I remove them from the system.

    I never used any others and made my own but know how they work and or
    how to make em work when you have em.

    The one from xqtr does not work for you?

    They either lock the system up and I have to hangup, or dot's get printed on the left hand side of the terminal program and I have to hangup, as the
    system wont respond.


    \/orlon

    Aka: Stephen

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Dragon's Lair, Telnet: dragon.vk3heg.net (21:1/196)
  • From vorlon@21:1/196 to fabian on Thursday, January 26, 2017 11:28:00
    On 01/25/17, fabian said the following...

    May I suggest you give a try to bt-gasel-1.0a.zip if you have some spare time ? It a complete rewrite of original code with the area-bug fixed (when area ID is not the same as area number in list, when you delete
    and add/insert new areas) ? It's the very same script to does the job
    for group/base selection for files and messages. Customizable with easy
    to use templates...

    Let me know if you can't find it or if you want me to repost it
    somewhere ...

    I don't have that one. Where can I grab a copy to test?


    \/orlon

    Aka: Stephen

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Dragon's Lair, Telnet: dragon.vk3heg.net (21:1/196)
  • From Vorlon@21:1/195 to fabian on Thursday, January 26, 2017 12:15:00

    Hello fabian!

    I just tryed to connect to your system, and got a black screen and then nothing. Had to hangup.




    Vorlon


    --- GoldED+/LNX 1.1.5-b20161221
    * Origin: Dragon's Lair ---:- dragon.vk3heg.net -:--- (21:1/195)
  • From Pequito@21:1/126 to Necromaster on Wednesday, January 25, 2017 18:04:00
    On 01/25/17, Necromaster said the following...

    May I suggest you give a try to bt-gasel-1.0a.zip if you have some sp time ? It a complete rewrite of original code with the area-bug fixed

    Hello Fabian, bt-gasea is great but on my system having more than 2000 message areas, it does not work, any chance you can change this? Thanks.

    Cant change it from the array possibly using, only way to fix is a data file.

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From fabian@21:2/106 to Vorlon on Thursday, January 26, 2017 08:24:00
    I just tryed to connect to your system, and got a black screen and then nothing. Had to hangup.

    Yes, sorry for that... a nasty firewall config that changed recently. just fixed it.

    You'll find the b-gasel package in file section, Local area and "In house
    dev".

    Enjoy

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to Necromaster on Thursday, January 26, 2017 08:25:00
    If you have more than 1450 areas in a single group, I sadly can't hel you now and the only way would be to split your groups in smaller

    That's fine Fabian. thanks my friend :)

    I had a few ideas last night ; sleep is always so productive o_O

    I'll keep you posted.

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Pequito@21:1/126 to fabian on Thursday, January 26, 2017 01:55:00
    On 01/26/17, fabian said the following...

    If you have more than 1450 areas in a single group, I sadly can' you now and the only way would be to split your groups in smalle

    That's fine Fabian. thanks my friend :)

    I had a few ideas last night ; sleep is always so productive o_O

    I'll keep you posted.

    The way I over-came this issue was to read all the areas, store them into
    their own data file and read it back showing the listing.

    Sounds like a lot but it did the trick and works pretty fast, least on my system not sure about anyone else if I where to port for others to use.

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From fabian@21:2/106 to Pequito on Thursday, January 26, 2017 10:35:00
    The way I over-came this issue was to read all the areas, store them into their own data file and read it back showing the listing.

    That's a good way to solve that problem, but you duplicate data and that is usually not the best way since duplicated data tends to be obsolete :S

    I'll most probably try to maintain a memory buffer of a subset of all
    available areas, and load/unload the buffer as required ; that could be fast for the user and not that heavy for the system. The only difficult part is
    for a dynamic search since you don't have everything in ram, this part needs
    to be solved.

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Pequito@21:1/126 to fabian on Thursday, January 26, 2017 02:57:00
    On 01/26/17, fabian said the following...

    The way I over-came this issue was to read all the areas, store them their own data file and read it back showing the listing.

    That's a good way to solve that problem, but you duplicate data and that is usually not the best way since duplicated data tends to be obsolete :S

    Nah the data is re-written each time there would be no duplicates, also
    created a findentry function so could also check if there was one already there. This was only a work around for the larger issue of exceeding 500 or more bases.

    I'll most probably try to maintain a memory buffer of a subset of all available areas, and load/unload the buffer as required ; that could be fast for the user and not that heavy for the system. The only difficult part is for a dynamic search since you don't have everything in ram,
    this part needs to be solved.

    Not sure you have to consider those who also run Pi or lower end devices
    which do not have as much resources or memory. Searching has not been an
    issue since its all data.

    I am pending g00r00's return so might be able to resolve some of the limits
    we have when using an array which is what yours and mine does.

    I never released my own due to it not being fully functional and those limits where the last part of the puzzle. I figured the temp data file in the /temp(node) worked for me but again might not work well for others.

    Least you give an option for others to use for now. :)

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From fabian@21:2/106 to Pequito on Thursday, January 26, 2017 10:36:00
    BTW, is your mpl available somewhere ? I would gladly have a look at what you wrote :)

    Fabian

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Pequito@21:1/126 to fabian on Thursday, January 26, 2017 03:19:00
    On 01/26/17, fabian said the following...

    BTW, is your mpl available somewhere ? I would gladly have a look at
    what you wrote :)

    unfortunately no not until I clean up the code badly which I have been
    working on ever so slowly. :P

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From Pequito@21:1/126 to fabian on Thursday, January 26, 2017 03:29:00
    Fabian,

    If you are a late nighter or its early for ya should jump onto MRC I saw its
    on your BBS and even tried to upload it before I saw you had it.

    The correct connection address is twinklebbs.homeip.net port 5000.

    Cheers!
    Pequito

    +- $s.s$s.s$ ----------------------------------------+
    | $ý"$$$"ý$ twinklebbs.homeip.net |
    | .$$$. winkle BBS twinklebbs.homeip.net:8080 |
    +-- .$$$$$. -----------------------------------------+
    $ý"~"ý$ Christopher Malo aka Pequito!

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Twinkle BBS (21:1/126)
  • From fabian@21:2/106 to Necromaster on Friday, January 27, 2017 20:47:00
    Hi Necromaster,

    If you have more than 1450 areas in a single group, I sadly can't hel

    That's fine Fabian. thanks my friend :)


    Good news ! Excellent news in fact !! Problem is solved :) I have dynamic buffer working:))))))))))))

    So there is no more area/group size limit and it's working beautifuly.

    Code has been once again heavily cleaned up, optimized (less disk read, less memory usage -huge amount of arrays, variables and procedures could be removed-, better logic and code readability).

    I'm still working some minor issues with lightbar repositioning after specific moves when the buffer needs to move (i.e. read again from disk) but this
    should be solved hopefuly this week-end.

    I'll upload a new release of bt-gasel as soon as it's ready to be distributed!

    That was a real cool and good day of coding :P

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Necromaster@21:1/122 to fabian on Saturday, January 28, 2017 07:40:00
    Good news ! Excellent news in fact !! Problem is solved :) I have dynamic buffer working:))))))))))))

    :) Great to hear that Fabian. Thanks a million my friend.

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Necronomicon BBS: necrobbs.strangled.net:27 (21:1/122)
  • From fabian@21:2/106 to Necromaster on Sunday, January 29, 2017 17:46:00
    Good news ! Excellent news in fact !! Problem is solved :) I have dyn buffer working:))))))))))))

    Just to let you know the progress I made this week-end. Buffered navigation induced heavy headhaches when moving backwards, due to non
    sequential internal Mystic ID for groups/areas that occurs during insert/delete.

    I will have to temper the "unlimited" groups/areas feature to a hard limit
    -for now- of around 30,000 areas per groups or 30,000 groups. That means if
    you have 50 groups with 30,000 areas each, bt-gasel will be able to manage lightbar menu/selection for each group without a single drop of sweat.

    I will however need a few more days before I can give you something to try
    out on your side (I don't have that many areas anywhere here at present
    time), time needed to fine-tune all keyboard moves (pgup, home, end, etc) and to integrate a new search function since only a small subset of available groups will be in RAM at any time.

    I'll also try to make the buffer size easily configurable (maybe through .cfg files) so you could set the load on your host (mostly for Raspberry setup
    that may be less powerful ?) for every buffer movement (for such operation,
    the script need to read mystic system file and do some processing that may slowdown ; can't see anything here since it's instantaneous but I don't have any other platform to test).

    I hopefuly will get back to you before the end of this week.

    Fabian

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Necromaster@21:1/122 to fabian on Sunday, January 29, 2017 16:28:00
    Just to let you know the progress I made this week-end. Buffered navigation induced heavy headhaches when moving backwards, due to non sequential internal Mystic ID for groups/areas that occurs during insert/delete.

    :) Thanks man. Take your time my friend :)

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Necronomicon BBS: necrobbs.strangled.net:27 (21:1/122)
  • From fabian@21:2/106 to Necromaster on Thursday, February 02, 2017 22:16:00
    Yeeeeha ! bt-gasel v1.1a is released ! It is able to generate lightbar menus for groups and areas selection for up to 30,000 items in each category. There is still a limit though, which I'd prefer not, but I couldn't find any other way. Yet :)

    Template are unchanged, neither are config files so the upgrade should be
    just copying both sources (bt-gasel.mps and sys_recs.inc in the script
    directy, compile with mplc and you're done.

    Due to the high complexity of this task (removing the previous limit of
    around 1300 areas), code is much much more complex (and we're getting closer
    to 1,000 lines). So maybe you should consider this as beta stage and be cautious ?

    I don't have as many areas as you do (+2,000 ?) so it was not that easy to replicate all scenarios. But I'm rather confident it should work. Let me know if you have problems with it (if you use it, I mean) :)

    Source has been uploaded on some BBS, and is available at my place of
    course, with the name of bt-gasel-1.1a.zip

    Enjoy

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to Necromaster on Thursday, February 02, 2017 22:25:00
    One last thing : take the package from my bbs if you download it before this Saturday... I forget one small source of generic function (sys_functions.inc) in the uploaded zip I distributed !

    Already fixed at my place, doing some reupload here and there.

    Sorry for that

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to Necromaster on Thursday, February 02, 2017 22:30:00
    To prevent any mistake, the package has been renamed to bt-gasel-1.1b.zip
    (this one has the missing .inc)

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Gryphon@21:1/120 to Vorlon on Thursday, February 02, 2017 16:54:00
    On 01/25/17, Vorlon said the following...


    Hello Gryphon!

    You posted some time ago the included mpl for changing message area's in mystic.
    Would you have an updated one I could try, as this has issues going to area's.

    I've found that when selecting an area it's not choosing the area I
    moved the cursor to.
    Also I have 230+ area's in the fidonet group, is bumping the "Var Bases' area to 300 enough to
    cater for a group with that many area's?

    Sorry that this response is so late. I managed to accidentally turn off this echo from my newscan, so I never knew that there were new messages here until just now.

    I think that if you bump up the Var Bases to 300 would fix your problem, like you thought. But I have to confess, I don't use that anymore, ever since g00r00 came out with the new file_list format. I've just went with that instead.

    But on the other hand, I think that pequito had managed to make a MPL to do exactly what you are wanting. Maybe he can help you with it.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (21:1/120)
  • From Avon@21:1/101 to fabian on Friday, February 03, 2017 12:31:00
    On 02/02/17, fabian pondered and said...

    Yeeeeha ! bt-gasel v1.1a is released ! It is able to generate lightbar menus for groups and areas selection for up to 30,000 items in each category. There is still a limit though, which I'd prefer not, but I

    Well done and congrats :)

    Source has been uploaded on some BBS, and is available at my place of course, with the name of bt-gasel-1.1a.zip

    Please upload to Agency BBS and I will hatch it out to all systems connected
    to the FSX_MUTL file area :)

    The offer extends to other files like this you wish to have distributed out
    to fsxNer nodes :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From vorlon@21:1/196 to Gryphon on Friday, February 03, 2017 15:29:00
    On 02/02/17, Gryphon said the following...

    You posted some time ago the included mpl for changing message area's
    [...]
    cater for a group with that many area's?

    I think that if you bump up the Var Bases to 300 would fix your problem,

    That was one of the things I tried, and it didn't work.

    But on the other hand, I think that pequito had managed to make a MPL to do exactly what you are wanting. Maybe he can help you with it.

    I'm curently testing the one that fabian wrote. The 1.1b version of it is working good sofar. I'm about to put it through more tests, as the previous version would crash mystic.


    \/orlon

    Aka: Stephen

    --- Mystic BBS v1.12 A31 (Linux)
    * Origin: Dragon's Lair, Telnet: dragon.vk3heg.net (21:1/196)
  • From fabian@21:2/106 to Gryphon on Friday, February 03, 2017 11:09:00
    Hi Gryphon,

    like you thought. But I have to confess, I don't use that anymore, ever since g00r00 came out with the new file_list format. I've just went

    Do you have any info on that, somewhere ?

    Fabian

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to vorlon on Friday, February 03, 2017 11:13:00
    working good sofar. I'm about to put it through more tests, as the previous version would crash mystic.

    Yep, that's the hard part of coding with old language which are pretty
    limited on things that can be detected at compile time. The crashes are
    usually when I try to access an array item that beyond limits, or when
    dealing with WORD variables and doing some X-Y and the result is negative (so that mean overlap of max value and going to 65535 and down). These are pretty hard to pinpoint without debuggers but I think I got most of them with 1.1b. You'll tell me, and if you have a reproductible situation (each time), drop
    me a note and I'll most surely be able to fix it.

    Fabian

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From fabian@21:2/106 to Avon on Friday, February 03, 2017 15:14:00
    Hi Paul,

    Please upload to Agency BBS and I will hatch it out to all systems connected to the FSX_MUTL file area :)

    bt-gasel-1.1c.zip was just uploaded to the Agency BBS in local files/uploads.
    A quick fix for a malfunctional PageUp key. Should be fine now.

    Thanks for the support.

    Fabian

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Gryphon@21:1/120 to fabian on Friday, February 03, 2017 08:54:00
    On 01/26/17, fabian said the following...

    The way I over-came this issue was to read all the areas, store them their own data file and read it back showing the listing.

    That's a good way to solve that problem, but you duplicate data and that is usually not the best way since duplicated data tends to be obsolete :S

    I'll most probably try to maintain a memory buffer of a subset of all available areas, and load/unload the buffer as required ; that could be fast for the user and not that heavy for the system. The only difficult part is for a dynamic search since you don't have everything in ram,
    this part needs to be solved.

    FWIW, performing random file access on the main area files is a good method. Just do some fseek commands to position it where you want.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (21:1/120)
  • From Gryphon@21:1/120 to fabian on Friday, February 03, 2017 09:23:00
    On 02/03/17, fabian said the following...

    Hi Gryphon,

    like you thought. But I have to confess, I don't use that anymore, e since g00r00 came out with the new file_list format. I've just went

    Do you have any info on that, somewhere ?

    It's the file_index.* and file_index_help.ans files that you find in your mystic text directory.

    I will say though, that the file_index.ini method does not seem as if it will accommodate so many file areas and groups.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (21:1/120)
  • From Avon@21:1/101 to fabian on Saturday, February 04, 2017 09:05:00
    On 02/03/17, fabian pondered and said...

    bt-gasel-1.1c.zip was just uploaded to the Agency BBS in local files/uploads. A quick fix for a malfunctional PageUp key. Should be
    fine now.

    Suggest you limit your text in the file_id.diz to just 40 columns and say
    7-10 lines long. The rest of the info I would put in a separate text file in the archive called CHANGES.TXT or something like that.

    Do you want to just have a crack at that before I send it out?

    I'm off painting my house again this Saturday morning so will be looking to
    do something for you tonight when I get in :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)
  • From fabian@21:2/106 to Avon on Saturday, February 04, 2017 08:27:00
    Hi,

    Suggest you limit your text in the file_id.diz to just 40 columns and say 7-10 lines long. The rest of the info I would put in a separate text

    I'll follow your guidelines, my Master :) Your teaching is pure wisdom.

    Do you want to just have a crack at that before I send it out?

    Updated file will be uploaded in a few minutes

    I'm off painting my house again this Saturday morning so will be looking

    I wish you good luck, so much work

    Fabian

    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ
    ³Û²±° BackToTheRoots BBS / Fabian °±²Û³
    þÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄþ

    --- Mystic BBS v1.12 A31 (OSX)
    * Origin: BackToTheRoots BBS (21:2/106)
  • From Avon@21:1/101 to fabian on Saturday, February 04, 2017 21:05:00

    On 02/04/17, fabian pondered and said...

    I'll follow your guidelines, my Master :) Your teaching is pure wisdom.

    Gee I starting to feel like a Jedi Knight now ... ha! Just tell my children
    to listen to my words of wisdom to huh? :)

    Updated file will be uploaded in a few minutes

    Got it thanks.

    I'm off painting my house again this Saturday morning so will be look

    I wish you good luck, so much work

    It's been 4 hours prepping windows and 3 hours first cost of painting them
    with the first coast today, second coat tomorrow.

    There are 12 equal sized square windows that all open and are hinged on
    either side, they push outwards... just fiddly stuff.

    I'll sleep well tonight! 905pm Sar night as I type this. Just trying to catch up on network news / duties :)

    Best, Paul

    --- Mystic BBS v1.12 A31 (Windows)
    * Origin: Agency BBS | telnet://agency.bbs.geek.nz (21:1/101)