• Re: good afternoon asking about baja and menu shells

    From Diskhopper@VERT/DISKHOPP to nelgin on Sat Jul 6 23:16:00 2024
    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to Diskhopper on Sat Jul 06 2024 03:43 pm

    On Sat, 6 Jul 2024 12:33:43 -0400
    "Diskhopper" (VERT/DISKHOPP)
    <VERT/DISKHOPP!Diskhopper@endofthelinebbs.com> wrote:
    hello I recently upgraded my bbs to version 3.19b and my a couple
    shells i installed are no longer working they were written in baja i believe one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected. i have looked around and have not found any fix, can
    someone please point me in a direction of what to do or if i need to
    edit a file somewhere. thanks for all your help and if you need any
    more information that i forgot to add here please let me know thanks
    again shawn

    ---
    ­ Synchronet ­ DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
    Did you try just rebuilding the module?
    If you can make the source available then I could take a look or
    possibly rewrite it in JS.
    let me see what i have where could i send the files to
    thanks again and what would you charge to rewrite it if you could

    ---
    þ Synchronet þ DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
  • From Digital Man@VERT to Diskhopper on Sun Jul 7 02:52:49 2024
    Re: good afternoon asking about baja and menu shells
    By: Diskhopper to All on Sat Jul 06 2024 12:33 pm

    hello I recently upgraded my bbs to version 3.19b and my a couple shells i installed are no longer working they were written in baja i believe
    one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected.
    i have looked around and have not found any fix, can someone please
    point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more information that i forgot to add here please let me know thanks again shawn

    Do you have the Baja .src file? Can you try recompiling to .bin using Baja?
    If so, and it still doesn't seem to work right, you could add print or log statements to help debug if/how-far the script is actually running.
    --
    digital man (rob)

    Rush quote #42:
    Media messiahs preying on my fears, pop culture prophets playing in my ears Norco, CA WX: 66.2øF, 87.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Diskhopper on Sun Jul 7 02:57:54 2024
    Re: good afternoon asking about baja and menu shells
    By: Digital Man to Diskhopper on Sun Jul 07 2024 02:52 am

    Re: good afternoon asking about baja and menu shells
    By: Diskhopper to All on Sat Jul 06 2024 12:33 pm

    hello I recently upgraded my bbs to version 3.19b and my a couple shells i installed are no longer working they were written in baja i believe
    one is the halloween shell called ween and the other one is a christmas shell and they are not working, they show blank screen when selected.
    i have looked around and have not found any fix, can someone please
    point me in a direction of what to do or if i need to edit a file somewhere. thanks for all your help and if you need any more information that i forgot to add here please let me know thanks again shawn

    Do you have the Baja .src file? Can you try recompiling to .bin using Baja? If so, and it still doesn't seem to work right, you could add print or log statements to help debug if/how-far the script is actually running.

    So, I extracted ween.src from hallween.zip here on Vertrauen, and it doesn't compile with current versions of Baja:
    baja ween.src

    BAJA v2.34-Win32 (rev 1.52) - Synchronet Shell/Module Compiler

    Compiling ween.src...
    !SYNTAX ERROR (expecting integer constant):
    ween.src 31: main

    So you can either:
    1. Just use the .bin file that comes in the archive, unmodified, or
    2. Update the .src file per instructions in this video: https://www.youtube.com/watch?v=HlwQ0uX4S04
    .. and then recompile the updated .src file (to .bin) using Baja
    --
    digital man (rob)

    Synchronet "Real Fact" #11:
    DOVE-Net was originally an exclusive ("elite") WWIVnet network in O.C., Calif Norco, CA WX: 65.9øF, 87.0% humidity, 2 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to Nightfox on Wed Jul 10 17:35:26 2024
    On Tue, 9 Jul 2024 22:42:26 -0700, you wrote:

    That's true, but did my reply not answer his question?

    I'm fairly certain his question was simply how to switch from a baja shell to a .js one. It seemed like he was unaware that there was a 'default.js' available to switch to. So not really.

    You basically told him to find some javascript tutorials, described how javascript is primarily used in web context. Then, gave links on how to familiarize himself with javascript.

    I had mentioned that I converted my Baja shell to JS, and Gamgee
    asked "How does a non-JS-programmer accomplish this?" I don't know if
    he's using default.src (he didn't say he was), but the way he asked
    that, I answered thinking that he may have written his own custom
    Baja shell.
    Even if he did write or modify his own baja shell, the answer to "How does a non-JS-programmer accomplish this (switching from baja to js shells)" is simply to replace default.src/bin with default.js. Done deal.

    Then when one wants to actually modify default.js, theeeeeeen they can go looking for javascript tutorials and the Synchronet javascript reference. But that wasn't part of the original question.

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Accession@VERT/PHARCYDE to Gamgee on Wed Jul 10 17:39:32 2024
    On Wed, 10 Jul 2024 01:03:00 -0500, you wrote:

    I'm using a somewhat customized shell, where I edited the default.src to change/remove a few things.

    You can do the exact same thing with JS. The only difference is that you'll forget to put ()'s and ";" characters where they're needed. But no worries, it will tell you the first time you run it that your code is bad. :)

    Great idea, yes. I of course didn't know "baja source" either, but was able to adjust things just based on exactly what you're describing here.

    Same here. It's a lot easier to modify existing code to do what you want it to, than it is to start from a clean slate, that's for sure!

    Perfect, and thanks for the boot to wake me up. Not sure why I didn't think of that myself, as it's exactly what I did with the default baja. Appreciate it!

    Of course, and good luck! It takes a little getting used to, but it's just as easy as modifying baja once you figure out the syntax.

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Gamgee@VERT/PALANTIR to Accession on Wed Jul 10 19:43:00 2024
    Accession wrote to Gamgee <=-

    I'm using a somewhat customized shell, where I edited the default.src to change/remove a few things.

    You can do the exact same thing with JS. The only difference is that you'll forget to put ()'s and ";" characters where they're needed. But
    no worries, it will tell you the first time you run it that your code
    is bad. :)

    Haha, yes. I did notice a pattern, and it was fairly obvious after a
    few minutes. Also the color syntax-highlighting (in nano) helps a lot.

    I've got a modified 'default.js' shell just about done, and hope to find
    time tomorrow to test it. Easier than I expected, actually.



    ... Once in a while, I screw up and do something right.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Digital Man@VERT to Gamgee on Wed Jul 10 18:26:11 2024
    Re: Re: good afternoon asking about baja and menu shells
    By: Gamgee to Accession on Wed Jul 10 2024 07:43 pm

    I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.

    I think/hope it's easier than modifying default.src! :-)
    --
    digital man (rob)

    Steven Wright quote #15:
    Depression is merely anger without enthusiasm.
    Norco, CA WX: 90.5øF, 42.0% humidity, 8 mph WSW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Gamgee@VERT/PALANTIR to Digital Man on Wed Jul 10 21:35:00 2024
    Digital Man wrote to Gamgee <=-

    Re: Re: good afternoon asking about baja and menu shells
    By: Gamgee to Accession on Wed Jul 10 2024 07:43 pm

    I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.

    I think/hope it's easier than modifying default.src! :-)

    Haha, yes it certainly was!




    ... Internal Error: The system has been taken over by sheep at line 19960
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Nightfox@VERT/DIGDIST to Accession on Wed Jul 10 20:04:01 2024
    Re: good afternoon asking about baja and menu shells
    By: Accession to Nightfox on Wed Jul 10 2024 05:35 pm

    That's true, but did my reply not answer his question?

    I'm fairly certain his question was simply how to switch from a baja shell to a .js one. It seemed like he was unaware that there was a 'default.js' available to switch to. So not really.

    He was responding to what I said about converting my Baja shell to JS. Converting is different from simply switching from one to the other. He seemed satisfied with what I shared as far as picking up some JavaScript, so it sounded to me like that would have been a solution. But from what he said, it sounds like the default.js would be okay with him, with modifications.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Accession@VERT/PHARCYDE to Gamgee on Thu Jul 11 20:18:18 2024
    On Thu, 11 Jul 2024 00:43:00 -0500, you wrote:

    I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.

    Sometimes you just gotta dive right in, scratch your head for awhile.. then bang it on your desk a few times. Eventually, you'll get it working. :)

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (723:1/1)
    ï¿­ Synchronet ï¿­ _thePharcyde telnet://bbs.pharcyde.org (Wisconsin)
  • From Gamgee@VERT/PALANTIR to Accession on Thu Jul 11 21:53:00 2024
    Accession wrote to Gamgee <=-

    I've got a modified 'default.js' shell just about done, and hope to find time tomorrow to test it. Easier than I expected, actually.

    Sometimes you just gotta dive right in, scratch your head for awhile.. then bang it on your desk a few times. Eventually, you'll get it
    working. :)

    Good advice, and absolutely true!

    I must admit that I've been doing that in various ways for most of my
    adult life... ;-)




    ... Wisdom is knowing what to do with what you know.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL