• Learning JS with Synchronet

    From Massacre@VERT/SILICONU to All on Thu Nov 5 15:30:59 2020
    I am looking to write some stuff for SAynchronet and have a background in C, BASIC, Python, etc. Is there a barebones "skeleton" code somewhere in Js that I could tinker with that has basic fundamentals to test/learn with?ããThank you!ãã---ã þ Synchronet þ SiliconUnderground - Rochester, NY - siliconu.comã
  • From Nightfox@VERT/DIGDIST to Massacre on Thu Nov 5 13:09:40 2020
    Re: Learning JS with Synchronetã By: Massacre to All on Thu Nov 05 2020 03:30 pmãã Ma> I am looking to write some stuff for SAynchronet and have a background inã Ma> C, BASIC, Python, etc. Is there a barebones "skeleton" code somewhere inã Ma> Js that I could tinker with that has basic fundamentals to test/learnã Ma> with? ããI don't know of a barebones sekelton JS script, but if you're already somewhat familiar with programming, you could probably look at some of the existing JS scripts for examples and look at the Synchronet JS documentation for what objects & functions are available. That's how I started writing JS scripts for Synchronet.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Digital Man@VERT to Massacre on Thu Nov 5 13:31:14 2020
    Re: Learning JS with Synchronetã By: Massacre to All on Thu Nov 05 2020 03:30 pmãã > I am looking to write some stuff for SAynchronet and have a background in C,ã > BASIC, Python, etc. Is there a barebones "skeleton" code somewhere in Jsã > that I could tinker with that has basic fundamentals to test/learn with?ããStart here:ãhttp://wiki.synchro.net/custom:javascriptã-- ã digital manããSynchronet/BBS Terminology Definition #1:ãANSI = American National Standards InstituteãNorco, CA WX: 66.0øF, 69.0% humidity, 5 mph E wind, 0.00 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Massacre@VERT/SILICONU to Digital Man on Thu Nov 5 22:16:30 2020
    Re: Learning JS with Synchronetã By: Digital Man to Massacre on Thu Nov 05 2020 01:31 pmãã > Re: Learning JS with Synchronetã > By: Massacre to All on Thu Nov 05 2020 03:30 pmã >ã > > I am looking to write some stuff for SAynchronet and have a background inã > > C, BASIC, Python, etc. Is there a barebones "skeleton" code somewhere inã > > Js that I could tinker with that has basic fundamentals to test/learnã > > with?ã >ã > Start here:ã > http://wiki.synchro.net/custom:javascriptã > --ã > digital manã >ã > Synchronet/BBS Terminology Definition #1:ã > ANSI = American National Standards Instituteã > Norco, CA WX: 66.0øF, 69.0% humidity, 5 mph E wind, 0.00 inches rain/24hrsã >ãI will take a look. Thank you!!ãã---ã þ Synchronet þ SiliconUnderground - Rochester, NY - siliconu.comã
  • From Massacre@VERT/SILICONU to Nightfox on Thu Nov 5 22:16:54 2020
    Re: Learning JS with Synchronetã By: Nightfox to Massacre on Thu Nov 05 2020 01:09 pmãã > Re: Learning JS with Synchronetã > By: Massacre to All on Thu Nov 05 2020 03:30 pmã >ã > Ma> I am looking to write some stuff for SAynchronet and have a backgroundã > Ma> in C, BASIC, Python, etc. Is there a barebones "skeleton" codeã > Ma> somewhere in Js that I could tinker with that has basic fundamentals toã > Ma> test/learn with?ã >ã > I don't know of a barebones sekelton JS script, but if you're alreadyã > somewhat familiar with programming, you could probably look at some of theã > existing JS scripts for examples and look at the Synchronet JS documentationã > for what objects & functions are available. That's how I started writing JSã > scripts for Synchronet.ã >ã > Nightfoxã >ãThank you!ãã---ã þ Synchronet þ SiliconUnderground - Rochester, NY - siliconu.comã
  • From Bob Roberts@VERT/HOVAL to Nightfox on Fri Nov 6 09:55:39 2020
    Re: Learning JS with Synchronetã By: Nightfox to Massacre on Thu Nov 05 2020 01:09 pmããHi Nightfox,ããI'm using DDMsgReader, DDMsgAreaChooser on my Synchronet, and I really like them. I had a feature request for DDMsgReader. ããWould it be possible allow different text colors to be set for Quotes, Message Text, Kludge, and Orgin lines? I'd like to be able to color the quoted text differently from the message text, and also the Kludge line and orgin lines seperately as well. Sort of like how Mystic does it. I poked around in the themeconfig, but it doesn't seem to be supported currently.ããI'm using 1.144 2020/07/11.ãã|01bobbobbobbob|09bob|03bob|11bob|03bob|09bob|01bobbobbobã|01robrobrobrob|09rob|03rob|11rob|03rob|09rob|01robrobrobã|07ãã---ã þ Synchronet þ Halls of Valhalla <> San Francisco <> hovalbbs.comã
  • From Nightfox@VERT/DIGDIST to Bob Roberts on Fri Nov 6 13:23:20 2020
    Re: DDMsgReader Feature Requestã By: Bob Roberts to Nightfox on Fri Nov 06 2020 09:55 amãã BR> I'm using DDMsgReader, DDMsgAreaChooser on my Synchronet, and I reallyã BR> like them. I had a feature request for DDMsgReader. ãã BR> Would it be possible allow different text colors to be set for Quotes,ã BR> Message Text, Kludge, and Orgin lines? I'd like to be able to color theã BR> quoted text differently from the message text, and also the Kludge lineã BR> and orgin lines seperately as well. Sort of like how Mystic does it. Iã BR> poked around in the themeconfig, but it doesn't seem to be supportedã BR> currently. ããIt might be doable.ããNightfoxãã---ã þ Synchronet þ Digital Distortion: digitaldistortionbbs.comã
  • From Tracker1@VERT/TRN to Massacre on Fri Nov 6 13:01:51 2020
    On 11/5/2020 1:30 PM, Massacre wrote:
    I am looking to write some stuff for SAynchronet and have a
    background in C, BASIC, Python, etc. Is there a barebones
    "skeleton" code somewhere in Js that I could tinker with that
    has basic fundamentals to test/learn with?

    Would keep the Synchronet JavaScript Object Model reference bookmarked.

    http://www.synchro.net/docs/jsobjs.html

    Most of that is pretty easy to understand... would look in the various
    JS files in exec/load etc.... anything you edit, just put in an
    sbbs/mods/ directory, which will load in practice ahead of the exec paths.

    For general JavaScript, would take a look at Eloquent JavaScript.

    https://eloquentjavascript.net/

    I wouldn't consider the modules section much, as Synchronet doesn't
    follow either CommonJS or ESM modules, it predates them both. The Asynchronous programming part also doesn't apply to Synchronet.

    Synchronet uses, iirc, SpiderMonkey 1.8.5 engine, which should be all of
    ES5 (2009), with a couple bits from ES6/ES2015 that were in development
    (very little)... so you may come across unsupported methods or syntax in practice looking at other JS code.

    --
    Michael J. Ryan
    tracker1 +o Roughneck BBS
    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
  • From Massacre@VERT/SILICONU to Tracker1 on Fri Nov 13 03:39:44 2020
    Re: Re: Learning JS with Synchronetã By: Tracker1 to Massacre on Fri Nov 06 2020 01:01 pmãã > On 11/5/2020 1:30 PM, Massacre wrote:ã > > I am looking to write some stuff for SAynchronet and have aã > > background in C, BASIC, Python, etc. Is there a barebonesã > > "skeleton" code somewhere in Js that I could tinker with thatã > > has basic fundamentals to test/learn with?ã >ã > Would keep the Synchronet JavaScript Object Model reference bookmarked.ã >ã > http://www.synchro.net/docs/jsobjs.htmlã >ã > Most of that is pretty easy to understand... would look in the variousã > JS files in exec/load etc.... anything you edit, just put in anã > sbbs/mods/ directory, which will load in practice ahead of the exec paths.ã >ã > For general JavaScript, would take a look at Eloquent JavaScript.ã >ã > https://eloquentjavascript.net/ã >ã > I wouldn't consider the modules section much, as Synchronet doesn'tã > follow either CommonJS or ESM modules, it predates them both. Theã > Asynchronous programming part also doesn't apply to Synchronet.ã >ã > Synchronet uses, iirc, SpiderMonkey 1.8.5 engine, which should be all ofã > ES5 (2009), with a couple bits from ES6/ES2015 that were in developmentã > (very little)... so you may come across unsupported methods or syntax inã > practice looking at other JS code.ã >ã > --ã > Michael J. Ryanã > tracker1 +o Roughneck BBSã >ãThank you! I will take a look and dig in.ãã---ã þ Synchronet þ SiliconUnderground - Rochester, NY - siliconu.comã