• good afternoon asking about baja and menu shells

    From Diskhopper@VERT/DISKHOPP to All on Saturday, July 06, 2024 12:33:43
    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
  • From nelgin@VERT/EOTLBBS to Diskhopper on Saturday, July 06, 2024 15:43:05
    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.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    ï¿­ Synchronet ï¿­ End Of The Line BBS - endofthelinebbs.com
  • From MRO@VERT/BBSESINF to Diskhopper on Saturday, July 06, 2024 15:40:39
    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

    we can't tell you whats wrong without you showing us whats wrong.
    see if there's an error msg in sbbsctrl and also give us links to the scripts. or post the scripts on pastebin.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Diskhopper@VERT/DISKHOPP to nelgin on Saturday, July 06, 2024 23:16:00
    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 Sunday, July 07, 2024 02:52:49
    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 Sunday, July 07, 2024 02:57:54
    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 Diskhopper@VERT/DISKHOPP to Digital Man on Sunday, July 07, 2024 14:57:51
    Re: good afternoon asking about baja and menu shells
    By: Digital Man to Diskhopper on Sun Jul 07 2024 02:57 am

    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 she 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 christma 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 informati 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 Baj If so, and it still doesn't seem to work right, you could add print or lo 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

    thanks i will try that sorry was at work
    going to watch the video now
    and i got the same error so going to watch the video now

    ---
    þ Synchronet þ DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
  • From nelgin@VERT/EOTLBBS to Diskhopper on Sunday, July 07, 2024 20:36:07
    Re: Re: good afternoon asking about baja and menu shells
    By: Diskhopper to nelgin on Sat Jul 06 2024 23:16:00

    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

    You can upload them to endofthelinebbs.com or if they're small enough just email me the files sysop@endofthelinebbs.com

    I wouldn't charge.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From nelgin@VERT/EOTLBBS to All on Monday, July 08, 2024 12:01:16
    On Sun, 7 Jul 2024 14:57:51 -0400
    "Diskhopper" (VERT/DISKHOPP)
    <VERT/DISKHOPP!Diskhopper@endofthelinebbs.com> wrote:
    Re: good afternoon asking about baja and menu shells
    By: Digital Man to Diskhopper on Sun Jul 07 2024 02:57 am

    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 she 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 christma 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 informati 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 Baj If so, and it still doesn't seem to work right, you
    could add print or lo 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

    thanks i will try that sorry was at work
    going to watch the video now
    and i got the same error so going to watch the video now

    ---
    â–  Synchronet â–  DISKHOPPERSPALACE - diskhopperspalace.is-lost.org
    Might still be good to convert to JS. I bet baja is going away sooner
    or later. Doesn't make sense to keep it around with modern JS shells
    and very little, if anything, really uses it these days.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    ï¿­ Synchronet ï¿­ End Of The Line BBS - endofthelinebbs.com
  • From Nightfox@VERT/DIGDIST to nelgin on Monday, July 08, 2024 11:18:39
    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to All on Mon Jul 08 2024 12:01 pm

    Might still be good to convert to JS. I bet baja is going away sooner or later. Doesn't make sense to keep it around with modern JS shells and very little, if anything, really uses it these days.

    Yeah, I converted my shell to JS years ago and haven't looked back. There are things that I think you can do more easily in JS, and some things I doubt you can do at all in Baja.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to nelgin on Monday, July 08, 2024 15:21:00
    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to All on Mon Jul 08 2024 12:01 pm


    So, I extracted ween.src from hallween.zip here on Vertrauen, and
    it doesn't compile with current versions of Baja:
    baja ween.src
    Might still be good to convert to JS. I bet baja is going away sooner
    or later. Doesn't make sense to keep it around with modern JS shells
    and very little, if anything, really uses it these days.

    Lots of people are using baja mods. there's more of them to use than .js mods.

    baja is a simple to use and easy to learn IPL. you can do most bbs functions quite easily without having to be a programmer.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Gamgee@VERT/PALANTIR to Nightfox on Monday, July 08, 2024 16:13:00
    Nightfox wrote to nelgin <=-

    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to All on Mon Jul 08 2024 12:01 pm

    Might still be good to convert to JS. I bet baja is going away sooner or later. Doesn't make sense to keep it around with modern JS shells and very little, if anything, really uses it these days.

    Yeah, I converted my shell to JS years ago and haven't looked back.
    There are things that I think you can do more easily in JS, and some things I doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?



    ... Gone crazy, be back later, please leave message.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Nightfox@VERT/DIGDIST to Gamgee on Monday, July 08, 2024 15:58:20
    Re: Re: good afternoon asking about baja and menu shells
    By: Gamgee to Nightfox on Mon Jul 08 2024 04:13 pm

    Yeah, I converted my shell to JS years ago and haven't looked back. There
    are things that I think you can do more easily in JS, and some things I
    doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?

    When you say "non-JS-programmer", are you already familiar with programming in other languages? If so, IMO learning JavaScript is not that difficult, since syntatically it's not very different from C, C++, C#, and similar languages. I'm not a big JS developer myself and got used to developing in JS, and there is fairly good documentation on Synchronet's JS object model.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From nelgin@VERT/EOTLBBS to All on Monday, July 08, 2024 20:17:42
    On Mon, 8 Jul 2024 16:13:00 -0500
    "Gamgee" (VERT/PALANTIR) <VERT/PALANTIR!Gamgee@endofthelinebbs.com>
    wrote:

    Nightfox wrote to nelgin <=-

    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to All on Mon Jul 08 2024 12:01 pm

    Might still be good to convert to JS. I bet baja is going away
    sooner or later. Doesn't make sense to keep it around with
    modern JS shells and very little, if anything, really uses it
    these days.

    Yeah, I converted my shell to JS years ago and haven't looked
    back. There are things that I think you can do more easily in
    JS, and some things I doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?

    Learn JS.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Gamgee@VERT/PALANTIR to Nightfox on Monday, July 08, 2024 21:39:00
    Nightfox wrote to Gamgee <=-

    Yeah, I converted my shell to JS years ago and haven't looked back. There
    are things that I think you can do more easily in JS, and some things I
    doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?

    When you say "non-JS-programmer", are you already familiar with programming in other languages?

    Effectively, no. I dabbled with Turbo Pascal many years ago, and have
    brushed my fingers across C more recently, but not remotely close to
    being proficient.

    If so, IMO learning JavaScript is not
    that difficult, since syntatically it's not very different from C, C++, C#, and similar languages. I'm not a big JS developer myself and got
    used to developing in JS, and there is fairly good documentation on Synchronet's JS object model.

    So, my question remains... :-)



    ... 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 Gamgee@VERT/PALANTIR to nelgin on Monday, July 08, 2024 21:43:00
    nelgin wrote to All <=-

    Might still be good to convert to JS. I bet baja is going away
    sooner or later. Doesn't make sense to keep it around with
    modern JS shells and very little, if anything, really uses it
    these days.

    Yeah, I converted my shell to JS years ago and haven't looked
    back. There are things that I think you can do more easily in
    JS, and some things I doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?

    Learn JS.

    Oh! That's all I have to do? Why didn't I think of that?

    Why are you replying to "All" instead of to me?


    ... So easy, a child could do it. Child sold separately.
    --- MultiMail/Linux v0.52
    þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From MRO@VERT/BBSESINF to nelgin on Monday, July 08, 2024 22:07:14
    Re: Re: good afternoon asking about baja and menu shells
    By: nelgin to All on Mon Jul 08 2024 08:17 pm

    JS, and some things I doubt you can do at all in Baja.

    How does a non-JS-programmer accomplish this?

    Learn JS.


    see, that's what chases off a lot of people that end up running mystic.
    there's this false idea that you need to be a programmer to run synchronet.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From nelgin@VERT/EOTLBBS to Gamgee on Monday, July 08, 2024 22:30:02
    Re: Re: good afternoon asking about baja and menu shells
    By: Gamgee to nelgin on Mon Jul 08 2024 21:43:00

    Oh! That's all I have to do? Why didn't I think of that?

    Yes, that's all. It's not difficult.

    Why are you replying to "All" instead of to me?
    Because I was probably using claws-mail which has a usenet reader but it's a bit dumb.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Nightfox@VERT/DIGDIST to Gamgee on Tuesday, July 09, 2024 10:33:30
    Re: Re: good afternoon asking about baja and menu shells
    By: Gamgee to Nightfox on Mon Jul 08 2024 09:39 pm

    When you say "non-JS-programmer", are you already familiar with
    programming in other languages?

    Effectively, no. I dabbled with Turbo Pascal many years ago, and have brushed my fingers across C more recently, but not remotely close to being proficient.

    So, my question remains... :-)

    I suppose it would be good to find a JavaScript tutorial that explains things like general syntax, control flow structures & syntax, etc. And the thing with JavaScript is that a lot of the tutorials will probably be oriented toward web programming, since JavaScript is often used in a web context, so be aware that anything referring to the DOM or other interactions with a web page won't work with Synchronet's JS. For anything outputting a string, you can use console.write() if your script is to be used while logged onto telnet, or just write() if you're running your script with jsexec on the command line.

    This is an older Synchronet documentation page about JavaScript: https://www.synchro.net/docs/js.html

    There's a link there to this core JavaScript reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

    Once you're familiar with JavaScript a bit, this is the documentation for Synchronet's JavaScript object model, which exposes the Synchronet functionality via JavaScript:
    https://www.synchro.net/docs/jsobjs.html

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to MRO on Tuesday, July 09, 2024 10:37:53
    Re: Re: good afternoon asking about baja and menu shells
    By: MRO to nelgin on Mon Jul 08 2024 10:07 pm

    Learn JS.

    see, that's what chases off a lot of people that end up running mystic. there's this false idea that you need to be a programmer to run synchronet.

    You don't *have* to learn JS, but the question from Gamgee was about how to go about converting his Baja command shell to JS, which is a task that would require some knowledge of JS.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Gamgee@VERT/PALANTIR to Nightfox on Tuesday, July 09, 2024 14:20:00
    Nightfox wrote to Gamgee <=-

    When you say "non-JS-programmer", are you already familiar with
    programming in other languages?

    Effectively, no. I dabbled with Turbo Pascal many years ago, and have brushed my fingers across C more recently, but not remotely close to being proficient.

    So, my question remains... :-)

    I suppose it would be good to find a JavaScript tutorial that explains things like general syntax, control flow structures & syntax, etc. And the thing with JavaScript is that a lot of the tutorials will probably
    be oriented toward web programming, since JavaScript is often used in a web context, so be aware that anything referring to the DOM or other interactions with a web page won't work with Synchronet's JS. For anything outputting a string, you can use console.write() if your
    script is to be used while logged onto telnet, or just write() if
    you're running your script with jsexec on the command line.

    This is an older Synchronet documentation page about JavaScript: https://www.synchro.net/docs/js.html

    There's a link there to this core JavaScript reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference

    Once you're familiar with JavaScript a bit, this is the documentation
    for Synchronet's JavaScript object model, which exposes the Synchronet functionality via JavaScript: https://www.synchro.net/docs/jsobjs.html

    That's great info, and thanks Nightfox for taking the time to post that. Saved for future reference, and greatly appreciated.



    ... 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 Accession@VERT/PHARCYDE to Gamgee on Tuesday, July 09, 2024 18:40:34
    On Tue, 9 Jul 2024 19:20:00 -0500, you wrote:

    That's great info, and thanks Nightfox for taking the time to post that. Saved for future reference, and greatly appreciated.

    Now to answer your original question, if you're currently using default.src, I do believe there's a default.js that you can just switch to now. Should be in the repo:

    // Default/Classic Synchronet Command Shell
    // replaces default.src/bin

    Then, rather than trying to completely learn javascript in order to do anything with Synchronet like some say to do, just look at some of the stock .js files, and if interested, copy one to your mods directory. Then, slowly tinker with it with easy things like bbs.menu("ansi_name_here"); to display an ansi or console.pause(); to add a pause prompt, etc. The Synchronet Javascript Object Reference page will tell you just about anything and everything you can use.

    If you mess anything up, you can simply remove the one from your mods directory, or copy the original from the exec directory to your mods directory again (overwriting whatever you broke) and start over.

    I'm still not even close to being mediocre at javascript by any means, but I can do what I need to do to make the BBS look the way I want it to.

    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 Nightfox@VERT/DIGDIST to Accession on Tuesday, July 09, 2024 17:42:26
    Re: good afternoon asking about baja and menu shells
    By: Accession to Gamgee on Tue Jul 09 2024 06:40 pm

    That's great info, and thanks Nightfox for taking the time to post that.
    Saved for future reference, and greatly appreciated.

    Now to answer your original question, if you're currently using default.src, I do believe there's a default.js that you can just switch to

    That's true, but did my reply not answer his question? 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.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Gamgee@VERT/PALANTIR to Accession on Tuesday, July 09, 2024 20:03:00
    Accession wrote to Gamgee <=-

    That's great info, and thanks Nightfox for taking the time to post that. Saved for future reference, and greatly appreciated.

    Now to answer your original question, if you're currently using default.src, I do believe there's a default.js that you can just switch
    to now. Should be in the repo:

    // Default/Classic Synchronet Command Shell
    // replaces default.src/bin

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

    Then, rather than trying to completely learn javascript in order to do anything with Synchronet like some say to do, just look at some of the stock .js files, and if interested, copy one to your mods directory.
    Then, slowly tinker with it with easy things like bbs.menu("ansi_name_here"); to display an ansi or console.pause(); to
    add a pause prompt, etc. The Synchronet Javascript Object Reference
    page will tell you just about anything and everything you can use.

    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.

    If you mess anything up, you can simply remove the one from your mods directory, or copy the original from the exec directory to your mods directory again (overwriting whatever you broke) and start over.

    I'm still not even close to being mediocre at javascript by any means,
    but I can do what I need to do to make the BBS look the way I want it
    to.

    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!



    ... 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 Accession@VERT/PHARCYDE to Nightfox on Wednesday, July 10, 2024 17:35:26
    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 Wednesday, July 10, 2024 17:39:32
    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 Wednesday, July 10, 2024 19:43:00
    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 Wednesday, July 10, 2024 18:26:11
    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 Wednesday, July 10, 2024 21:35:00
    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 Wednesday, July 10, 2024 20:04:01
    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 Thursday, July 11, 2024 20:18:18
    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 Thursday, July 11, 2024 21:53:00
    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