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
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.
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.
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.
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>".
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!
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.
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.
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.
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.
Any think i can check or something i'm doing wrong to bypass the login items?
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).
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 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
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
| Sysop: | altere |
|---|---|
| Location: | Houston, TX |
| Users: | 71 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 06:46:32 |
| Calls: | 1,659 |
| Files: | 8,802 |
| D/L today: |
1 files (12K bytes) |
| Messages: | 309,649 |