• Door Dev for a .NET Guy

    From Sunspoticus@1:103/705 to All on Tue Jun 25 05:05:51 2019
    So, any way to leverage .net for door/external program creation? I mean its unlikely I'll return to Turbo Pascal and I'm not a huge fan of JavaScript. Just kicking around a few ideas.

    Thanks,
    Steve

    ---
    ■ Synchronet ■ MasterCom BBS - masterco.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Sunspoticus on Tue Jun 25 11:59:06 2019

    On 2019 Jun 25 05:05:50, you wrote to All:

    So, any way to leverage .net for door/external program creation?

    why?? sure, you could but really, why?

    I mean its unlikely I'll return to Turbo Pascal

    there's always free pascal ;) i certainly wouldn't go back to 16bit TP/BP... expecially in this day in age of cross-platform capabilities...

    and I'm not a huge fan of JavaScript. Just kicking around a few ideas.

    with synchronet, you can write doors in bash script or similar... no huge library of stuff needed and certainly nothing needed for serial comms... everything is stdin, stdout, and stderr...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We don't need no stinkin' patches!
    ---
    * Origin: (1:3634/12.73)
  • From Nightfox@1:103/705 to Sunspoticus on Tue Jun 25 09:27:28 2019
    Re: Door Dev for a .NET Guy
    By: Sunspoticus to All on Tue Jun 25 2019 05:05 am

    So, any way to leverage .net for door/external program creation? I mean its unlikely I'll return to Turbo Pascal and I'm not a huge fan of JavaScript. Just kicking around a few ideas.

    One time I tried to write a C# wrapper for the OpenDoors toolkit.. I didn't get very far, but I wondered if that might work.

    It's good to be open to other languages though. I originally wasn't a huge fan of JavaScript, but I figured it wouldn't hurt to learn it more. For BBS doors, each has their benefits & drawbacks though. One benefit of Synchronet's JavaScript is that your JavaScript door/mod will run anywhere Synchronet runs. If you use another language, you can write the door for any BBS software, but it would need to be compiled for each OS.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to mark lewis on Tue Jun 25 12:50:00 2019
    Re: Door Dev for a .NET Guy
    By: mark lewis to Sunspoticus on Tue Jun 25 2019 11:59 am

    So, any way to leverage .net for door/external program creation?

    why?? sure, you could but really, why?

    Maybe some people just like a certain programming language or library available to it..

    with synchronet, you can write doors in bash script or similar... no huge

    That might work if you're running on Linux, but probably not on Windows.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Nightfox on Tue Jun 25 17:53:20 2019

    On 2019 Jun 25 12:50:00, you wrote to me:

    So, any way to leverage .net for door/external program creation?

    why?? sure, you could but really, why?

    Maybe some people just like a certain programming language or library available to it..

    really? -=B-)

    with synchronet, you can write doors in bash script or similar... no
    huge

    That might work if you're running on Linux, but probably not on Windows.

    never heard of powershell? not that i've tried to write any doors in it but i have written some pretty extensive scripts almost achieving what my 4DOS/4OS2/4NT scripts were doing years before ;)

    and let's not forget that winwhatever has a linux subsystem these days O:-)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Is there ever a day when mattresses are NOT on sale?
    ---
    * Origin: (1:3634/12.73)
  • From Nightfox@1:103/705 to mark lewis on Tue Jun 25 22:25:20 2019
    Re: Door Dev for a .NET Guy
    By: mark lewis to Nightfox on Tue Jun 25 2019 05:53 pm

    with synchronet, you can write doors in bash script or similar...
    no huge

    That might work if you're running on Linux, but probably not on
    Windows.

    never heard of powershell? not that i've tried to write any doors in it but i have written some pretty extensive scripts almost achieving what my 4DOS/4OS2/4NT scripts were doing years before ;)

    Ah, at first I just read the "bash script" and didn't see the "or similar". :) And I remember using 4DOS back in the day.. I didn't do much scripting with it though.

    and let's not forget that winwhatever has a linux subsystem these days O:-)

    That's true.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Vk3jed@1:103/705 to Nightfox on Wed Jun 26 18:00:00 2019
    On 06-25-19 22:25, Nightfox wrote to mark lewis <=-

    Ah, at first I just read the "bash script" and didn't see the "or similar". :) And I remember using 4DOS back in the day.. I didn't do
    much scripting with it though.

    I loved 4DOS and scripted quite a bit in it for BBSing.


    ... A new cemetery opened in town: folks are dying to enter.
    --- MultiMail/Win v0.51
    ■ Synchronet ■ Freeway BBS, Bendigo Australia. freeway.apana.org.au
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Nightfox on Wed Jun 26 07:02:18 2019

    On 2019 Jun 25 22:25:20, you wrote to me:

    never heard of powershell? not that i've tried to write any doors in
    it but i have written some pretty extensive scripts almost achieving
    what my 4DOS/4OS2/4NT scripts were doing years before ;)

    Ah, at first I just read the "bash script" and didn't see the "or similar". :) And I remember using 4DOS back in the day.. I didn't do
    much scripting with it though.

    i sure did... a quick count show 8500+ lines for the bat and cmd files just to run the BBS setup... that's not including any of the scripts to run the doors that i had on the system at that time...

    the script for scrabble was 90someodd lines... after a player exited the door, the script selected a random message template to post... it used macros to fill
    in the ""fields"" and posted the message in the BBS message base to the next player so they'd know it was their turn when they logged in ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Mental backup in progress - Do Not Disturb!
    ---
    * Origin: (1:3634/12.73)
  • From Sunspoticus@1:103/705 to Nightfox on Wed Jun 26 12:46:10 2019
    Re: Door Dev for a .NET Guy
    By: Nightfox to Sunspoticus on Tue Jun 25 2019 09:27 am

    One time I tried to write a C# wrapper for the OpenDoors toolkit.. I didn't get very far, but I wondered if that might work.


    Thats the kinda thing I was expecting someone to say.. Some sorta wrapper around x, y, or z. What happened with the effort?


    It's good to be open to other languages though. I originally wasn't a huge

    Its not that I'm "not open" to other languages, I'm just waaaaaaaaaaaaaaay more proficient with C# than I am JavaScript. In fact, I routinely use JS in the workplace, just not a huge fan.

    I was going to give the SynchroNet JS libraries a tour, but never hurts to ask.

    ---
    ■ Synchronet ■ MasterCom BBS - masterco.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Sunspoticus on Wed Jun 26 17:15:12 2019
    Re: Door Dev for a .NET Guy
    By: Sunspoticus to Nightfox on Wed Jun 26 2019 12:46 pm

    One time I tried to write a C# wrapper for the OpenDoors toolkit.. I
    didn't get very far, but I wondered if that might work.

    Thats the kinda thing I was expecting someone to say.. Some sorta wrapper around x, y, or z. What happened with the effort?

    It was years ago when I was working on it, so I don't remember all the details, but something just wasn't working.. I don't remember specifically wasn't working, but I don't think I was getting output on the terminal. I still feel like it should work though; I just didn't get very far with it, and I eventually abandoned it. I figured if I'm going to write a BBS door with a compiled language, I might as well use C++. OpenDoors is a C toolkit, so it would work pretty much directly with C++. I've actually worked with OpenDoors with C++ a bit and didn't have the problem I was having with C#.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From CYBERLORD@1:124/5017 to Sunspoticus on Mon Jul 1 22:02:34 2019
    There's several C/C++ based Door Developer kits out there some of which can
    be downloaded from:

    http://archives.thebbs.org/ra102a.htm


    And wwiv bbs has a great write up on the DOOR.SYS format:

    https://github.com/wwivbbs/wwiv/wiki/DOOR.SYS-format

    Gone are the days of having to fiddle with fossil drivers, interupts, and the like since the more commonly used boards already take care of that.

    But honestly, after getting back into developing tools for BBS's and doors for XM Core. I've found that if one just writes their door to parse the DOOR.SYS and use standard io (STDIN/STDOUT) or use ncurses then they'll have a very portable door these days.

    --- Mystic BBS v1.11 (Linux)
    * Origin: XM Core (1:124/5017)