• Remote sysop paging dev questions

    From Razor@VERT/SILENT to All on Friday, May 11, 2018 21:31:48
    Hi all. This isn't necessarily exclusively a JavaScript question, but it will at least partially involve JavaScript.
    I previously wrote a remote sysop pager notification system & I think it should be updated. It originally consisted of a JavaScript that would send a notification to Growl on a Windows system. Growl for Windows is no longer being developed, so I feel I should at least update it to send the notification to Snarl.
    I wanted to gauge how everyone felt about this sort of "collection of tools working together" type of mentality before I start working on it, though. Is this ok, or would more sysops prefer a regular "Windows app" with an installer? Part of the thinking with using Snarl or some other true "notification" app, is that it already has built-in support for multiple notification options, including forwarding them to a smart phone. It's highly unlikely that I could support my own notification system that would provide as many options.

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From echicken@VERT/ECBBS to Razor on Saturday, May 12, 2018 02:06:56
    Re: Remote sysop paging dev questions
    By: Razor to All on Fri May 11 2018 21:31:48

    I wanted to gauge how everyone felt about this sort of "collection of tools working together" type of mentality before I start working on it,

    I prefer to go with fewer external dependencies when possible, but sometimes you can't really get around it. Whatever works for you.

    with an installer? Part of the thinking with using Snarl or some other true "notification" app, is that it already has built-in support for multiple notification options, including forwarding them to a smart phone. It's highly unlikely that I could support my own notification system that would provide as many options.

    I did some (not BBS related) stuff with Growl some years ago; it was handy and easy enough. If it does what you need it to do, there's no need to roll your own. I can't remember if it (or its presumed successor, "Snarl") lets you add buttons to a notification; would be nice if you could trigger something that pulls the user into chat when the sysop accepts the page.

    FWIW I made a chat pager thing, but at present it's only really useful if you're normally on IRC. This is in Synchronet's CVS repository, at 'xtrn/chat_pager/'. Let your IRC client send you the notification; tell the IRC bot to answer the page, and it will pull the user into your channel via the BBS' IRC client. This has the benefit of letting you respond to a page from any device, rather than using the built-in sysop chat thing on the machine that's hosting the BBS.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Al@VERT/TRMB to Razor on Friday, May 11, 2018 23:40:59
    Re: Remote sysop paging dev questions
    By: Razor to All on Fri May 11 2018 09:31 pm

    I wanted to gauge how everyone felt about this sort of "collection of tools working together" type of mentality before I start working on it, though.

    By all means use existing tools whenever possible.

    My $0.02.

    Ttyl :-),
    Al


    ... Money isn't everything, usually it isn't even enough.

    ---
    þ Synchronet þ The Rusty MailBox - Penticton, BC Canada
  • From Razor@VERT/SILENT to echicken on Saturday, May 12, 2018 12:48:40
    Re: Remote sysop paging dev questions
    By: echicken to Razor on Sat May 12 2018 02:06 am

    lets you add buttons to a notification; would be nice if you could trigger something that pulls the user into chat when the sysop accepts the page.

    I seem to recall Growl being able to do this, but I don't remember if Snarl can. I'll have to find out.

    FWIW I made a chat pager thing, but at present it's only really useful if you're normally on IRC. This is in Synchronet's CVS repository, at 'xtrn/chat_pager/'. Let your IRC client send you the notification; tell the IRC bot to answer the page, and it will pull the user into your channel via the BBS' IRC client. This has the benefit of letting you respond to a page from any device, rather than using the built-in sysop chat thing on the machine that's hosting the BBS.

    That sounds pretty cool. I'll check it out.

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Sunday, May 13, 2018 18:53:00
    Razor wrote to All <=-

    @VIA: VERT/SILENT
    Hi all. This isn't necessarily exclusively a JavaScript question, but
    it will at least partially involve JavaScript.
    I previously wrote a remote sysop pager notification system & I think
    it should be updated. It originally consisted of a JavaScript that

    Remote sysop paging would be nice, but I also need remote chat, because my boards run headless. I'm guessing that means a dedicated app. Paging is useless to me without chat as well.


    ... "640K of RAM should be enough for anybody." -- Bill Gates
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Nightfox@VERT/DIGDIST to Razor on Monday, May 14, 2018 12:51:50
    Re: Remote sysop paging dev questions
    By: Razor to All on Fri May 11 2018 09:31 pm

    I previously wrote a remote sysop pager notification system & I think it should be updated. It originally consisted of a JavaScript that would send a notification to Growl on a Windows system. Growl for Windows is no longer being developed, so I feel I should at least update it to send the notification to Snarl.
    I wanted to gauge how everyone felt about this sort of "collection of tools working together" type of mentality before I start working on it, though. Is this ok, or would more sysops prefer a regular "Windows app" with an installer? Part of the thinking with using Snarl or some other true "notification" app, is that it already has built-in support for multiple notification options, including forwarding them to a smart phone. It's highly unlikely that I could support my own notification system that would provide as many options.

    Using a standard notification system is probably a good way to go.. One time I wrote my own remote pager tool that I wrote as a C++ app that would connect to itself running in server mode on my main PC, but the problem with that was that if my main PC was turned off, the pager on the BBS would take longer because it would fail to connect and then time out. I'm not sure if Growl/Snarl has the same issue (I suspect it doesn't, but that's just my guess, as I haven't used Growl or Snarl).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Vk3jed on Monday, May 14, 2018 12:54:04
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Sun May 13 2018 06:53 pm

    Remote sysop paging would be nice, but I also need remote chat, because my boards run headless. I'm guessing that means a dedicated app. Paging is useless to me without chat as well.

    What about remote desktop? My BBS PC has a monitor, but usually I leave its monitor turned off, and when I'm on my main PC, I'll remote desktop into my BBS machine. Usually I use VNC for that (although my BBS machine runs Windows and I could use Windows Remote Desktop if I wanted to).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Vk3jed@VERT/FREEWAY to Nightfox on Tuesday, May 15, 2018 08:32:00
    Nightfox wrote to Vk3jed <=-

    What about remote desktop? My BBS PC has a monitor, but usually I
    leave its monitor turned off, and when I'm on my main PC, I'll remote desktop into my BBS machine. Usually I use VNC for that (although my
    BBS machine runs Windows and I could use Windows Remote Desktop if I wanted to).

    Lack of notifications, and it's a context switch (for me, not the PC) to respond to a notification that way. Not a good solution.


    ... Daddy, what does "now formatting drive C:" mean?
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Vk3jed on Monday, May 14, 2018 20:58:16
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Sun May 13 2018 06:53 pm

    Remote sysop paging would be nice, but I also need remote chat, because my boards run headless. I'm guessing that means a dedicated app. Paging is useless to me without chat as well.

    I'm not sure a decent solution exists for remote chat with your preferences. I have a couple questions about this.
    1. What OS & version is your board running on?
    2. What OS & version are you sitting in front of?
    3. It sounds like you're hoping for remote chat that works automatically with 1-2 clicks?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Tuesday, May 15, 2018 20:30:00
    Razor wrote to Vk3jed <=-

    I'm not sure a decent solution exists for remote chat with your preferences. I have a couple questions about this.
    1. What OS & version is your board running on?

    Raspian Wheezy

    2. What OS & version are you sitting in front of?

    Windows 7 (primary), Linux Mint 18.2 (secondary)

    3. It sounds like you're hoping for remote chat that works
    automatically with 1-2 clicks?

    Yep, ADHD requires things kept simple. :)


    ... Husbands are like fires. They go out if unattended
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Vk3jed on Wednesday, May 16, 2018 21:14:39
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Tue May 15 2018 08:30 pm

    2. What OS & version are you sitting in front of?
    Windows 7 (primary), Linux Mint 18.2 (secondary)
    3. It sounds like you're hoping for remote chat that works
    automatically with 1-2 clicks?
    Yep, ADHD requires things kept simple. :)

    Do you use, or would you be willing to use SyncTerm on either/both of your client systems?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Thursday, May 17, 2018 20:19:00
    Razor wrote to Vk3jed <=-

    Do you use, or would you be willing to use SyncTerm on either/both of
    your client systems?

    I do, but that's an already open window that's usually hidden (and I don't have speakers). :)


    ... Does killing time harm eternity?
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Vk3jed on Tuesday, June 05, 2018 18:33:15
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Thu May 17 2018 08:19 pm

    I do, but that's an already open window that's usually hidden (and I don't have speakers). :)

    You're not going to make this easy for me, are you? Haha, :P
    So you need to have visual paging options, got it.

    Do you have, or would you be willing to set up, a file share that all 3 of these systems can see & make changes to?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Razor@VERT/SILENT to Vk3jed on Tuesday, June 05, 2018 20:52:27
    Re: Re: Remote sysop paging dev questions
    By: Razor to Vk3jed on Tue Jun 05 2018 06:33 pm

    You're not going to make this easy for me, are you? Haha, :P
    So you need to have visual paging options, got it.
    Do you have, or would you be willing to set up, a file share that all 3 of these systems can see & make changes to?

    Oh & are you running Synchronet 3.17?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Thursday, June 07, 2018 08:23:00
    Razor wrote to Vk3jed <=-

    You're not going to make this easy for me, are you? Haha, :P
    So you need to have visual paging options, got it.

    Nope. :P

    Do you have, or would you be willing to set up, a file share that all 3
    of these systems can see & make changes to?

    No, too prone to breaking, have to rely on multiple vendor implementations of the protocol (presumably SMB/CIFS) reconnecting properly if there's an outage (a machine acting as a "server" rebooting, for instance).


    ... "Hello, World!" 17 Errors, 31 Warnings....
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Vk3jed@VERT/FREEWAY to Razor on Thursday, June 07, 2018 08:23:00
    Razor wrote to Vk3jed <=-

    Oh & are you running Synchronet 3.17?

    Yes. :)


    ... The Rat Race...win or lose, your still a rat!
    --- MultiMail/Win32 v0.49
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Digital Man on Thursday, June 07, 2018 19:46:20
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Thu Jun 07 2018 08:23 am

    Hey Digital Man,
    Is there any way currently to access sysop chat via JS?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Digital Man@VERT to Razor on Thursday, June 07, 2018 23:29:04
    Re: Re: Remote sysop paging dev questions
    By: Razor to Digital Man on Thu Jun 07 2018 07:46 pm

    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Thu Jun 07 2018 08:23 am

    Hey Digital Man,
    Is there any way currently to access sysop chat via JS?

    I guess it depends on what you mean by "access". You can initiate a local/sysop chat using the bbs.private_chat(true) function call.

    And there's a proof-of-concept private/sysop chat implemented in JS here: http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/privchat.js

    digital man

    This Is Spinal Tap quote #34:
    We'd love to stand around and chat, but we've gotta sit down in the lobby Norco, CA WX: 62.5øF, 75.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Razor@VERT/SILENT to Digital Man on Sunday, June 10, 2018 14:28:15
    Re: Re: Remote sysop paging dev questions
    By: Digital Man to Razor on Thu Jun 07 2018 11:29 pm

    I guess it depends on what you mean by "access". You can initiate a local/sysop chat using the bbs.private_chat(true) function call.
    And there's a proof-of-concept private/sysop chat implemented in JS here:

    I'm trying to figure out the best way to have a sysop chat that can be done within an app that connects to the BBS computer over TCP/IP. I think I'm going to be doing this with wxPython & I need it to support at least Windows & Linux for both the client side & server side, in any configuration of the 2 (Windows->Windows, Linux->Linux, Windows->Linux, Linux->Windows).

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Digital Man@VERT to Razor on Sunday, June 10, 2018 14:57:17
    Re: Re: Remote sysop paging dev questions
    By: Razor to Digital Man on Sun Jun 10 2018 02:28 pm

    Re: Re: Remote sysop paging dev questions
    By: Digital Man to Razor on Thu Jun 07 2018 11:29 pm

    I guess it depends on what you mean by "access". You can initiate a local/sysop chat using the bbs.private_chat(true) function call.
    And there's a proof-of-concept private/sysop chat implemented in JS here:

    I'm trying to figure out the best way to have a sysop chat that can be done within an app that connects to the BBS computer over TCP/IP. I think I'm going to be doing this with wxPython & I need it to support at least Windows & Linux for both the client side & server side, in any configuration of the 2 (Windows->Windows, Linux->Linux, Windows->Linux, Linux->Windows).

    Sounds doable.

    digital man

    Synchronet "Real Fact" #96:
    Synchronet v3.13a was released in September of 2005 (9 months after v3.12a). Norco, CA WX: 85.8øF, 35.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Razor@VERT/SILENT to Digital Man on Sunday, June 10, 2018 15:17:14
    Re: Re: Remote sysop paging dev questions
    By: Razor to Digital Man on Sun Jun 10 2018 02:28 pm

    I'm trying to figure out the best way to have a sysop chat that can be done within an app that connects to the BBS computer over TCP/IP. I think I'm going to be doing this with wxPython & I need it to support at least Windows & Linux for both the client side & server side, in any configuration of the 2 (Windows->Windows, Linux->Linux, Windows->Linux, Linux->Windows).

    It just occurred to me that the server side of this should probably be a Synchronet service & should be done in JS. Is there documentation on how to create a new service?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Digital Man@VERT to Razor on Sunday, June 10, 2018 18:08:33
    Re: Re: Remote sysop paging dev questions
    By: Razor to Digital Man on Sun Jun 10 2018 03:17 pm

    Re: Re: Remote sysop paging dev questions
    By: Razor to Digital Man on Sun Jun 10 2018 02:28 pm

    I'm trying to figure out the best way to have a sysop chat that can be done within an app that connects to the BBS computer over TCP/IP. I think I'm going to be doing this with wxPython & I need it to support at least Windows & Linux for both the client side & server side, in any configuration of the 2 (Windows->Windows, Linux->Linux, Windows->Linux, Linux->Windows).

    It just occurred to me that the server side of this should probably be a Synchronet service & should be done in JS. Is there documentation on how to create a new service?

    The exec/*service.js files provide working examples of normal JS services.

    If you want to create a static service (one that runs continuously and handles its own incoming connections and servicing of concurrent clients), there's exec/example/staticservice.js as well.

    digital man

    Synchronet/BBS Terminology Definition #8:
    BSO = Binkley Style Outbound
    Norco, CA WX: 77.5øF, 45.0% humidity, 17 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Razor@VERT/SILENT to Vk3jed on Saturday, June 23, 2018 22:39:20
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Thu Jun 07 2018 08:23 am

    Vk3jed,
    What did you have in mind for visual page notifications? Are you picturing the built-in notification system of each OS, or something more? If more, would you mind describing it?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Sunday, June 24, 2018 19:00:00
    On 06-23-18 22:39, Razor wrote to Vk3jed <=-

    @VIA: VERT/SILENT
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Thu Jun 07 2018 08:23 am

    Vk3jed,
    What did you have in mind for visual page notifications? Are you picturing the built-in notification system of each OS, or something
    more? If more, would you mind describing it?

    At the least, flashing the window in the taskbar


    ... One fifth of the people are against everything all the time.
    --- MultiMail/Win v0.51
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Vk3jed on Sunday, June 24, 2018 11:49:53
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Sun Jun 24 2018 07:00 pm

    What did you have in mind for visual page notifications? Are you
    At the least, flashing the window in the taskbar

    What Desktop Environment are you using on your Linux system?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Monday, June 25, 2018 07:56:00
    On 06-24-18 11:49, Razor wrote to Vk3jed <=-

    What Desktop Environment are you using on your Linux system?

    Cinnamon on Linux Mint.


    ... Feel lucky???? Update your software!
    --- MultiMail/Win v0.51
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Nightfox@VERT/DIGDIST to Vk3jed on Sunday, June 24, 2018 22:19:42
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Mon Jun 25 2018 07:56 am

    What Desktop Environment are you using on your Linux system?

    Cinnamon on Linux Mint.

    I like that one too. Linux Mint with Cinnamon is currently my favorite Linux distro (or at least one of my favorite distros).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Vk3jed@VERT/FREEWAY to Nightfox on Monday, June 25, 2018 19:47:00
    On 06-24-18 22:19, Nightfox wrote to Vk3jed <=-

    I like that one too. Linux Mint with Cinnamon is currently my favorite Linux distro (or at least one of my favorite distros).

    I like it as well, nice distro and desktop environment. :) First GUI distro I've used for years. I normally use Linux on servers without a GUI. :)


    ... My computer never locks u
    --- MultiMail/Win v0.51
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From djatropine@VERT/LIQDREAM to Vk3jed on Monday, July 16, 2018 01:40:23
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Nightfox on Mon Jun 25 2018 07:47 pm

    ---
    þ Synchronet þ Sent From Liquid Dreamz BBS
  • From Vk3jed@VERT/FREEWAY to djatropine on Tuesday, July 17, 2018 07:05:00
    On 07-16-18 01:40, djatropine wrote to Vk3jed <=-

    @VIA: VERT/LIQDREAM
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Nightfox on Mon Jun 25 2018 07:47 pm

    ---
    þ Synchronet þ Sent From Liquid Dreamz BBS


    Umm, you were going to say something? :)


    ... A bird in the hand's better than one overhead.
    --- MultiMail/Win v0.51
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Razor@VERT/SILENT to Vk3jed on Sunday, August 19, 2018 21:48:54
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Mon Jun 25 2018 07:56 am

    Hi Vk3jed. I have released the initial version of my remote sysop pager. Remote sysop chat is coming soon. Please see my message on Synchronet Sysops for specifics.

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Vk3jed@VERT/FREEWAY to Razor on Monday, August 20, 2018 21:02:00
    On 08-19-18 21:48, Razor wrote to Vk3jed <=-

    @VIA: VERT/SILENT
    Re: Re: Remote sysop paging dev questions
    By: Vk3jed to Razor on Mon Jun 25 2018 07:56 am

    Hi Vk3jed. I have released the initial version of my remote sysop
    pager. Remote sysop chat is coming soon. Please see my message on Synchronet Sysops for specifics.

    Thanks, will check it out. :)

    And yes, I've installed it, need to do a bit of troubleshooting. :)


    ... The only thing wrong with immortality is that it tends to go on forever. --- MultiMail/Win v0.51
    þ Synchronet þ Freeway BBS, Bendigo Australia. freeway.apana.org.au
  • From Ragnarok@VERT/DOCKSUD to Razor on Monday, August 27, 2018 11:43:09
    El 10/06/18 a las 18:28, Razor escribió:
    Re: Re: Remote sysop paging dev questions
    By: Digital Man to Razor on Thu Jun 07 2018 11:29 pm

    I guess it depends on what you mean by "access". You can initiate a local/sysop chat using the bbs.private_chat(true) function call.
    And there's a proof-of-concept private/sysop chat implemented in JS here:

    I'm trying to figure out the best way to have a sysop chat that can be done within an app that connects to the BBS computer over TCP/IP. I think I'm going
    to be doing this with wxPython & I need it to support at least Windows & Linux
    for both the client side & server side, in any configuration of the 2 (Windows->Windows, Linux->Linux, Windows->Linux, Linux->Windows).

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com


    i like a sysop chat than page via jabber/xmmp

    =)

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Razor@VERT/SILENT to Ragnarok on Tuesday, August 28, 2018 06:40:38
    Re: Re: Remote sysop paging dev questions
    By: Ragnarok to Razor on Mon Aug 27 2018 11:43 am

    i like a sysop chat than page via jabber/xmmp

    This is an interesting idea. So that I better understand how this might work, what jabber client are you using & what platform are you running it on?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com
  • From Ragnarok@VERT/DOCKSUD to Razor on Friday, September 07, 2018 19:21:28
    El 28/08/18 a las 10:40, Razor escribió:
    Re: Re: Remote sysop paging dev questions
    By: Ragnarok to Razor on Mon Aug 27 2018 11:43 am

    i like a sysop chat than page via jabber/xmmp

    This is an interesting idea. So that I better understand how this might work,
    what jabber client are you using & what platform are you running it on?

    ---
    þ Synchronet þ The Silent Strike - bbs.thesilentstrike.com

    i use pidgin as client and prosody as server.

    i search for javascript xmmp libraries but all are implement for web
    browsers. I can not find one for use in sync js engine.

    my idea es very simple
    when the user login to the bbs. run the "jabber sysop client magic
    module" and it can call to sysop. the door connecct to the "python
    daemon" and send message to sysop link
    "Pirulo is paging you"


    then sysop reply "/OK" or /IM_SLEEPING in the client and the message go
    to the daemon. if the message are OK, it activate the comuncation betwen
    both endpoints (some simple chat interface like readline or better
    splited screen...

    due the xmmp limitation i thinking in python or node daemon that act as
    xmmp client and interface with the bbs door.
    and the bbs can comunicate to the daemon, via pipes, tcp sockets..or
    inclusive flat files.. and can be work on DOS to..
    i dont know..i just an idea..

    https://imagebin.ca/v/4EvV7XOKBfFl

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From echicken@VERT/ECBBS to Ragnarok on Friday, September 07, 2018 19:24:01
    Re: Re: Remote sysop paging dev questions
    By: Ragnarok to Razor on Fri Sep 07 2018 19:21:28

    i search for javascript xmmp libraries but all are implement for web browsers. I can not find one for use in sync js engine.

    With some exceptions (implementations of algorithms, etc.) it's hard to find existing JS libraries that are *easily* adapted for use with Synchronet. The more complex it gets, the more you're cannibalizing a few functions and rewriting socket, fs, etc. stuff for this environment.

    XMPP being what it is, you'd either need to find a library that uses E4X (the XML parser/handler available to us) or bring in a new XML parser.

    Not sure how many people are using XMPP these days (could be lots for all I know). I killed my Jabber server at work a couple of years ago in favour of other chat tools, so I no longer have an XMPP client running all the time. I do my paging/sysop chat over IRC since I do have a client open for that.

    my idea es very simple
    when the user login to the bbs. run the "jabber sysop client magic
    module" and it can call to sysop. the door connecct to the "python
    daemon" and send message to sysop link
    "Pirulo is paging you"

    If the intent is only to page via XMPP there may be simpler ways to do it than implementing the whole protocol:

    1) A JS module that does just enough XMPP to connect to a server, authenticate, and send a message

    2) Use an XMPP server that offers some hooks for external messages (has a web API or something that clients can send messages through)

    3) Run an XMPP bot external to your BBS, but build something into it that a script from your BBS can communicate with (some simple socket service, a web API, whatever); there are plenty of bot libraries kicking around

    Options 2 & 3 are probably easiest overall, option 3 being the most likely.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com