• External Programs, Inject Environment Variables

    From Michael J. Ryan@1:103/705 to GitLab issue in main/sbbs on Wed Jul 6 17:05:52 2022
    open https://gitlab.synchro.net/main/sbbs/-/issues/420

    Would be nice if SCFG had the option to specify Environment Variables to add/inject for an External Program.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael J. Ryan@1:103/705 to GitLab note in main/sbbs on Wed Jul 6 17:06:37 2022
    https://gitlab.synchro.net/main/sbbs/-/issues/420#note_2682

    Related: not sure if the JSDOM supports reading environment variables... not the same thing or issue, but could help when creating platform mods.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Michael J. Ryan on Thu Jul 7 09:03:12 2022
    Re: External Programs, Inject Environment Variables
    By: Michael J. Ryan to GitLab issue in main/sbbs on Wed Jul 06 2022 05:05 pm

    Would be nice if SCFG had the option to specify Environment Variables to add/inject for an External Program.

    As a workaround, I'd think you could write a shell script (for *nix) or a batch file (for Windows or DOS doors) that would set the environment variables you want and then run the program.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Nightfox on Mon Jul 11 17:17:15 2022
    On 7/7/22 09:03, Nightfox wrote:
    Would be nice if SCFG had the option to specify Environment Variables
    to add/inject for an External Program.

    As a workaround, I'd think you could write a shell script (for *nix)
    or a batch file (for Windows or DOS doors) that would set the
    environment variables you want and then run the program.

    Yeah, could do that... but generally not fond of doing so... at that
    point, I could just as easily support command line arguments, or for
    that matter load a .env file from the application and parent hierarchy.

    Working on a couple utils, that may be done sometime this century... One
    is for SMS 2FA, and another for a separate bbs door server client
    TLS+RLogin (similar to Synchronet's Door selection for RLogin), and
    translate CP437<->UTF8.

    On the BBS 2FA, probably a Twilio version, and a version using a 4g/LTE
    modem. I'm hoping to source a cheap wireless provider for the modem,
    which I got in last week. If that works, may set it up as a service on BBS.land.

    Plans...

    1. Twilio-2FA (Just activated account, probably have it on roughneckbbs
    by end of month)
    2. BBS Door Server & Client
    3. Move DynDNS for bbs.io, and add a couple other domains as options.
    4. LTE Modem 2FA, support for other BBSes.
    5. Web Client for Door Server.
    6. Forums
    7. Chat/Video (WebRTC)

    And somewhere in there, fix the Synchronet Docker builds/events... may
    have to drop the arm32 builds nearer term. Wanting to get a
    debian(default) and debian-slim(-slim) and alpine version up, and my
    scripts I'm working on (Deno based) aren't really supported at all on
    arm32 currently. Figured out how to get glib inserted into alpine, so I
    can use deno there (amd43, arm64 only).
    --
    Michael J. Ryan - tracker1@roughneckbbs.com
    ---
    ï¿­ Synchronet ï¿­ Roughneck BBS - roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)