• rlogin to menu

    From xbit@1:103/705 to Digital Man on Tue Apr 1 02:07:29 2025
    Re: rlogin to menu
    By: Digital Man to xbit on Mon Mar 31 2025 07:57 pm

    If the command to rlogin direct-to-door is "xtrn=<internal code>" does the
    command to logon to menu differ? I get a !JavaScript logon.js line 67:
    Error: Invalid external program specified if I try with xtrn= so im
    guessing yes. If anyone has the wiki link i would be greatful. thanks all.

    Set rlogin_xtrn_menu=true in the [logon] section of your ctrl/modopts.ini file and then don't pass *anything* for the Rlogin terminal value and the client will be directed to the external program menu. https://wiki.synchro.net/module:logon

    Got it, thanks. I was trying to land at a spicific sub-door menu.

    ...One time, a cobra bit Chuck Norris in the leg. After 5 days of excruciating pain, the cobra died.

    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Tue Apr 1 13:27:19 2025
    Re: rlogin to menu
    By: xbit to Digital Man on Tue Apr 01 2025 02:07 am

    Re: rlogin to menu
    By: Digital Man to xbit on Mon Mar 31 2025 07:57 pm

    If the command to rlogin direct-to-door is "xtrn=<internal code>" does the command to logon to menu differ? I get a !JavaScript logon.js line 67: Error: Invalid external program specified if I try with xtrn= so
    im guessing yes. If anyone has the wiki link i would be greatful.
    thanks all.

    Set rlogin_xtrn_menu=true in the [logon] section of your
    ctrl/modopts.ini file and then don't pass *anything* for the Rlogin terminal value and the client will be directed to the external program menu. https://wiki.synchro.net/module:logon

    Got it, thanks. I was trying to land at a spicific sub-door menu.

    Digital Man, is it possible to rlogin to an xtrn sub-menu?
    (i.e. xtrn main(option 1 in xternal menu)) Instead of loading a direct external program or going to the main xtrn_sec menu.

    Thank you for your help in advance.

    -StingRay
    StingRay

    A-Net Online BBSs
    aneto.synchro.net
    mystic-anet.online

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to xbit on Tue Apr 1 11:39:18 2025
    Re: rlogin to menu
    By: xbit to Digital Man on Tue Apr 01 2025 02:07 am

    Re: rlogin to menu
    By: Digital Man to xbit on Mon Mar 31 2025 07:57 pm

    If the command to rlogin direct-to-door is "xtrn=<internal code>" does the
    command to logon to menu differ? I get a !JavaScript logon.js line 67:
    Error: Invalid external program specified if I try with xtrn= so im
    guessing yes. If anyone has the wiki link i would be greatful. thanks all.

    Set rlogin_xtrn_menu=true in the [logon] section of your ctrl/modopts.ini file and then don't pass *anything* for the Rlogin terminal value and the client will be directed to the external program menu. https://wiki.synchro.net/module:logon

    Got it, thanks. I was trying to land at a spicific sub-door menu.

    Okay, I just added to logon.js to the ability to pass an external program *section* code via "xtrn_sec=<code>" in the RLogin terminal field. Give that a try.
    --
    digital man (rob)

    Synchronet "Real Fact" #51:
    Rob Swindell was introduced to BBSing in 1982 by his older brother, Dr. Seuss Norco, CA WX: 55.8øF, 68.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to StingRay on Tue Apr 1 11:40:10 2025
    Re: rlogin to menu
    By: StingRay to Digital Man on Tue Apr 01 2025 01:27 pm

    Re: rlogin to menu
    By: xbit to Digital Man on Tue Apr 01 2025 02:07 am

    Re: rlogin to menu
    By: Digital Man to xbit on Mon Mar 31 2025 07:57 pm

    If the command to rlogin direct-to-door is "xtrn=<internal code>" does the command to logon to menu differ? I get a !JavaScript logon.js line 67: Error: Invalid external program specified if I try with xtrn= so
    im guessing yes. If anyone has the wiki link i would be greatful. thanks all.

    Set rlogin_xtrn_menu=true in the [logon] section of your ctrl/modopts.ini file and then don't pass *anything* for the Rlogin terminal value and the client will be directed to the external program menu. https://wiki.synchro.net/module:logon

    Got it, thanks. I was trying to land at a spicific sub-door menu.

    Digital Man, is it possible to rlogin to an xtrn sub-menu?
    (i.e. xtrn main(option 1 in xternal menu)) Instead of loading a direct external program or going to the main xtrn_sec menu.

    Just added, but use the internal code for the external program section (not the number, which could be different for different users) and the syntax for the Rlogin terminal field is "xtrn_sec=<code>".
    --
    digital man (rob)

    Synchronet "Real Fact" #134:
    Synchronet Ad: You could run Synchronet or you could settle for mediocrity Norco, CA WX: 55.8øF, 68.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Tue Apr 1 15:10:11 2025
    Re: rlogin to menu
    By: Digital Man to StingRay on Tue Apr 01 2025 11:40 am

    Digital Man, is it possible to rlogin to an xtrn sub-menu?
    (i.e. xtrn main(option 1 in xternal menu)) Instead of loading a direct external program or going to the main xtrn_sec menu.

    Just added, but use the internal code for the external program section
    (not the number, which could be different for different users) and the syntax for the Rlogin terminal field is "xtrn_sec=<code>".

    DM,

    Thank you so very much!! Really appreciate you taking the time to look into this and come up with a solution so quickly!

    -StingRay
    StingRay

    A-Net Online BBSs
    aneto.synchro.net
    mystic-anet.online

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to StingRay on Tue Apr 1 18:06:13 2025
    Re: rlogin to menu
    By: StingRay to Digital Man on Tue Apr 01 2025 03:10 pm

    Just added, but use the internal code for the external program section (not the number, which could be different for different users) and the syntax for the Rlogin terminal field is "xtrn_sec=<code>".

    Thank you so very much!! Really appreciate you taking the time to look into this and come up with a solution so quickly!

    Sure. It was a pretty trivial change, but admittedly, I didn't really test it, so your feedback on how it's working (or not working) would be appreciated.
    --
    digital man (rob)

    Steven Wright quote #15:
    Depression is merely anger without enthusiasm.
    Norco, CA WX: 55.8øF, 68.0% humidity, 2 mph W wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Tue Apr 1 18:57:47 2025
    Re: rlogin to menu
    By: Digital Man to xbit on Tue Apr 01 2025 11:39 am

    Got it, thanks. I was trying to land at a spicific sub-door menu.
    Okay, I just added to logon.js to the ability to pass an external program *section* code via "xtrn_sec=<code>" in the RLogin terminal field. Give that a try.

    Amazing, thank you so much. I landed in the door menu in question! So cool. I have more testing to do but for an update, i was presented with a logon.ans, bulletins and a login mod but landed at my menu and was logged off after I [Q]uit. My command: ?rlogin x-bit.org:5130 -p -P -q -t xtrn_sec=OPMAPS

    Thank you again DM.

    ...When your work speaks for itself, don`t interrupt.

    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Wed Apr 2 06:57:41 2025
    Re: rlogin to menu
    By: Digital Man to StingRay on Tue Apr 01 2025 06:06 pm

    Sure. It was a pretty trivial change, but admittedly, I didn't really test it, so your feedback on how it's working (or not working) would be appreciated.

    I have some more testing to do. It worked, but I have a moded logon.js as I am using this on my Synchronet door game only server, not my Synchronet BBS.
    The mod I made gives the users a y/n option when you hit (q) or (enter) from the xtrn main menu. This way it asked are you sure you want to quit/log off, since by default if you hit enter or q you are exited out/logged off.

    Myself and users would hit enter accidentally and then have to log back in. The mod I added from you puts what I did in a one-time loop.
    i.e. If I select (y) to logoff, it brings me back to the xtrn menu, I can hit (q) again and when I select (y) the second time I am logged out.
    But, that has to do with what I did.

    When I figure out (as I am very newb with JavaScript) what I need to do on my end, I will give you a full run-down in explanation. I believe xbit has some more testing to do as well. But, you gave us a great starting point which we could not fugure out beforehand.

    Thank you,

    StingRay
    StingRay

    A-Net Online BBSs
    aneto.synchro.net
    mystic-anet.online

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Wed Apr 2 08:29:32 2025
    Re: rlogin to menu
    By: Digital Man to StingRay on Tue Apr 01 2025 06:06 pm

    Just added, but use the internal code for the external program section
    (not the number, which could be different for different users) and the
    syntax for the Rlogin terminal field is "xtrn_sec=<code>".

    Sure. It was a pretty trivial change, but admittedly, I didn't really test it, so your feedback on how it's working (or not working) would be appreciated.

    After some time reviewing and as i posted it works great. Callers will enter the door menu if xtrn_sec=<internal code> is used.

    Testing did show that a number of items where shown in the process like logon.ans, bulletins, execute on even (i use for oneliners), etc. The command i use for the connecting side is:
    ?rlogin domain:port -p -P -q -t xtrn_sec=<internal code of menu>

    Any think i can check or something i'm doing wrong to bypass the login items?

    Again, thank you DM. Pretty amazing updates.

    ...You! What PLANET is this? McCoy, stardate 3134.0.

    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to StingRay on Wed Apr 2 19:07:29 2025
    Re: rlogin to menu
    By: StingRay to Digital Man on Wed Apr 02 2025 06:57 am

    Re: rlogin to menu
    By: Digital Man to StingRay on Tue Apr 01 2025 06:06 pm

    Sure. It was a pretty trivial change, but admittedly, I didn't really test it, so your feedback on how it's working (or not working) would be appreciated.

    I have some more testing to do. It worked, but I have a moded logon.js as I am using this on my Synchronet door game only server, not my Synchronet BBS. The mod I made gives the users a y/n option when you hit (q) or (enter) from the xtrn main menu. This way it asked are you sure you want to quit/log off, since by default if you hit enter or q you are exited out/logged off.

    Myself and users would hit enter accidentally and then have to log back in. The mod I added from you puts what I did in a one-time loop.
    i.e. If I select (y) to logoff, it brings me back to the xtrn menu, I can hit (q) again and when I select (y) the second time I am logged out.
    But, that has to do with what I did.

    When I figure out (as I am very newb with JavaScript) what I need to do on my end, I will give you a full run-down in explanation. I believe xbit has some more testing to do as well. But, you gave us a great starting point which we could not fugure out beforehand.

    I just added an option you can enable to add a prompt for log-off, if you want to use that:
    https://gitlab.synchro.net/main/sbbs/-/compare/d8a5f808e0c7755bc22aba
    --
    digital man (rob)

    Sling Blade quote #5:
    Karl Childers (to father): You ought not killed my little brother...
    Norco, CA WX: 55.1øF, 47.0% humidity, 8 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to xbit on Wed Apr 2 19:09:57 2025
    Re: rlogin to menu
    By: xbit to Digital Man on Wed Apr 02 2025 08:29 am

    Any think i can check or something i'm doing wrong to bypass the login items?

    You weren't doing anything wrong, that's just how that option has always worked. I did just commit an option you can enable in your modopts.ini file however: set 'rlogin_xtrn_logon = false' in the [logon] section of your ctrl/modopts.ini file (after updating logon.js to the latest).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #70:
    SEXPOTS = Synchronet External Plain Old Telephone System (POTS) service
    Norco, CA WX: 55.1øF, 47.0% humidity, 8 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Thu Apr 3 04:39:16 2025
    Re: rlogin to menu
    By: Digital Man to xbit on Wed Apr 02 2025 07:09 pm

    worked. I did just commit an option you can enable in your modopts.ini file however: set 'rlogin_xtrn_logon = false' in the [logon] section of your ctrl/modopts.ini file (after updating logon.js to the latest).

    This worked 100% perfectly. Thank you DM.

    ...It's always the OVERtakers who keep the UNDERtakers busy.

    ---
    þ Synchronet þ |15<|07<|08< +h3 |02><|08-bi+ >|07>|15>
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Sat Apr 5 12:44:35 2025
    Re: rlogin to menu
    By: StingRay to Digital Man on Wed Apr 02 2025 06:57 am

    I just added an option you can enable to add a prompt for log-off, if you want to use that: https://gitlab.synchro.net/main/sbbs/-/compare/d8a5f808e0c7755bc22aba
    --
    digital man (rob)


    I may have shown up too late, the link shows a 404. My apologies, I decided to go back to college in my 40's for some strange reason....lol and I am in a real PITA class at the moment.

    I tried and of course could not correct my loop issue. Is there anyway you could share the change you made for the yes/no option? I appreciate your help DM!

    StingRay

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to StingRay on Sat Apr 5 15:30:11 2025
    Re: rlogin to menu
    By: StingRay to Digital Man on Sat Apr 05 2025 12:44 pm

    I tried and of course could not correct my loop issue. Is there anyway you could share the change you made for the yes/no option? I appreciate your help DM!

    All changes go to the git repo: https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/logon.js

    All changes are also published dailiy in archives: https://wiki.synchro.net/install:dev
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #56:
    NNTP = Network News Transfer Protocol
    Norco, CA WX: 65.1øF, 22.0% humidity, 8 mph NW wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Sat Apr 5 20:36:14 2025
    Re: rlogin to menu
    By: Digital Man to StingRay on Sat Apr 05 2025 03:30 pm

    All changes go to the git repo: https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/logon.js

    All changes are also published dailiy in archives: https://wiki.synchro.net/install:dev

    Thank you, DM! I'll download it and give it a go. Appreciate your help!

    -StingRay
    StingRay

    A-Net Online BBSs
    aneto.synchro.net
    mystic-anet.online

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From StingRay@1:103/705 to Digital Man on Sat Apr 5 20:46:53 2025
    Re: rlogin to menu
    By: Digital Man to StingRay on Sat Apr 05 2025 03:30 pm

    All changes go to the git repo: https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/logon.js

    All changes are also published dailiy in archives: https://wiki.synchro.net/install:dev

    That worked perfectly! Again, thank you very much for your time and help, DM!


    -StingRay
    StingRay

    A-Net Online BBSs
    aneto.synchro.net
    mystic-anet.online

    ---
    þ Synchronet þ Aneto
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)